Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.0009977/0.0009977, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001074/0.001074, allocations: 171.4 kB / 24.92 MB, free: 9.188 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9919/0.9919, allocations: 177.1 MB / 205.3 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2721/0.2721, allocations: 34.26 MB / 296.1 MB, free: 0.7109 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization") translateModel(ModelicaTest.MultiBody.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 0 / 325.3 MB, free: 7.641 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.246e-05/2.39e-05, allocations: 5.125 kB / 325.3 MB, free: 7.637 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.008084/0.008108, allocations: 9.776 MB / 335.1 MB, free: 13.81 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00685/0.01496, allocations: 3.829 MB / 338.9 MB, free: 9.969 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001545/0.0165, allocations: 67.69 kB / 339 MB, free: 9.902 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002438/0.01894, allocations: 2.04 MB / 341 MB, free: 7.855 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003423/0.02236, allocations: 1.734 MB / 342.7 MB, free: 6.113 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001169/0.02353, allocations: 0.6547 MB / 343.4 MB, free: 5.457 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003824/0.02736, allocations: 3.769 MB / 347.2 MB, free: 1.68 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00259/0.02995, allocations: 2.4 MB / 349.6 MB, free: 15.2 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002575/0.03252, allocations: 1.898 MB / 351.5 MB, free: 13.3 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002162/0.03468, allocations: 1.753 MB / 353.2 MB, free: 11.54 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006014/0.03529, allocations: 256 kB / 353.5 MB, free: 11.29 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001481/0.03677, allocations: 0.9984 MB / 354.5 MB, free: 10.29 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001175/0.03794, allocations: 1.675 MB / 356.1 MB, free: 8.609 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00139/0.03933, allocations: 1.036 MB / 357.2 MB, free: 7.57 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004255/0.04359, allocations: 3.806 MB / 361 MB, free: 3.75 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.243e-06/0.0436, allocations: 0 / 361 MB, free: 3.75 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.0436, allocations: 0 / 361 MB, free: 3.75 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001884/0.04379, allocations: 3.938 kB / 361 MB, free: 3.746 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.005846/0.04963, allocations: 3.752 MB / 364.7 MB, free: 15.94 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.006e-05/0.04968, allocations: 12.03 kB / 364.7 MB, free: 15.93 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00262/0.0523, allocations: 0.9371 MB / 365.7 MB, free: 15 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002265/0.05457, allocations: 1.472 MB / 367.2 MB, free: 13.48 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001122/0.05468, allocations: 189.2 kB / 367.3 MB, free: 13.29 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003149/0.05499, allocations: 256.2 kB / 367.6 MB, free: 13.04 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006197/0.06119, allocations: 4.267 MB / 371.9 MB, free: 8.086 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001055/0.0613, allocations: 39.64 kB / 371.9 MB, free: 8.047 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002445/0.06154, allocations: 127.9 kB / 372 MB, free: 7.922 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00139/0.06293, allocations: 1.469 MB / 373.5 MB, free: 6.453 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004923/0.06786, allocations: 2.107 MB / 375.6 MB, free: 4.32 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02266/0.09051, allocations: 27.41 MB / 403 MB, free: 7.855 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002667/0.09318, allocations: 1.298 MB / 404.3 MB, free: 6.508 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003652/0.09355, allocations: 272 kB / 404.6 MB, free: 6.23 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004194/0.09774, allocations: 3 MB / 407.6 MB, free: 3.199 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.982e-05/0.09778, allocations: 47.06 kB / 407.6 MB, free: 3.145 MB / 378.7 MB Notification: Performance of pre-optimization done (n=103): time 3.566e-06/0.09778, allocations: 0 / 407.6 MB, free: 3.145 MB / 378.7 MB Notification: Performance of matching and sorting (n=104): time 0.006269/0.1041, allocations: 2.672 MB / 410.3 MB, free: 444 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.001e-05/0.1041, allocations: 166.7 kB / 410.5 MB, free: 240 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0023/0.1064, allocations: 2.903 MB / 413.4 MB, free: 13.31 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.742e-05/0.1065, allocations: 37.7 kB / 413.4 MB, free: 13.27 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001171/0.1076, allocations: 2.755 MB / 416.1 MB, free: 10.48 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002727/0.1079, allocations: 464.6 kB / 416.6 MB, free: 10.03 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007341/0.1086, allocations: 1.017 MB / 417.6 MB, free: 9 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.696e-05/0.1087, allocations: 301.1 kB / 417.9 MB, free: 8.703 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008955/0.1096, allocations: 0.6113 MB / 418.5 MB, free: 8.086 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002322/0.1119, allocations: 4.037 MB / 422.6 MB, free: 2.254 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003796/0.1157, allocations: 5.115 MB / 427.7 MB, free: 11.36 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.981e-05/0.1158, allocations: 40 kB / 427.7 MB, free: 11.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=691) (initialization): time 0.004374/0.1202, allocations: 3.588 MB / 431.3 MB, free: 7.727 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.565e-05/0.1202, allocations: 63.94 kB / 431.4 MB, free: 7.664 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.296e-05/0.1203, allocations: 124.8 kB / 431.5 MB, free: 7.543 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.672e-05/0.1204, allocations: 164 kB / 431.6 MB, free: 7.383 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002139/0.1225, allocations: 1.279 MB / 432.9 MB, free: 6.102 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000122/0.1227, allocations: 243 kB / 433.2 MB, free: 5.863 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002047/0.1247, allocations: 247.7 kB / 433.4 MB, free: 5.621 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002404/0.125, allocations: 288 kB / 433.7 MB, free: 5.34 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.0008983/0.1259, allocations: 0.5678 MB / 434.3 MB, free: 4.758 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002959/0.1261, allocations: 179.7 kB / 434.4 MB, free: 4.582 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006177/0.1268, allocations: 0.5011 MB / 434.9 MB, free: 4.066 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.526e-05/0.1268, allocations: 12 kB / 434.9 MB, free: 4.055 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.1268, allocations: 4 kB / 434.9 MB, free: 4.051 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.705e-06/0.1268, allocations: 7.984 kB / 435 MB, free: 4.043 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002927/0.1297, allocations: 2.186 MB / 437.1 MB, free: 1.801 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.1297, allocations: 4.156 kB / 437.1 MB, free: 1.797 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003463/0.1301, allocations: 135.8 kB / 437.3 MB, free: 1.664 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001604/0.1302, allocations: 47.64 kB / 437.3 MB, free: 1.613 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.308e-05/0.1303, allocations: 12 kB / 437.3 MB, free: 1.602 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009368/0.1312, allocations: 1.425 MB / 438.8 MB, free: 76 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.1312, allocations: 0 / 438.8 MB, free: 76 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001034/0.1322, allocations: 1.218 MB / 440 MB, free: 14.81 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003332/0.1326, allocations: 262 kB / 440.2 MB, free: 14.55 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001485/0.1327, allocations: 15.94 kB / 440.2 MB, free: 14.54 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004209/0.1331, allocations: 27.97 kB / 440.3 MB, free: 14.51 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.795e-05/0.1332, allocations: 51.97 kB / 440.3 MB, free: 14.46 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.109e-05/0.1333, allocations: 28 kB / 440.4 MB, free: 14.43 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0008358/0.1341, allocations: 1.032 MB / 441.4 MB, free: 13.4 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1341, allocations: 0 / 441.4 MB, free: 13.4 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002735/0.1368, allocations: 0.785 MB / 442.2 MB, free: 12.62 MB / 426.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.000277/0.1371, allocations: 140.1 kB / 442.3 MB, free: 12.47 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002008/0.1391, allocations: 1.944 MB / 444.3 MB, free: 10.54 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.000131/0.1392, allocations: 92.16 kB / 444.3 MB, free: 10.44 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004058/0.1397, allocations: 343.9 kB / 444.7 MB, free: 10.09 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00137/0.141, allocations: 0.4944 MB / 445.2 MB, free: 9.605 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006726/0.1478, allocations: 5.765 MB / 450.9 MB, free: 3.746 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000736/0.1485, allocations: 0.9854 MB / 451.9 MB, free: 2.742 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0009331/0.1494, allocations: 423.1 kB / 452.3 MB, free: 2.324 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005645/0.15, allocations: 485.1 kB / 452.8 MB, free: 1.848 MB / 426.7 MB Notification: Performance of SimCode: time 1.563e-06/0.15, allocations: 3.938 kB / 452.8 MB, free: 1.844 MB / 426.7 MB Notification: Performance of Templates: time 0.159/0.309, allocations: 21.93 MB / 474.7 MB, free: 114.7 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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: 3.8629263429902494]