Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001072/0.001072, allocations: 85.91 kB / 22.21 MB, free: 2.285 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001032/0.001032, allocations: 155 kB / 25.61 MB, free: 8.598 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9549/0.9549, allocations: 177 MB / 205.9 MB, free: 4.449 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1546/0.1546, allocations: 34.87 MB / 297.4 MB, free: 13.33 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization") translateModel(ModelicaTest.MultiBody.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 380 MB, free: 22.74 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.357e-05/2.495e-05, allocations: 9.484 kB / 380 MB, free: 22.73 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.009891/0.009916, allocations: 9.703 MB / 389.7 MB, free: 12.98 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.006982/0.0169, allocations: 3.695 MB / 393.4 MB, free: 9.281 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000903/0.0178, allocations: 71.62 kB / 393.5 MB, free: 9.211 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001911/0.01971, allocations: 2.055 MB / 395.5 MB, free: 7.148 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0024/0.02211, allocations: 1.75 MB / 397.3 MB, free: 5.391 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008005/0.02291, allocations: 0.6664 MB / 398 MB, free: 4.723 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002537/0.02545, allocations: 3.749 MB / 401.7 MB, free: 0.9648 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00215/0.0276, allocations: 2.454 MB / 404.2 MB, free: 14.45 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001978/0.02958, allocations: 1.945 MB / 406.1 MB, free: 12.5 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002004/0.03158, allocations: 1.835 MB / 407.9 MB, free: 10.66 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003742/0.03196, allocations: 256 kB / 408.2 MB, free: 10.41 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001272/0.03323, allocations: 0.9749 MB / 409.2 MB, free: 9.434 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001253/0.03448, allocations: 1.667 MB / 410.8 MB, free: 7.762 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009479/0.03543, allocations: 1.032 MB / 411.9 MB, free: 6.727 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003159/0.03859, allocations: 3.802 MB / 415.7 MB, free: 2.91 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.0386, allocations: 0 / 415.7 MB, free: 2.91 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.0386, allocations: 3.938 kB / 415.7 MB, free: 2.906 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.121e-05/0.03865, allocations: 0 / 415.7 MB, free: 2.906 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1275 * Number of variables: 1275 Notification: Performance of Generate backend data structure: time 0.00454/0.04319, allocations: 4.25 MB / 419.9 MB, free: 14.59 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.04323, allocations: 8.031 kB / 419.9 MB, free: 14.59 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002864/0.0461, allocations: 1.29 MB / 421.2 MB, free: 13.29 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001732/0.04783, allocations: 1.605 MB / 422.8 MB, free: 11.64 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001106/0.04794, allocations: 185.2 kB / 423 MB, free: 11.46 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002963/0.04824, allocations: 260.1 kB / 423.3 MB, free: 11.2 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004732/0.05297, allocations: 4.805 MB / 428.1 MB, free: 5.484 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.714e-05/0.05304, allocations: 43.62 kB / 428.1 MB, free: 5.441 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002196/0.05325, allocations: 127.9 kB / 428.2 MB, free: 5.316 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001289/0.05454, allocations: 1.465 MB / 429.7 MB, free: 3.852 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003153/0.0577, allocations: 2.075 MB / 431.8 MB, free: 1.762 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02258/0.08028, allocations: 38.44 MB / 470.2 MB, free: 10.02 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00294/0.08322, allocations: 1.347 MB / 471.6 MB, free: 8.609 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003821/0.0836, allocations: 343 kB / 471.9 MB, free: 8.258 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00359/0.08719, allocations: 3.231 MB / 475.1 MB, free: 4.992 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.406e-05/0.08722, allocations: 53.81 kB / 475.2 MB, free: 4.93 MB / 394.7 MB Notification: Performance of pre-optimization done (n=103): time 2.584e-06/0.08723, allocations: 0 / 475.2 MB, free: 4.93 MB / 394.7 MB Notification: Performance of matching and sorting (n=104): time 0.006936/0.09416, allocations: 3.105 MB / 478.3 MB, free: 1.781 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.508e-05/0.09423, allocations: 170.7 kB / 478.4 MB, free: 1.578 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002378/0.09661, allocations: 3.244 MB / 481.7 MB, free: 14.31 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.445e-05/0.09665, allocations: 41.7 kB / 481.7 MB, free: 14.26 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001605/0.09826, allocations: 3.099 MB / 484.8 MB, free: 11.13 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000264/0.09852, allocations: 496.5 kB / 485.3 MB, free: 10.64 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009276/0.09945, allocations: 1.187 MB / 486.5 MB, free: 9.445 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000103/0.09955, allocations: 476.8 kB / 487 MB, free: 8.977 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006216/0.1002, allocations: 450.2 kB / 487.4 MB, free: 8.531 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00304/0.1032, allocations: 5.73 MB / 493.1 MB, free: 356 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1707/0.2739, allocations: 6.763 MB / 499.9 MB, free: 97.79 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.203e-05/0.274, allocations: 35.94 kB / 499.9 MB, free: 97.79 MB / 410.7 MB Notification: Performance of matching and sorting (n=691) (initialization): time 0.005354/0.2793, allocations: 4.224 MB / 0.4923 GB, free: 96.86 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.568e-05/0.2794, allocations: 63.84 kB / 0.4924 GB, free: 96.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001048/0.2795, allocations: 125.6 kB / 0.4925 GB, free: 96.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.941e-05/0.2796, allocations: 163.1 kB / 0.4927 GB, free: 96.86 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001997/0.2816, allocations: 1.217 MB / 0.4939 GB, free: 96.74 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001335/0.2817, allocations: 244.4 kB / 0.4941 GB, free: 96.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002016/0.2837, allocations: 248.5 kB / 0.4943 GB, free: 96.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002128/0.284, allocations: 293.8 kB / 0.4946 GB, free: 96.68 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 575 * Number of states: 0 () * Number of discrete variables: 33 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (667): * Single equations (assignments): 664 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008701/0.2848, allocations: 0.6155 MB / 0.4952 GB, free: 96.4 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002997/0.2851, allocations: 308.2 kB / 0.4955 GB, free: 96.4 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000676/0.2858, allocations: 0.5582 MB / 0.4961 GB, free: 96.3 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.474e-05/0.2858, allocations: 11.56 kB / 0.4961 GB, free: 96.3 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.2858, allocations: 3.875 kB / 0.4961 GB, free: 96.3 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.928e-06/0.2858, allocations: 3.984 kB / 0.4961 GB, free: 96.3 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003115/0.289, allocations: 2.374 MB / 0.4984 GB, free: 95.87 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.289, allocations: 2.812 kB / 0.4984 GB, free: 95.87 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003186/0.2893, allocations: 125.6 kB / 0.4985 GB, free: 95.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001698/0.2894, allocations: 53.22 kB / 0.4986 GB, free: 95.84 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.296e-05/0.2895, allocations: 20.53 kB / 0.4986 GB, free: 95.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006626/0.2901, allocations: 1.79 MB / 0.5003 GB, free: 94.15 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.2901, allocations: 7 kB / 0.5003 GB, free: 94.14 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009084/0.2911, allocations: 1.462 MB / 0.5018 GB, free: 92.93 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001965/0.2912, allocations: 261.4 kB / 0.502 GB, free: 92.71 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001508/0.2914, allocations: 16.86 kB / 0.502 GB, free: 92.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004213/0.2918, allocations: 21.64 kB / 0.5021 GB, free: 92.69 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.35e-05/0.2919, allocations: 56 kB / 0.5021 GB, free: 92.67 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.365e-05/0.2919, allocations: 32.12 kB / 0.5021 GB, free: 92.65 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008212/0.2927, allocations: 1.276 MB / 0.5034 GB, free: 91.86 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2927, allocations: 4.031 kB / 0.5034 GB, free: 91.86 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001987/0.2947, allocations: 0.7875 MB / 0.5042 GB, free: 91.17 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (rev.w,damper.phi_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 74 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002199/0.295, allocations: 150.3 kB / 0.5043 GB, free: 91.04 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001532/0.2965, allocations: 2.099 MB / 0.5064 GB, free: 89.46 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2965, allocations: 320 / 0.5064 GB, free: 89.46 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003569/0.2968, allocations: 451.2 kB / 0.5068 GB, free: 89.08 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009628/0.2978, allocations: 341 kB / 0.5071 GB, free: 88.93 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004619/0.3024, allocations: 5.788 MB / 0.5128 GB, free: 83.83 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005874/0.303, allocations: 0.9924 MB / 0.5137 GB, free: 83.12 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0007266/0.3037, allocations: 425.9 kB / 0.5141 GB, free: 82.81 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004825/0.3042, allocations: 0.5025 MB / 0.5146 GB, free: 82.34 MB / 410.7 MB Notification: Performance of SimCode: time 8.71e-07/0.3042, allocations: 0 / 0.5146 GB, free: 82.34 MB / 410.7 MB Notification: Performance of Templates: time 0.02942/0.3336, allocations: 22.5 MB / 0.5366 GB, free: 60.77 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/RevoluteInitialization/RevoluteInitialization.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.324181184638292]