Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001257/0.001257, 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.00142/0.00142, allocations: 170.8 kB / 24.91 MB, free: 8.781 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 1.022/1.022, allocations: 177.1 MB / 205.3 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2389/0.2389, allocations: 32.81 MB / 294.6 MB, free: 1.246 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 323.3 MB, free: 9.66 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.322e-05/1.476e-05, allocations: 2.312 kB / 323.3 MB, free: 9.656 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.009352/0.009367, allocations: 9.751 MB / 333 MB, free: 15.85 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.006365/0.01573, allocations: 3.836 MB / 336.9 MB, free: 12 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007288/0.01646, allocations: 71.62 kB / 336.9 MB, free: 11.93 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002661/0.01912, allocations: 2.036 MB / 339 MB, free: 9.887 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002738/0.02186, allocations: 1.722 MB / 340.7 MB, free: 8.156 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009795/0.02284, allocations: 0.6626 MB / 341.4 MB, free: 7.492 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003492/0.02633, allocations: 3.766 MB / 345.1 MB, free: 3.723 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002167/0.0285, allocations: 2.403 MB / 347.5 MB, free: 1.242 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002135/0.03063, allocations: 1.902 MB / 349.4 MB, free: 15.34 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001859/0.03249, allocations: 1.753 MB / 351.2 MB, free: 13.58 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003331/0.03282, allocations: 256 kB / 351.4 MB, free: 13.33 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00134/0.03417, allocations: 0.9984 MB / 352.4 MB, free: 12.33 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001135/0.0353, allocations: 1.671 MB / 354.1 MB, free: 10.65 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009164/0.03622, allocations: 1.036 MB / 355.1 MB, free: 9.613 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003548/0.03976, allocations: 3.806 MB / 358.9 MB, free: 5.793 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.758e-06/0.03977, allocations: 0 / 358.9 MB, free: 5.793 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.03977, allocations: 0 / 358.9 MB, free: 5.793 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.634e-05/0.03982, allocations: 0 / 358.9 MB, free: 5.793 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.004252/0.04407, allocations: 3.755 MB / 362.7 MB, free: 1.988 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.0441, allocations: 8.031 kB / 362.7 MB, free: 1.98 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002923/0.04703, allocations: 0.9411 MB / 363.6 MB, free: 1.039 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001398/0.04842, allocations: 1.476 MB / 365.1 MB, free: 15.52 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.562e-05/0.04852, allocations: 193.2 kB / 365.3 MB, free: 15.32 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002609/0.04878, allocations: 256.2 kB / 365.6 MB, free: 15.07 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004154/0.05293, allocations: 4.263 MB / 369.8 MB, free: 10.12 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.38e-05/0.053, allocations: 43.62 kB / 369.9 MB, free: 10.08 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000195/0.05319, allocations: 123.9 kB / 370 MB, free: 9.961 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001221/0.05441, allocations: 1.473 MB / 371.5 MB, free: 8.488 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002924/0.05734, allocations: 2.097 MB / 373.6 MB, free: 6.363 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01681/0.07415, allocations: 27.42 MB / 401 MB, free: 9.891 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002385/0.07654, allocations: 1.292 MB / 402.3 MB, free: 8.543 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003075/0.07685, allocations: 281.5 kB / 402.5 MB, free: 8.258 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003047/0.07989, allocations: 2.993 MB / 405.5 MB, free: 5.234 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.764e-05/0.07992, allocations: 43.06 kB / 405.6 MB, free: 5.184 MB / 378.7 MB Notification: Performance of pre-optimization done (n=103): time 2.565e-06/0.07992, allocations: 4 kB / 405.6 MB, free: 5.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=104): time 0.005406/0.08533, allocations: 2.678 MB / 408.3 MB, free: 2.465 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.388e-05/0.08539, allocations: 162.7 kB / 408.4 MB, free: 2.27 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00191/0.0873, allocations: 2.903 MB / 411.3 MB, free: 15.35 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.866e-05/0.08735, allocations: 41.7 kB / 411.4 MB, free: 15.3 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001407/0.08876, allocations: 2.755 MB / 414.1 MB, free: 12.52 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002294/0.08899, allocations: 464.6 kB / 414.6 MB, free: 12.06 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006976/0.08968, allocations: 1.013 MB / 415.6 MB, free: 11.04 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.36e-05/0.08975, allocations: 305.1 kB / 415.9 MB, free: 10.73 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008175/0.09057, allocations: 0.6152 MB / 416.5 MB, free: 10.11 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002756/0.09332, allocations: 4.033 MB / 420.5 MB, free: 4.285 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003499/0.09682, allocations: 5.114 MB / 425.6 MB, free: 13.39 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.121e-05/0.09685, allocations: 36 kB / 425.7 MB, free: 13.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=691) (initialization): time 0.003272/0.1001, allocations: 3.6 MB / 429.3 MB, free: 9.75 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.913e-05/0.1002, allocations: 63.94 kB / 429.3 MB, free: 9.688 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.938e-05/0.1002, allocations: 128 kB / 429.5 MB, free: 9.562 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.234e-05/0.1003, allocations: 164 kB / 429.6 MB, free: 9.402 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001882/0.1022, allocations: 1.267 MB / 430.9 MB, free: 8.133 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001138/0.1023, allocations: 243.1 kB / 431.1 MB, free: 7.895 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001468/0.1038, allocations: 251.8 kB / 431.4 MB, free: 7.648 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006704/0.1045, allocations: 292 kB / 431.7 MB, free: 7.363 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.000747/0.1052, allocations: 0.5717 MB / 432.2 MB, free: 6.777 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002057/0.1054, allocations: 163.8 kB / 432.4 MB, free: 6.617 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005811/0.106, allocations: 0.5011 MB / 432.9 MB, free: 6.105 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.43e-05/0.106, allocations: 16 kB / 432.9 MB, free: 6.09 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.106, allocations: 4 kB / 432.9 MB, free: 6.086 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.106, allocations: 3.984 kB / 432.9 MB, free: 6.082 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00247/0.1085, allocations: 2.186 MB / 435.1 MB, free: 3.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/0.1085, allocations: 4 kB / 435.1 MB, free: 3.836 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003156/0.1088, allocations: 131.8 kB / 435.2 MB, free: 3.707 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001565/0.109, allocations: 51.78 kB / 435.3 MB, free: 3.652 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.336e-05/0.109, allocations: 16 kB / 435.3 MB, free: 3.637 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009534/0.11, allocations: 1.433 MB / 436.7 MB, free: 2.102 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.11, allocations: 4 kB / 436.7 MB, free: 2.098 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008879/0.1109, allocations: 1.219 MB / 438 MB, free: 0.8359 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000194/0.1111, allocations: 250 kB / 438.2 MB, free: 0.5898 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001392/0.1112, allocations: 23.92 kB / 438.2 MB, free: 0.5664 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003819/0.1116, allocations: 23.98 kB / 438.3 MB, free: 0.543 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.413e-05/0.1116, allocations: 55.84 kB / 438.3 MB, free: 500 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.095e-05/0.1117, allocations: 20 kB / 438.3 MB, free: 480 kB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001132/0.1128, allocations: 1.032 MB / 439.4 MB, free: 15.44 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1128, allocations: 3.938 kB / 439.4 MB, free: 15.43 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001894/0.1147, allocations: 0.785 MB / 440.1 MB, free: 14.65 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.0002525/0.115, allocations: 144.2 kB / 440.3 MB, free: 14.5 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001607/0.1166, allocations: 1.944 MB / 442.2 MB, free: 12.56 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001289/0.1167, allocations: 100.2 kB / 442.3 MB, free: 12.46 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003811/0.1171, allocations: 344.7 kB / 442.7 MB, free: 12.11 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001089/0.1182, allocations: 0.4888 MB / 443.2 MB, free: 11.62 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005664/0.1238, allocations: 5.756 MB / 448.9 MB, free: 5.773 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007423/0.1246, allocations: 0.9854 MB / 449.9 MB, free: 4.766 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0008018/0.1254, allocations: 423.1 kB / 450.3 MB, free: 4.348 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005559/0.1259, allocations: 477.1 kB / 450.8 MB, free: 3.879 MB / 426.7 MB Notification: Performance of SimCode: time 1.163e-06/0.1259, allocations: 0 / 450.8 MB, free: 3.879 MB / 426.7 MB Notification: Performance of Templates: time 0.1596/0.2855, allocations: 21.94 MB / 472.7 MB, free: 118.3 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.8871840056963265]