Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.00135/0.00135, allocations: 84.7 kB / 20.68 MB, free: 1.023 MB / 14.72 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.001412/0.001412, allocations: 166.5 kB / 23.95 MB, free: 4.16 MB / 14.72 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.456/1.456, allocations: 177.1 MB / 204.3 MB, free: 9.191 MB / 190.1 MB " [Timeout remaining time 178] 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.2214/0.2214, allocations: 34.28 MB / 294.9 MB, free: 14.59 MB / 286.1 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.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.1.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.1.0_ModelicaTest.MultiBody.Joints.Planar") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.184e-06/2.184e-06, allocations: 0 / 442.7 MB, free: 5.406 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.633e-05/3.851e-05, allocations: 2.281 kB / 442.7 MB, free: 5.402 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.2461/0.2462, allocations: 13.02 MB / 455.7 MB, free: 12.29 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01047/0.2566, allocations: 4.229 MB / 459.9 MB, free: 9.711 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00351/0.2602, allocations: 95.62 kB / 460 MB, free: 9.684 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005101/0.2653, allocations: 2.278 MB / 462.3 MB, free: 8.73 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005792/0.271, allocations: 2.119 MB / 464.4 MB, free: 7.781 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002036/0.2731, allocations: 0.6637 MB / 465.1 MB, free: 7.5 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007458/0.2805, allocations: 4.695 MB / 469.8 MB, free: 5.664 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004851/0.2854, allocations: 2.938 MB / 472.7 MB, free: 3.859 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006235/0.2916, allocations: 2.434 MB / 475.2 MB, free: 2.348 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004327/0.296, allocations: 2.395 MB / 477.6 MB, free: 1.016 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001052/0.297, allocations: 344.7 kB / 477.9 MB, free: 1.016 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002517/0.2995, allocations: 1.016 MB / 478.9 MB, free: 0.668 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001995/0.3015, allocations: 2.079 MB / 481 MB, free: 15.44 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002631/0.3041, allocations: 1.317 MB / 482.3 MB, free: 14.41 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01148/0.3156, allocations: 7.748 MB / 490.1 MB, free: 6.641 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.028e-05/0.3156, allocations: 4 kB / 490.1 MB, free: 6.637 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3156, allocations: 0 / 490.1 MB, free: 6.637 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002835/0.3159, allocations: 0 / 490.1 MB, free: 6.637 MB / 382.1 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.01213/0.3281, allocations: 5.11 MB / 495.2 MB, free: 1.465 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/0.3281, allocations: 12.03 kB / 495.2 MB, free: 1.453 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01205/0.3401, allocations: 3.266 MB / 498.4 MB, free: 14.18 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005494/0.3456, allocations: 2.325 MB / 0.489 GB, free: 11.82 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002391/0.3459, allocations: 250.6 kB / 0.4893 GB, free: 11.57 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009252/0.3468, allocations: 332.1 kB / 0.4896 GB, free: 11.25 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02155/0.3684, allocations: 12.24 MB / 0.5015 GB, free: 14.47 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001669/0.3685, allocations: 40.78 kB / 0.5016 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005234/0.369, allocations: 151.8 kB / 0.5017 GB, free: 14.28 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00538/0.3744, allocations: 2.855 MB / 0.5045 GB, free: 11.42 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02428/0.3987, allocations: 11.1 MB / 0.5154 GB, free: 320 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06695/0.4657, allocations: 37.37 MB / 0.5519 GB, free: 9.949 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01014/0.4758, allocations: 3.73 MB / 0.5555 GB, free: 6.207 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003578/0.4794, allocations: 2.251 MB / 0.5577 GB, free: 3.961 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009458/0.4803, allocations: 437.3 kB / 0.5581 GB, free: 3.531 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.076e-05/0.4804, allocations: 59.38 kB / 0.5582 GB, free: 3.469 MB / 462.1 MB Notification: Performance of pre-optimization done (n=249): time 6.021e-06/0.4804, allocations: 0 / 0.5582 GB, free: 3.469 MB / 462.1 MB Notification: Performance of matching and sorting (n=267): time 0.04989/0.5303, allocations: 19.06 MB / 0.5768 GB, free: 348 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.161e-05/0.5303, allocations: 77.34 kB / 0.5769 GB, free: 260 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004778/0.5351, allocations: 3.132 MB / 0.5799 GB, free: 13.1 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005085/0.5356, allocations: 65.69 kB / 0.58 GB, free: 13.03 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002703/0.5383, allocations: 3.24 MB / 0.5831 GB, free: 9.754 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001445/0.5398, allocations: 1.004 MB / 0.5841 GB, free: 8.742 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00191/0.5417, allocations: 1.18 MB / 0.5853 GB, free: 7.551 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001695/0.5419, allocations: 301.1 kB / 0.5856 GB, free: 7.254 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004111/0.546, allocations: 2.475 MB / 0.588 GB, free: 4.773 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007377/0.5533, allocations: 5.731 MB / 0.5936 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01283/0.5662, allocations: 8.988 MB / 0.6023 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001226/0.5663, allocations: 32 kB / 0.6024 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of matching and sorting (n=791) (initialization): time 0.01806/0.5844, allocations: 8.982 MB / 0.6111 GB, free: 9.824 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.232e-05/0.5844, allocations: 52.94 kB / 0.6112 GB, free: 9.773 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001555/0.5846, allocations: 120 kB / 0.6113 GB, free: 9.656 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003464/0.5881, allocations: 1.046 MB / 0.6123 GB, free: 8.609 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004982/0.5931, allocations: 1.353 MB / 0.6137 GB, free: 7.254 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008559/0.6016, allocations: 5.37 MB / 0.6189 GB, free: 1.785 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004992/0.6066, allocations: 351.7 kB / 0.6192 GB, free: 1.441 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001037/0.6076, allocations: 343.9 kB / 0.6196 GB, free: 1.105 MB / 0.5137 GB 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.005502/0.6131, allocations: 2.418 MB / 0.6219 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007793/0.6139, allocations: 309.9 kB / 0.6222 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0102/0.6241, allocations: 5.334 MB / 0.6274 GB, free: 8.973 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.353e-05/0.6242, allocations: 47.98 kB / 0.6275 GB, free: 8.926 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.472e-05/0.6242, allocations: 11.94 kB / 0.6275 GB, free: 8.914 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-05/0.6242, allocations: 11.97 kB / 0.6275 GB, free: 8.902 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2452/0.8694, allocations: 11.4 MB / 0.6386 GB, free: 164 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-05/0.8694, allocations: 11 kB / 0.6386 GB, free: 164 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00196/0.8714, allocations: 425.5 kB / 0.639 GB, free: 164 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00306/0.8744, allocations: 0.883 MB / 0.6399 GB, free: 164 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003499/0.8748, allocations: 58.81 kB / 0.64 GB, free: 164 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006499/0.8813, allocations: 4.687 MB / 0.6445 GB, free: 162.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.525e-05/0.8813, allocations: 16.25 kB / 0.6446 GB, free: 162.1 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01324/0.8946, allocations: 7.977 MB / 0.6523 GB, free: 159.1 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009919/0.8955, allocations: 288.8 kB / 0.6526 GB, free: 159.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004276/0.896, allocations: 47.78 kB / 0.6527 GB, free: 159.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001623/0.8976, allocations: 180.7 kB / 0.6528 GB, free: 159.1 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000516/0.8981, allocations: 176.3 kB / 0.653 GB, free: 159 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001927/0.8983, allocations: 82.39 kB / 0.6531 GB, free: 159 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002624/0.9009, allocations: 1.785 MB / 0.6548 GB, free: 158.4 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9009, allocations: 3.969 kB / 0.6548 GB, free: 158.4 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00453/0.9055, allocations: 1.134 MB / 0.6559 GB, free: 158.3 MB / 0.5294 GB 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.0004956/0.906, allocations: 211.2 kB / 0.6561 GB, free: 158.2 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.009139/0.9151, allocations: 5.786 MB / 0.6618 GB, free: 156.3 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.847e-05/0.9151, allocations: 3.938 kB / 0.6618 GB, free: 156.3 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002495/0.9176, allocations: 2.095 MB / 0.6638 GB, free: 155.5 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002176/0.9198, allocations: 363.2 kB / 0.6642 GB, free: 155.4 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01667/0.9365, allocations: 11.39 MB / 0.6753 GB, free: 150.4 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003277/0.9397, allocations: 3.182 MB / 0.6784 GB, free: 148 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.00374/0.9435, allocations: 2.12 MB / 0.6805 GB, free: 146.6 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007444/0.9442, allocations: 228.5 kB / 0.6807 GB, free: 146.4 MB / 0.5294 GB Notification: Performance of SimCode: time 1.002e-06/0.9442, allocations: 0 / 0.6807 GB, free: 146.4 MB / 0.5294 GB Notification: Performance of Templates: time 0.05252/0.9967, allocations: 30.15 MB / 0.7102 GB, free: 117.4 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Planar.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Planar.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Planar.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Planar.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Planar.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Planar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Planar.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.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: 6.859068617224693]