Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001357/0.001357, allocations: 96.25 kB / 20.96 MB, free: 3.469 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001503/0.001503, allocations: 156.9 kB / 24.26 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.464/1.464, allocations: 177 MB / 204.5 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3796/0.3796, allocations: 34.25 MB / 295.2 MB, free: 0.6328 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Joints.Planar") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.425e-06/2.425e-06, allocations: 0 / 377.2 MB, free: 2.887 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.485e-05/3.727e-05, allocations: 4.844 kB / 377.2 MB, free: 2.883 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.0186/0.01864, allocations: 13.03 MB / 390.2 MB, free: 5.789 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01345/0.03209, allocations: 4.228 MB / 394.5 MB, free: 1.547 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004173/0.03626, allocations: 95.62 kB / 394.6 MB, free: 1.453 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005714/0.04198, allocations: 2.32 MB / 396.9 MB, free: 15.12 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006945/0.04892, allocations: 2.12 MB / 399 MB, free: 13 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002004/0.05093, allocations: 0.6665 MB / 399.7 MB, free: 12.33 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00773/0.05866, allocations: 4.698 MB / 404.4 MB, free: 7.621 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004826/0.06348, allocations: 3.02 MB / 407.4 MB, free: 4.547 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004762/0.06824, allocations: 2.436 MB / 409.8 MB, free: 2.105 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005306/0.07355, allocations: 2.393 MB / 412.2 MB, free: 15.71 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009347/0.07448, allocations: 348 kB / 412.6 MB, free: 15.37 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002414/0.0769, allocations: 1.018 MB / 413.6 MB, free: 14.35 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002403/0.0793, allocations: 2.092 MB / 415.7 MB, free: 12.25 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002874/0.08218, allocations: 1.308 MB / 417 MB, free: 10.94 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01251/0.09469, allocations: 7.747 MB / 424.7 MB, free: 3.164 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/0.09469, allocations: 0 / 424.7 MB, free: 3.164 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.0947, allocations: 0 / 424.7 MB, free: 3.164 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003757/0.09507, allocations: 0 / 424.7 MB, free: 3.164 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.01619/0.1113, allocations: 5.117 MB / 429.8 MB, free: 13.98 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/0.1113, allocations: 8.031 kB / 429.9 MB, free: 13.98 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01382/0.1251, allocations: 3.941 MB / 433.8 MB, free: 10.03 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006605/0.1317, allocations: 2.345 MB / 436.1 MB, free: 7.648 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003341/0.1321, allocations: 250.6 kB / 436.4 MB, free: 7.402 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00176/0.1338, allocations: 332.1 kB / 436.7 MB, free: 7.078 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.228/0.3618, allocations: 12.24 MB / 448.9 MB, free: 93.98 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001158/0.3619, allocations: 40.28 kB / 449 MB, free: 93.96 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004462/0.3624, allocations: 153.8 kB / 449.1 MB, free: 93.91 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003963/0.3663, allocations: 2.844 MB / 452 MB, free: 93.42 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01939/0.3857, allocations: 11.11 MB / 463.1 MB, free: 90 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04998/0.4357, allocations: 37.48 MB / 0.4888 GB, free: 66.68 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00848/0.4442, allocations: 3.722 MB / 0.4925 GB, free: 64.86 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002832/0.447, allocations: 2.255 MB / 0.4947 GB, free: 62.89 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007318/0.4478, allocations: 462.5 kB / 0.4951 GB, free: 62.51 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.146e-05/0.4478, allocations: 53.17 kB / 0.4952 GB, free: 62.45 MB / 410.7 MB Notification: Performance of pre-optimization done (n=249): time 4.779e-06/0.4478, allocations: 4 kB / 0.4952 GB, free: 62.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=267): time 0.03899/0.4868, allocations: 19.14 MB / 0.5139 GB, free: 45.27 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.339e-05/0.4868, allocations: 73.41 kB / 0.5139 GB, free: 45.19 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003345/0.4902, allocations: 3.13 MB / 0.517 GB, free: 42.16 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003273/0.4905, allocations: 61.7 kB / 0.517 GB, free: 42.09 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001233/0.4917, allocations: 3.252 MB / 0.5202 GB, free: 38.85 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008038/0.4925, allocations: 1.003 MB / 0.5212 GB, free: 37.86 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00128/0.4938, allocations: 1.175 MB / 0.5223 GB, free: 36.68 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.037e-05/0.4939, allocations: 301.1 kB / 0.5226 GB, free: 36.38 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002693/0.4966, allocations: 2.467 MB / 0.525 GB, free: 33.91 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004758/0.5013, allocations: 5.723 MB / 0.5306 GB, free: 26.57 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008222/0.5095, allocations: 8.988 MB / 0.5394 GB, free: 16 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.306e-05/0.5096, allocations: 32 kB / 0.5394 GB, free: 15.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=791) (initialization): time 0.01321/0.5228, allocations: 9.294 MB / 0.5485 GB, free: 6.656 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.747e-05/0.5229, allocations: 52 kB / 0.5486 GB, free: 6.605 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001143/0.523, allocations: 116 kB / 0.5487 GB, free: 6.492 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002913/0.5259, allocations: 1.107 MB / 0.5498 GB, free: 5.383 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004077/0.53, allocations: 1.349 MB / 0.5511 GB, free: 4.031 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00684/0.5368, allocations: 5.388 MB / 0.5563 GB, free: 14.55 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004697/0.5415, allocations: 347.7 kB / 0.5567 GB, free: 14.21 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008656/0.5424, allocations: 336 kB / 0.557 GB, free: 13.88 MB / 426.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.004861/0.5473, allocations: 2.423 MB / 0.5594 GB, free: 11.45 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009508/0.5482, allocations: 376.1 kB / 0.5597 GB, free: 11.09 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01093/0.5591, allocations: 5.342 MB / 0.5649 GB, free: 5.68 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001101/0.5593, allocations: 42.27 kB / 0.565 GB, free: 5.641 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.374e-05/0.5593, allocations: 11.98 kB / 0.565 GB, free: 5.629 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.511e-05/0.5593, allocations: 7.969 kB / 0.565 GB, free: 5.621 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02647/0.5858, allocations: 11.41 MB / 0.5761 GB, free: 10.01 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.27e-05/0.5858, allocations: 8 kB / 0.5761 GB, free: 10 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002012/0.5879, allocations: 427.4 kB / 0.5766 GB, free: 9.582 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003372/0.5912, allocations: 0.937 MB / 0.5775 GB, free: 8.641 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003826/0.5916, allocations: 67.91 kB / 0.5775 GB, free: 8.574 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008101/0.5997, allocations: 4.691 MB / 0.5821 GB, free: 3.785 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.549e-05/0.5997, allocations: 15.94 kB / 0.5821 GB, free: 3.77 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01515/0.6149, allocations: 8.041 MB / 0.59 GB, free: 11.51 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001019/0.6159, allocations: 293.9 kB / 0.5903 GB, free: 11.22 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004623/0.6164, allocations: 51.98 kB / 0.5903 GB, free: 11.17 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001564/0.6179, allocations: 175.7 kB / 0.5905 GB, free: 11 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004506/0.6184, allocations: 177.4 kB / 0.5906 GB, free: 10.83 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002017/0.6186, allocations: 80.08 kB / 0.5907 GB, free: 10.75 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.003047/0.6216, allocations: 1.792 MB / 0.5925 GB, free: 8.953 MB / 458.7 MB Notification: Performance of sort global known variables: time 8e-08/0.6216, allocations: 0 / 0.5925 GB, free: 8.953 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005288/0.6269, allocations: 1.129 MB / 0.5936 GB, free: 7.824 MB / 458.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.0006073/0.6275, allocations: 214.6 kB / 0.5938 GB, free: 7.605 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01045/0.638, allocations: 5.789 MB / 0.5994 GB, free: 1.82 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.636e-05/0.638, allocations: 4 kB / 0.5994 GB, free: 1.816 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.166/0.804, allocations: 2.098 MB / 0.6015 GB, free: 131.1 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003399/0.8074, allocations: 358.9 kB / 0.6018 GB, free: 131 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01795/0.8253, allocations: 11.54 MB / 0.6131 GB, free: 127.3 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003799/0.8291, allocations: 3.179 MB / 0.6162 GB, free: 126.5 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.004155/0.8333, allocations: 2.127 MB / 0.6183 GB, free: 126.3 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008391/0.8341, allocations: 222.5 kB / 0.6185 GB, free: 126.3 MB / 458.7 MB Notification: Performance of SimCode: time 2.164e-06/0.8341, allocations: 0 / 0.6185 GB, free: 126.3 MB / 458.7 MB Notification: Performance of Templates: time 0.05732/0.8914, allocations: 30.36 MB / 0.6481 GB, free: 119.5 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Planar/Planar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.011703916941769]