Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00144/0.00144, allocations: 88.2 kB / 20.94 MB, free: 3.609 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000966/0.000966, allocations: 169 kB / 24.24 MB, free: 316 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9109/0.9109, allocations: 158.6 MB / 186 MB, free: 2.922 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1315/0.1315, allocations: 32.37 MB / 270.7 MB, free: 14.78 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization") translateModel(ModelicaTest.MultiBody.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 3.938 kB / 347.7 MB, free: 9.773 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.733e-05/2.914e-05, allocations: 8.219 kB / 347.7 MB, free: 9.766 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.008389/0.008418, allocations: 9.957 MB / 357.6 MB, free: 15.76 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006965/0.01538, allocations: 3.706 MB / 361.3 MB, free: 12.04 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001111/0.01649, allocations: 63.69 kB / 361.4 MB, free: 11.98 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003288/0.01978, allocations: 2.087 MB / 363.5 MB, free: 9.887 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0036/0.02338, allocations: 1.777 MB / 365.3 MB, free: 8.102 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00131/0.02469, allocations: 0.6625 MB / 365.9 MB, free: 7.438 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003876/0.02857, allocations: 3.697 MB / 369.6 MB, free: 3.734 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002591/0.03116, allocations: 2.481 MB / 372.1 MB, free: 1.195 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00244/0.0336, allocations: 1.925 MB / 374 MB, free: 15.26 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002303/0.0359, allocations: 1.866 MB / 375.9 MB, free: 13.39 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005589/0.03646, allocations: 260 kB / 376.2 MB, free: 13.14 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001456/0.03792, allocations: 0.9789 MB / 377.1 MB, free: 12.16 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001285/0.0392, allocations: 1.702 MB / 378.8 MB, free: 10.45 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001121/0.04032, allocations: 1.051 MB / 379.9 MB, free: 9.395 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004339/0.04466, allocations: 3.868 MB / 383.8 MB, free: 5.512 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.04467, allocations: 0 / 383.8 MB, free: 5.512 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.04467, allocations: 0 / 383.8 MB, free: 5.512 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.478e-05/0.04474, allocations: 0 / 383.8 MB, free: 5.512 MB / 314.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.005544/0.05029, allocations: 4.406 MB / 388.2 MB, free: 1.043 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.05032, allocations: 8.031 kB / 388.2 MB, free: 1.035 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00531/0.05563, allocations: 2.187 MB / 390.4 MB, free: 14.84 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002546/0.05818, allocations: 1.746 MB / 392.1 MB, free: 13.05 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001274/0.05831, allocations: 197.2 kB / 392.3 MB, free: 12.85 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003817/0.05869, allocations: 256.2 kB / 392.5 MB, free: 12.6 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006453/0.06514, allocations: 5.278 MB / 397.8 MB, free: 6.414 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.111e-05/0.06522, allocations: 39.62 kB / 397.9 MB, free: 6.375 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002498/0.06547, allocations: 127.9 kB / 398 MB, free: 6.25 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001699/0.06717, allocations: 1.703 MB / 399.7 MB, free: 4.547 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006049/0.07322, allocations: 2.748 MB / 402.4 MB, free: 1.793 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02812/0.1013, allocations: 38.62 MB / 441.1 MB, free: 9.941 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003696/0.105, allocations: 1.608 MB / 442.7 MB, free: 8.27 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007033/0.1057, allocations: 496.3 kB / 443.1 MB, free: 7.766 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003668/0.1094, allocations: 3.176 MB / 446.3 MB, free: 4.555 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.212e-05/0.1095, allocations: 46.05 kB / 446.4 MB, free: 4.5 MB / 378.7 MB Notification: Performance of pre-optimization done (n=121): time 3.917e-06/0.1095, allocations: 0 / 446.4 MB, free: 4.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=129): time 0.1505/0.26, allocations: 8.515 MB / 454.9 MB, free: 104.9 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.795e-05/0.26, allocations: 171.2 kB / 455.1 MB, free: 104.7 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004163/0.2642, allocations: 3.2 MB / 458.3 MB, free: 104.2 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001339/0.2643, allocations: 45.17 kB / 458.3 MB, free: 104.1 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001167/0.2655, allocations: 3.012 MB / 461.3 MB, free: 102.4 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004615/0.2659, allocations: 0.5575 MB / 461.9 MB, free: 102 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009437/0.2669, allocations: 1.163 MB / 463 MB, free: 101.4 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 3.999e-05/0.2669, allocations: 476.8 kB / 463.5 MB, free: 100.9 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008653/0.2678, allocations: 0.5536 MB / 464 MB, free: 100.9 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002016/0.2698, allocations: 5.664 MB / 469.7 MB, free: 93.88 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004341/0.2741, allocations: 6.82 MB / 476.5 MB, free: 86.18 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001142/0.2743, allocations: 35.38 kB / 476.6 MB, free: 86.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.007205/0.2815, allocations: 4.673 MB / 481.2 MB, free: 82.49 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.712e-05/0.2815, allocations: 56 kB / 481.3 MB, free: 82.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000131/0.2817, allocations: 120 kB / 481.4 MB, free: 82.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005902/0.2823, allocations: 339.8 kB / 481.7 MB, free: 82.04 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002581/0.2848, allocations: 1.247 MB / 483 MB, free: 80.95 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001506/0.2863, allocations: 2.423 MB / 485.4 MB, free: 78.51 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003608/0.2899, allocations: 326.6 kB / 485.7 MB, free: 78.24 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007466/0.2907, allocations: 347 kB / 486.1 MB, free: 77.91 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 555 * 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 (668): * 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: 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,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001628/0.2923, allocations: 0.6105 MB / 486.7 MB, free: 77.29 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006417/0.293, allocations: 322.1 kB / 487 MB, free: 76.98 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001985/0.2949, allocations: 1.315 MB / 488.3 MB, free: 75.76 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.847e-05/0.295, allocations: 16 kB / 488.3 MB, free: 75.75 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.306e-05/0.295, allocations: 4 kB / 488.3 MB, free: 75.74 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.839e-06/0.295, allocations: 7.969 kB / 488.3 MB, free: 75.73 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005917/0.3009, allocations: 4.212 MB / 492.6 MB, free: 71.49 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/0.3009, allocations: 4.062 kB / 492.6 MB, free: 71.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004388/0.3014, allocations: 171.8 kB / 492.7 MB, free: 71.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001037/0.3024, allocations: 446.2 kB / 493.2 MB, free: 70.88 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.982e-05/0.3025, allocations: 20 kB / 493.2 MB, free: 70.86 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002179/0.3046, allocations: 2.922 MB / 496.1 MB, free: 67.83 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.3046, allocations: 4 kB / 496.1 MB, free: 67.83 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002806/0.3074, allocations: 2.271 MB / 498.4 MB, free: 65.52 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008273/0.3083, allocations: 449.8 kB / 498.8 MB, free: 65.07 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002641/0.3085, allocations: 20.11 kB / 498.8 MB, free: 65.05 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006718/0.3092, allocations: 103.8 kB / 498.9 MB, free: 64.95 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001479/0.3094, allocations: 68.52 kB / 499 MB, free: 64.88 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.876e-05/0.3094, allocations: 39.27 kB / 499 MB, free: 64.85 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001573/0.311, allocations: 1.367 MB / 0.4887 GB, free: 63.48 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.311, allocations: 0 / 0.4887 GB, free: 63.48 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00322/0.3142, allocations: 0.8983 MB / 0.4896 GB, free: 62.59 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.w) * 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 (96): * Single equations (assignments): 92 * 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,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003595/0.3146, allocations: 175.5 kB / 0.4897 GB, free: 62.41 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003399/0.318, allocations: 2.565 MB / 0.4922 GB, free: 59.85 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.318, allocations: 0 / 0.4922 GB, free: 59.85 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006581/0.3186, allocations: 0.6161 MB / 0.4928 GB, free: 59.21 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001503/0.3201, allocations: 344.1 kB / 0.4932 GB, free: 58.89 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006959/0.3271, allocations: 5.986 MB / 0.499 GB, free: 52.84 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007195/0.3278, allocations: 1.022 MB / 0.5 GB, free: 51.8 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002139/0.33, allocations: 1.395 MB / 0.5014 GB, free: 50.4 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004493/0.3304, allocations: 192.5 kB / 0.5015 GB, free: 50.21 MB / 378.7 MB Notification: Performance of SimCode: time 1.623e-06/0.3304, allocations: 4 kB / 0.5016 GB, free: 50.21 MB / 378.7 MB Notification: Performance of Templates: time 0.03542/0.3658, allocations: 26.21 MB / 0.5271 GB, free: 24.16 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.143916290951893]