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.0008836/0.0008836, allocations: 80.05 kB / 20.72 MB, free: 3.77 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.0009805/0.0009805, allocations: 169 kB / 24.14 MB, free: 360 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.9635/0.9635, allocations: 158.6 MB / 186 MB, free: 2.762 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.133/0.133, allocations: 32.38 MB / 270.7 MB, free: 14.6 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.673e-06/1.673e-06, allocations: 0 / 299.1 MB, free: 2.152 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.453e-05/2.62e-05, allocations: 2.312 kB / 299.1 MB, free: 2.148 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.1573/0.1573, allocations: 9.789 MB / 308.9 MB, free: 15.27 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.008667/0.166, allocations: 3.823 MB / 312.7 MB, free: 12.87 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002438/0.1684, allocations: 65.69 kB / 312.8 MB, free: 12.85 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00312/0.1715, allocations: 2.057 MB / 314.9 MB, free: 11.97 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004498/0.176, allocations: 1.748 MB / 316.6 MB, free: 10.8 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001312/0.1773, allocations: 0.6724 MB / 317.3 MB, free: 10.33 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.004427/0.1818, allocations: 3.702 MB / 321 MB, free: 8.293 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002747/0.1845, allocations: 2.432 MB / 323.4 MB, free: 5.789 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002344/0.1868, allocations: 1.914 MB / 325.3 MB, free: 3.871 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001717/0.1886, allocations: 1.765 MB / 327.1 MB, free: 2.102 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004587/0.189, allocations: 256 kB / 327.3 MB, free: 1.852 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001252/0.1903, allocations: 0.9984 MB / 328.3 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009622/0.1912, allocations: 1.71 MB / 330 MB, free: 15.14 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00103/0.1923, allocations: 1.047 MB / 331.1 MB, free: 14.09 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003812/0.1961, allocations: 3.857 MB / 334.9 MB, free: 10.21 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.1961, allocations: 0 / 334.9 MB, free: 10.21 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1961, allocations: 0 / 334.9 MB, free: 10.21 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.643e-05/0.1962, allocations: 0 / 334.9 MB, free: 10.21 MB / 298.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.00444/0.2006, allocations: 3.774 MB / 338.7 MB, free: 6.387 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.2006, allocations: 8.031 kB / 338.7 MB, free: 6.379 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002497/0.2031, allocations: 0.9411 MB / 339.7 MB, free: 5.438 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001932/0.2051, allocations: 1.496 MB / 341.2 MB, free: 3.895 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000107/0.2052, allocations: 189.2 kB / 341.4 MB, free: 3.707 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000292/0.2055, allocations: 252.2 kB / 341.6 MB, free: 3.461 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00462/0.2101, allocations: 4.239 MB / 345.8 MB, free: 14.54 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.309e-05/0.2102, allocations: 51.61 kB / 345.9 MB, free: 14.49 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001994/0.2104, allocations: 127.9 kB / 346 MB, free: 14.37 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001289/0.2117, allocations: 1.461 MB / 347.5 MB, free: 12.91 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003756/0.2154, allocations: 2.101 MB / 349.6 MB, free: 10.79 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02225/0.2377, allocations: 27.43 MB / 377 MB, free: 14.34 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002683/0.2403, allocations: 1.286 MB / 378.3 MB, free: 13 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003713/0.2407, allocations: 272.9 kB / 378.6 MB, free: 12.72 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004808/0.2455, allocations: 3.001 MB / 381.6 MB, free: 9.688 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.139e-05/0.2456, allocations: 47 kB / 381.6 MB, free: 9.633 MB / 346.7 MB Notification: Performance of pre-optimization done (n=103): time 5.681e-06/0.2456, allocations: 0 / 381.6 MB, free: 9.633 MB / 346.7 MB Notification: Performance of matching and sorting (n=104): time 0.006675/0.2522, allocations: 2.669 MB / 384.3 MB, free: 6.926 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.909e-05/0.2523, allocations: 166.7 kB / 384.4 MB, free: 6.727 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002705/0.255, allocations: 2.919 MB / 387.4 MB, free: 3.789 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.685e-05/0.2551, allocations: 33.7 kB / 387.4 MB, free: 3.75 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001295/0.2564, allocations: 2.766 MB / 390.2 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003398/0.2567, allocations: 460.7 kB / 390.6 MB, free: 0.5 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008104/0.2575, allocations: 1.021 MB / 391.6 MB, free: 15.47 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.981e-05/0.2576, allocations: 301.1 kB / 391.9 MB, free: 15.17 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008814/0.2585, allocations: 0.6124 MB / 392.5 MB, free: 14.55 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002591/0.2611, allocations: 4.041 MB / 396.6 MB, free: 8.719 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004425/0.2655, allocations: 5.109 MB / 401.7 MB, free: 1.828 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001005/0.2656, allocations: 36 kB / 401.7 MB, free: 1.793 MB / 362.7 MB Notification: Performance of matching and sorting (n=691) (initialization): time 0.004693/0.2703, allocations: 3.588 MB / 405.3 MB, free: 14.2 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.846e-05/0.2704, allocations: 56 kB / 405.4 MB, free: 14.14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.105e-05/0.2705, allocations: 131.9 kB / 405.5 MB, free: 14.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001055/0.2706, allocations: 164.7 kB / 405.6 MB, free: 13.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00217/0.2727, allocations: 1.271 MB / 406.9 MB, free: 12.58 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001482/0.2729, allocations: 251 kB / 407.2 MB, free: 12.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002232/0.2751, allocations: 247.1 kB / 407.4 MB, free: 12.1 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000291/0.2754, allocations: 288 kB / 407.7 MB, free: 11.82 MB / 378.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.001059/0.2765, allocations: 0.5757 MB / 408.3 MB, free: 11.23 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003579/0.2768, allocations: 163.8 kB / 408.4 MB, free: 11.07 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007285/0.2776, allocations: 0.5014 MB / 408.9 MB, free: 10.55 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.022e-05/0.2776, allocations: 19.98 kB / 408.9 MB, free: 10.53 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.2776, allocations: 3.938 kB / 408.9 MB, free: 10.53 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.917e-06/0.2776, allocations: 3.984 kB / 408.9 MB, free: 10.52 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003443/0.281, allocations: 2.205 MB / 411.2 MB, free: 8.262 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.094e-06/0.281, allocations: 4 kB / 411.2 MB, free: 8.258 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003569/0.2814, allocations: 136 kB / 411.3 MB, free: 8.125 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001856/0.2816, allocations: 43.64 kB / 411.3 MB, free: 8.078 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.848e-05/0.2816, allocations: 16 kB / 411.3 MB, free: 8.062 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001124/0.2827, allocations: 1.422 MB / 412.8 MB, free: 6.531 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.2827, allocations: 0 / 412.8 MB, free: 6.531 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001161/0.2839, allocations: 1.228 MB / 414 MB, free: 5.266 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004937/0.2844, allocations: 329.8 kB / 414.3 MB, free: 4.941 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001735/0.2846, allocations: 19.92 kB / 414.3 MB, free: 4.922 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004325/0.285, allocations: 20 kB / 414.4 MB, free: 4.902 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.241e-05/0.2851, allocations: 51.89 kB / 414.4 MB, free: 4.852 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.254e-05/0.2851, allocations: 31.44 kB / 414.4 MB, free: 4.824 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009503/0.2861, allocations: 1.048 MB / 415.5 MB, free: 3.777 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2861, allocations: 0 / 415.5 MB, free: 3.777 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0028/0.2889, allocations: 0.8046 MB / 416.3 MB, free: 2.973 MB / 378.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.0003191/0.2892, allocations: 148.1 kB / 416.4 MB, free: 2.82 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002405/0.2916, allocations: 1.944 MB / 418.4 MB, free: 0.8867 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001432/0.2918, allocations: 96.16 kB / 418.5 MB, free: 0.7852 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00045/0.2922, allocations: 336 kB / 418.8 MB, free: 456 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001539/0.2937, allocations: 0.4944 MB / 419.3 MB, free: 15.95 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007208/0.301, allocations: 5.776 MB / 425.1 MB, free: 10.09 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008879/0.3018, allocations: 0.986 MB / 426.1 MB, free: 9.082 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001113/0.303, allocations: 431.1 kB / 426.5 MB, free: 8.656 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006286/0.3036, allocations: 473.2 kB / 426.9 MB, free: 8.191 MB / 394.7 MB Notification: Performance of SimCode: time 1.923e-06/0.3036, allocations: 0 / 426.9 MB, free: 8.191 MB / 394.7 MB Notification: Performance of Templates: time 0.03722/0.3408, allocations: 22.37 MB / 449.3 MB, free: 1.934 MB / 410.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 -s gbode -gbm=radauIIA3 -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: 3.64661040622741]