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.001107/0.001107, allocations: 81.08 kB / 20.65 MB, free: 3.84 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.0009382/0.0009382, allocations: 173.4 kB / 24.05 MB, free: 456 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.9114/0.9114, allocations: 158.6 MB / 185.9 MB, free: 2.809 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.1451/0.1451, allocations: 32.38 MB / 270.7 MB, free: 14.53 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.322e-06/1.322e-06, allocations: 0 / 348.1 MB, free: 9.176 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.191e-05/1.323e-05, allocations: 5.406 kB / 348.1 MB, free: 9.172 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.006318/0.006331, allocations: 9.75 MB / 357.9 MB, free: 15.38 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005929/0.01226, allocations: 3.682 MB / 361.6 MB, free: 11.68 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000889/0.01315, allocations: 71.62 kB / 361.6 MB, free: 11.61 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005413/0.01856, allocations: 2.063 MB / 363.7 MB, free: 9.539 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002808/0.02137, allocations: 1.777 MB / 365.5 MB, free: 7.754 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001059/0.02243, allocations: 0.6664 MB / 366.1 MB, free: 7.086 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.006417/0.02885, allocations: 3.696 MB / 369.8 MB, free: 3.379 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005223/0.03407, allocations: 2.489 MB / 372.3 MB, free: 0.832 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006139/0.04021, allocations: 1.953 MB / 374.3 MB, free: 14.88 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002181/0.04239, allocations: 1.855 MB / 376.1 MB, free: 13.02 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003405/0.04579, allocations: 256 kB / 376.4 MB, free: 12.77 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001485/0.04728, allocations: 0.9712 MB / 377.4 MB, free: 11.79 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001183/0.04846, allocations: 1.695 MB / 379.1 MB, free: 10.09 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0041/0.05256, allocations: 1.047 MB / 380.1 MB, free: 9.043 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007275/0.05984, allocations: 3.86 MB / 384 MB, free: 5.168 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.05984, allocations: 0 / 384 MB, free: 5.168 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.05984, allocations: 4 kB / 384 MB, free: 5.164 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.371e-05/0.05991, allocations: 0 / 384 MB, free: 5.164 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.01115/0.07106, allocations: 4.28 MB / 388.2 MB, free: 0.8203 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.0711, allocations: 12.03 kB / 388.3 MB, free: 0.8086 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006418/0.07752, allocations: 1.274 MB / 389.5 MB, free: 15.53 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001962/0.07948, allocations: 1.632 MB / 391.2 MB, free: 13.85 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001201/0.0796, allocations: 189.2 kB / 391.4 MB, free: 13.66 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000337/0.07994, allocations: 256.2 kB / 391.6 MB, free: 13.41 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005297/0.08523, allocations: 4.777 MB / 396.4 MB, free: 7.723 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.474e-05/0.0853, allocations: 39.64 kB / 396.4 MB, free: 7.684 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001988/0.0855, allocations: 119.9 kB / 396.5 MB, free: 7.566 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00115/0.08665, allocations: 1.469 MB / 398 MB, free: 6.098 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003457/0.0901, allocations: 2.081 MB / 400.1 MB, free: 4 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02485/0.1149, allocations: 38.47 MB / 438.6 MB, free: 12.23 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002703/0.1177, allocations: 1.319 MB / 439.9 MB, free: 10.85 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003489/0.118, allocations: 335.8 kB / 440.2 MB, free: 10.5 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003443/0.1214, allocations: 3.25 MB / 443.5 MB, free: 7.219 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.12e-05/0.1215, allocations: 53.88 kB / 443.5 MB, free: 7.156 MB / 378.7 MB Notification: Performance of pre-optimization done (n=103): time 1.087e-05/0.1215, allocations: 0 / 443.5 MB, free: 7.156 MB / 378.7 MB Notification: Performance of matching and sorting (n=104): time 0.006605/0.1281, allocations: 3.114 MB / 446.6 MB, free: 4 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.19e-05/0.1281, allocations: 166.7 kB / 446.8 MB, free: 3.801 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002396/0.1305, allocations: 3.257 MB / 450 MB, free: 0.5195 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.167e-05/0.1306, allocations: 41.7 kB / 450.1 MB, free: 484 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1457/0.2763, allocations: 3.101 MB / 453.2 MB, free: 98.49 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007158/0.277, allocations: 493.6 kB / 453.7 MB, free: 98.29 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008508/0.2778, allocations: 1.184 MB / 454.8 MB, free: 98.15 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.921e-05/0.2779, allocations: 477.9 kB / 455.3 MB, free: 97.68 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006951/0.2786, allocations: 447.7 kB / 455.8 MB, free: 97.67 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002403/0.281, allocations: 5.735 MB / 461.5 MB, free: 90.8 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003814/0.2848, allocations: 6.766 MB / 468.3 MB, free: 83.75 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.266e-05/0.2848, allocations: 38.44 kB / 468.3 MB, free: 83.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=691) (initialization): time 0.004211/0.289, allocations: 4.215 MB / 472.5 MB, free: 82.65 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.81e-05/0.2891, allocations: 59.09 kB / 472.6 MB, free: 82.65 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.521e-05/0.2892, allocations: 128.8 kB / 472.7 MB, free: 82.65 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.743e-05/0.2892, allocations: 165.1 kB / 472.9 MB, free: 82.65 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001716/0.291, allocations: 1.221 MB / 474.1 MB, free: 82.53 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001059/0.2911, allocations: 246.3 kB / 474.3 MB, free: 82.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001762/0.2928, allocations: 241.2 kB / 474.5 MB, free: 82.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002538/0.2931, allocations: 296.2 kB / 474.8 MB, free: 82.46 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.0008474/0.2939, allocations: 0.6055 MB / 475.4 MB, free: 82.19 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002292/0.2942, allocations: 316.5 kB / 475.8 MB, free: 82.03 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006429/0.2948, allocations: 0.5663 MB / 476.3 MB, free: 81.93 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-05/0.2948, allocations: 10.44 kB / 476.3 MB, free: 81.93 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.2948, allocations: 3.812 kB / 476.3 MB, free: 81.93 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.685e-06/0.2948, allocations: 3.516 kB / 476.3 MB, free: 81.93 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002818/0.2976, allocations: 2.403 MB / 478.7 MB, free: 80.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/0.2976, allocations: 4 kB / 478.7 MB, free: 80.31 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002888/0.2979, allocations: 124.3 kB / 478.9 MB, free: 80.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001566/0.2981, allocations: 52.28 kB / 478.9 MB, free: 80.16 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.09e-05/0.2981, allocations: 16 kB / 478.9 MB, free: 80.14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007114/0.2988, allocations: 1.798 MB / 480.7 MB, free: 78.29 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.2988, allocations: 0 / 480.7 MB, free: 78.29 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009129/0.2998, allocations: 1.458 MB / 482.2 MB, free: 76.87 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003005/0.3001, allocations: 342 kB / 482.5 MB, free: 76.57 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001361/0.3002, allocations: 19.94 kB / 482.5 MB, free: 76.55 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004176/0.3006, allocations: 23.52 kB / 482.6 MB, free: 76.53 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.876e-05/0.3007, allocations: 49.92 kB / 482.6 MB, free: 76.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.706e-05/0.3007, allocations: 35.31 kB / 482.6 MB, free: 76.48 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009339/0.3016, allocations: 1.293 MB / 483.9 MB, free: 75.55 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3016, allocations: 0 / 483.9 MB, free: 75.55 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002021/0.3037, allocations: 0.81 MB / 484.7 MB, free: 74.75 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.0002672/0.3039, allocations: 169.2 kB / 484.9 MB, free: 74.6 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001702/0.3056, allocations: 2.091 MB / 487 MB, free: 72.83 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.3056, allocations: 4.125 kB / 487 MB, free: 72.83 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003793/0.306, allocations: 443.1 kB / 487.4 MB, free: 72.43 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001057/0.3071, allocations: 338.1 kB / 487.8 MB, free: 72.15 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006436/0.3135, allocations: 5.816 MB / 493.6 MB, free: 66.74 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007305/0.3142, allocations: 0.9949 MB / 494.6 MB, free: 65.93 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0008813/0.3151, allocations: 422 kB / 495 MB, free: 65.52 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005641/0.3157, allocations: 0.502 MB / 495.5 MB, free: 65.02 MB / 378.7 MB Notification: Performance of SimCode: time 1.002e-06/0.3157, allocations: 4 kB / 495.5 MB, free: 65.01 MB / 378.7 MB Notification: Performance of Templates: time 0.03185/0.3475, allocations: 22.42 MB / 0.5058 GB, free: 42.82 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: 3.8071828838437796]