Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar.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.00185/0.00185, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.001982/0.001982, allocations: 165.3 kB / 24.27 MB, free: 156 kB / 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.561/1.561, allocations: 177.1 MB / 204.6 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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.3996/0.3996, allocations: 32.8 MB / 293.9 MB, free: 1.203 MB / 266.7 MB " [Timeout remaining time 179] 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.Planar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|planar.phi|planar.s_x|planar.s_y|planar.v_x|planar.v_y|planar.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar") translateModel(ModelicaTest.MultiBody.Joints.Planar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|planar.phi|planar.s_x|planar.s_y|planar.v_x|planar.v_y|planar.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 375.3 MB, free: 4.98 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.979e-05/3.132e-05, allocations: 2.312 kB / 375.3 MB, free: 4.977 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.02087/0.0209, allocations: 14.32 MB / 389.6 MB, free: 6.586 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.015/0.0359, allocations: 4.326 MB / 393.9 MB, free: 2.246 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003831/0.03973, allocations: 91.62 kB / 394 MB, free: 2.156 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007544/0.04727, allocations: 2.378 MB / 396.4 MB, free: 15.77 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009221/0.05649, allocations: 2.123 MB / 398.5 MB, free: 13.64 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002724/0.05922, allocations: 0.6782 MB / 399.2 MB, free: 12.96 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.009977/0.0692, allocations: 4.682 MB / 403.9 MB, free: 8.266 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007187/0.07638, allocations: 3.028 MB / 406.9 MB, free: 5.184 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007521/0.0839, allocations: 2.44 MB / 409.3 MB, free: 2.738 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006152/0.09006, allocations: 2.424 MB / 411.8 MB, free: 316 kB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001796/0.09185, allocations: 344 kB / 412.1 MB, free: 15.97 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004016/0.09587, allocations: 1.01 MB / 413.1 MB, free: 14.96 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004202/0.1001, allocations: 2.096 MB / 415.2 MB, free: 12.86 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003969/0.104, allocations: 1.32 MB / 416.5 MB, free: 11.54 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01686/0.1209, allocations: 7.755 MB / 424.3 MB, free: 3.754 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.704e-06/0.1209, allocations: 0 / 424.3 MB, free: 3.754 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.1209, allocations: 0 / 424.3 MB, free: 3.754 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003584/0.1213, allocations: 4 kB / 424.3 MB, free: 3.75 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1828 * Number of variables: 1828 Notification: Performance of Generate backend data structure: time 0.02259/0.1439, allocations: 6.085 MB / 430.4 MB, free: 13.59 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.709e-05/0.1439, allocations: 12.03 kB / 430.4 MB, free: 13.58 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02024/0.1642, allocations: 3.812 MB / 434.2 MB, free: 9.762 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007628/0.1718, allocations: 2.187 MB / 436.4 MB, free: 7.539 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004316/0.1722, allocations: 250.6 kB / 436.6 MB, free: 7.293 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001984/0.1742, allocations: 332.1 kB / 437 MB, free: 6.969 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2128/0.387, allocations: 6.886 MB / 443.8 MB, free: 93.78 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001353/0.3871, allocations: 34.97 kB / 443.9 MB, free: 93.76 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005439/0.3877, allocations: 155.9 kB / 444 MB, free: 93.76 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004203/0.3919, allocations: 2.846 MB / 446.9 MB, free: 93.73 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0129/0.4048, allocations: 4.361 MB / 451.2 MB, free: 93.55 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0548/0.4596, allocations: 49.87 MB / 0.4894 GB, free: 58.69 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006688/0.4663, allocations: 1.958 MB / 0.4913 GB, free: 58.31 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001485/0.4677, allocations: 0.7442 MB / 0.492 GB, free: 58.18 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006645/0.4684, allocations: 410.6 kB / 0.4924 GB, free: 58.12 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.566e-05/0.4684, allocations: 58.61 kB / 0.4924 GB, free: 58.06 MB / 410.7 MB Notification: Performance of pre-optimization done (n=249): time 4.308e-06/0.4684, allocations: 0 / 0.4924 GB, free: 58.06 MB / 410.7 MB Notification: Performance of matching and sorting (n=267): time 0.03141/0.4999, allocations: 11.24 MB / 0.5034 GB, free: 50.91 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.536e-05/0.4999, allocations: 74.16 kB / 0.5035 GB, free: 50.83 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003861/0.5038, allocations: 3.582 MB / 0.507 GB, free: 47.72 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001981/0.5039, allocations: 57.7 kB / 0.507 GB, free: 47.66 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00168/0.5056, allocations: 3.555 MB / 0.5105 GB, free: 44.43 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009215/0.5065, allocations: 1.127 MB / 0.5116 GB, free: 43.41 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001566/0.5081, allocations: 1.477 MB / 0.5131 GB, free: 42.01 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.121e-05/0.5082, allocations: 481.4 kB / 0.5135 GB, free: 41.54 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001605/0.5098, allocations: 0.8133 MB / 0.5143 GB, free: 40.86 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003439/0.5132, allocations: 5.824 MB / 0.52 GB, free: 33.08 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005767/0.519, allocations: 7.362 MB / 0.5272 GB, free: 23.69 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.131e-05/0.5191, allocations: 32 kB / 0.5272 GB, free: 23.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=791) (initialization): time 0.01013/0.5292, allocations: 5.816 MB / 0.5329 GB, free: 18.56 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.65e-05/0.5292, allocations: 52 kB / 0.533 GB, free: 18.51 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001005/0.5293, allocations: 116 kB / 0.5331 GB, free: 18.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002669/0.532, allocations: 0.7655 MB / 0.5338 GB, free: 17.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003661/0.5357, allocations: 1.346 MB / 0.5351 GB, free: 16.74 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004167/0.5398, allocations: 3.409 MB / 0.5385 GB, free: 13.28 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003325/0.5432, allocations: 347.7 kB / 0.5388 GB, free: 12.94 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000395/0.5436, allocations: 340 kB / 0.5391 GB, free: 12.61 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 517 * Number of states: 0 () * Number of discrete variables: 46 (axis1.arrowLine.twoHeadedArrow,axis1.headAtOrigin,axis2.arrowLine.twoHeadedArrow,axis2.headAtOrigin,axis1.color[3],axis1.color[2],axis1.color[1],frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],planar.cylinderColor[3],planar.cylinderColor[2],planar.cylinderColor[1],planar.boxColor[3],planar.boxColor[2],planar.boxColor[1],planar.revolute.cylinderColor[3],planar.revolute.cylinderColor[2],planar.revolute.cylinderColor[1],planar.prismatic_y.boxColor[3],planar.prismatic_y.boxColor[2],planar.prismatic_y.boxColor[1],planar.prismatic_x.boxColor[3],planar.prismatic_x.boxColor[2],planar.prismatic_x.boxColor[1],axis2.color[3],axis2.color[2],axis2.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (729): * Single equations (assignments): 722 * Array equations: 6 * 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 {(4,11,87.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001618/0.5452, allocations: 0.776 MB / 0.5399 GB, free: 11.82 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004966/0.5457, allocations: 371.4 kB / 0.5402 GB, free: 11.46 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006066/0.5517, allocations: 2.983 MB / 0.5431 GB, free: 8.41 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.486e-05/0.5518, allocations: 44 kB / 0.5432 GB, free: 8.367 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.742e-06/0.5518, allocations: 7.984 kB / 0.5432 GB, free: 8.359 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.621e-05/0.5518, allocations: 7.969 kB / 0.5432 GB, free: 8.352 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01631/0.5681, allocations: 8.922 MB / 0.5519 GB, free: 15.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.165e-05/0.5681, allocations: 12 kB / 0.5519 GB, free: 15.18 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001865/0.57, allocations: 423.3 kB / 0.5523 GB, free: 14.77 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002767/0.5728, allocations: 0.6086 MB / 0.5529 GB, free: 14.16 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001872/0.573, allocations: 59.7 kB / 0.553 GB, free: 14.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005072/0.578, allocations: 2.788 MB / 0.5557 GB, free: 11.2 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.649e-05/0.578, allocations: 19.88 kB / 0.5557 GB, free: 11.18 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00867/0.5867, allocations: 3.722 MB / 0.5593 GB, free: 7.172 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008607/0.5876, allocations: 285.9 kB / 0.5596 GB, free: 6.891 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004006/0.588, allocations: 55.98 kB / 0.5597 GB, free: 6.836 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001487/0.5895, allocations: 175.7 kB / 0.5598 GB, free: 6.664 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004185/0.5899, allocations: 169.4 kB / 0.56 GB, free: 6.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001916/0.5901, allocations: 87.97 kB / 0.5601 GB, free: 6.414 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002594/0.5927, allocations: 1.457 MB / 0.5615 GB, free: 4.953 MB / 426.7 MB Notification: Performance of sort global known variables: time 1e-07/0.5927, allocations: 4 kB / 0.5615 GB, free: 4.949 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004766/0.5974, allocations: 1.137 MB / 0.5626 GB, free: 3.812 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 6 (planar.s_x,planar.s_y,planar.phi,planar.v_x,planar.v_y,planar.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 (208): * Single equations (assignments): 201 * Array equations: 6 * 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 {(3,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005584/0.598, allocations: 206.6 kB / 0.5628 GB, free: 3.598 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.007542/0.6055, allocations: 3.571 MB / 0.5663 GB, free: 16 kB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.809e-06/0.6055, allocations: 4 kB / 0.5663 GB, free: 12 kB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002429/0.608, allocations: 1.191 MB / 0.5675 GB, free: 14.8 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002228/0.6102, allocations: 360.7 kB / 0.5678 GB, free: 14.46 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01747/0.6277, allocations: 9.4 MB / 0.577 GB, free: 4.793 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004353/0.632, allocations: 2.802 MB / 0.5797 GB, free: 1.965 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.004637/0.6367, allocations: 1.745 MB / 0.5814 GB, free: 220 kB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008302/0.6375, allocations: 228.5 kB / 0.5817 GB, free: 15.99 MB / 458.7 MB Notification: Performance of SimCode: time 1.914e-06/0.6375, allocations: 0 / 0.5817 GB, free: 15.99 MB / 458.7 MB Notification: Performance of Templates: time 0.2186/0.8561, allocations: 30.31 MB / 0.6113 GB, free: 121.9 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Planar/Planar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.137608745018952]