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.001388/0.001388, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001098/0.001098, allocations: 164.4 kB / 24.82 MB, free: 9.266 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.081/1.081, allocations: 177.1 MB / 205.3 MB, free: 5.473 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.2982/0.2982, allocations: 32.8 MB / 294.6 MB, free: 1.25 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.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.653e-06/1.653e-06, allocations: 0 / 376.5 MB, free: 4.418 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.102e-05/2.267e-05, allocations: 6.25 kB / 376.5 MB, free: 4.41 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.01077/0.0108, allocations: 14.02 MB / 390.5 MB, free: 6.32 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007813/0.01861, allocations: 4.306 MB / 394.8 MB, free: 2 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002284/0.02089, allocations: 87.69 kB / 394.9 MB, free: 1.914 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00302/0.02391, allocations: 2.351 MB / 397.3 MB, free: 15.55 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004312/0.02822, allocations: 2.139 MB / 399.4 MB, free: 13.41 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001189/0.02941, allocations: 0.6742 MB / 400.1 MB, free: 12.73 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004915/0.03433, allocations: 4.673 MB / 404.7 MB, free: 8.047 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003342/0.03767, allocations: 3.036 MB / 407.8 MB, free: 4.957 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0035/0.04117, allocations: 2.561 MB / 410.3 MB, free: 2.391 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002719/0.04389, allocations: 2.299 MB / 412.6 MB, free: 88 kB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007709/0.04466, allocations: 332 kB / 413 MB, free: 15.76 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001582/0.04624, allocations: 0.9907 MB / 413.9 MB, free: 14.77 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001645/0.04789, allocations: 2.076 MB / 416 MB, free: 12.69 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001594/0.04948, allocations: 1.296 MB / 417.3 MB, free: 11.39 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005697/0.05518, allocations: 4.883 MB / 422.2 MB, free: 6.484 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.05518, allocations: 0 / 422.2 MB, free: 6.484 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.05519, allocations: 4 kB / 422.2 MB, free: 6.48 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.000219/0.05541, allocations: 0 / 422.2 MB, free: 6.48 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.00727/0.06268, allocations: 5.413 MB / 427.6 MB, free: 0.9961 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.06272, allocations: 8.031 kB / 427.6 MB, free: 0.9883 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004817/0.06754, allocations: 2.021 MB / 429.7 MB, free: 14.96 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003689/0.07123, allocations: 1.958 MB / 431.6 MB, free: 12.97 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001936/0.07142, allocations: 250.6 kB / 431.9 MB, free: 12.72 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006802/0.0721, allocations: 332.1 kB / 432.2 MB, free: 12.4 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01033/0.08243, allocations: 5.75 MB / 437.9 MB, free: 5.934 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001005/0.08253, allocations: 31.7 kB / 438 MB, free: 5.902 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004367/0.08297, allocations: 163.7 kB / 438.1 MB, free: 5.742 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002367/0.08534, allocations: 2.446 MB / 440.6 MB, free: 3.293 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0092/0.09454, allocations: 2.932 MB / 443.5 MB, free: 340 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2258/0.3204, allocations: 40.08 MB / 483.6 MB, free: 48.54 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003503/0.3239, allocations: 1.538 MB / 485.1 MB, free: 48.32 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007007/0.3246, allocations: 460.2 kB / 485.6 MB, free: 48.27 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006926/0.3315, allocations: 4.144 MB / 489.7 MB, free: 46.64 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.726e-05/0.3315, allocations: 48.73 kB / 489.8 MB, free: 46.59 MB / 410.7 MB Notification: Performance of pre-optimization done (n=185): time 4.799e-06/0.3315, allocations: 0 / 489.8 MB, free: 46.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=198): time 0.01284/0.3444, allocations: 6.268 MB / 496 MB, free: 45.09 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.972e-05/0.3444, allocations: 70.69 kB / 496.1 MB, free: 45.02 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004033/0.3484, allocations: 3.131 MB / 499.2 MB, free: 44.16 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001315/0.3486, allocations: 47.3 kB / 499.3 MB, free: 44.12 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001768/0.3503, allocations: 3.637 MB / 0.4911 GB, free: 41.44 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007372/0.3511, allocations: 0.8192 MB / 0.4919 GB, free: 40.87 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00125/0.3523, allocations: 1.308 MB / 0.4932 GB, free: 40.29 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.274e-05/0.3524, allocations: 478.2 kB / 0.4937 GB, free: 39.82 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001043/0.3534, allocations: 0.5657 MB / 0.4942 GB, free: 39.74 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002745/0.3561, allocations: 5.771 MB / 0.4998 GB, free: 32.86 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004531/0.3607, allocations: 6.951 MB / 0.5066 GB, free: 25.65 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001097/0.3608, allocations: 37.72 kB / 0.5067 GB, free: 25.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=786) (initialization): time 0.006389/0.3672, allocations: 4.647 MB / 0.5112 GB, free: 24.45 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.665e-05/0.3672, allocations: 63.66 kB / 0.5113 GB, free: 24.44 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001208/0.3674, allocations: 123.3 kB / 0.5114 GB, free: 24.44 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003109/0.3677, allocations: 223.1 kB / 0.5116 GB, free: 24.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002165/0.3698, allocations: 1.281 MB / 0.5128 GB, free: 24.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001685/0.37, allocations: 244.2 kB / 0.5131 GB, free: 24.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002796/0.3728, allocations: 243.2 kB / 0.5133 GB, free: 24.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005062/0.3733, allocations: 309.9 kB / 0.5136 GB, free: 24.05 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 560 * 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 (736): * Single equations (assignments): 728 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001796/0.3751, allocations: 0.6383 MB / 0.5142 GB, free: 23.54 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004787/0.3756, allocations: 349.1 kB / 0.5146 GB, free: 23.34 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001606/0.3772, allocations: 1.18 MB / 0.5157 GB, free: 22.91 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-05/0.3772, allocations: 20.56 kB / 0.5157 GB, free: 22.91 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.3772, allocations: 0 / 0.5157 GB, free: 22.91 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.373e-05/0.3772, allocations: 7.266 kB / 0.5157 GB, free: 22.91 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007835/0.3851, allocations: 5.643 MB / 0.5213 GB, free: 20.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.438e-05/0.3851, allocations: 7.844 kB / 0.5213 GB, free: 20.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006397/0.3857, allocations: 256.1 kB / 0.5215 GB, free: 20.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001756/0.3859, allocations: 72.2 kB / 0.5216 GB, free: 20.72 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.27e-05/0.386, allocations: 46.75 kB / 0.5216 GB, free: 20.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-05/0.386, allocations: 21.66 kB / 0.5216 GB, free: 20.7 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.793e-06/0.386, allocations: 16.09 kB / 0.5217 GB, free: 20.69 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002048/0.388, allocations: 2.011 MB / 0.5236 GB, free: 18.73 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005065/0.3885, allocations: 269.3 kB / 0.5239 GB, free: 18.47 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001887/0.3887, allocations: 41.11 kB / 0.5239 GB, free: 18.44 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004876/0.3892, allocations: 40.66 kB / 0.524 GB, free: 18.4 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001708/0.3894, allocations: 125.3 kB / 0.5241 GB, free: 18.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.644e-05/0.3895, allocations: 60.97 kB / 0.5241 GB, free: 18.27 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001463/0.3909, allocations: 1.22 MB / 0.5253 GB, free: 17.4 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3909, allocations: 0 / 0.5253 GB, free: 17.4 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00407/0.395, allocations: 1.003 MB / 0.5263 GB, free: 16.4 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * 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 (152): * Single equations (assignments): 144 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003846/0.3954, allocations: 198.4 kB / 0.5265 GB, free: 16.21 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003938/0.3993, allocations: 2.561 MB / 0.529 GB, free: 14.03 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.367e-06/0.3993, allocations: 0.875 kB / 0.529 GB, free: 14.03 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008654/0.4002, allocations: 0.5837 MB / 0.5296 GB, free: 13.53 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001813/0.402, allocations: 365.8 kB / 0.5299 GB, free: 13.23 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01178/0.4138, allocations: 8.66 MB / 0.5384 GB, free: 5.039 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001306/0.4151, allocations: 1.408 MB / 0.5397 GB, free: 4.02 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001486/0.4166, allocations: 489.7 kB / 0.5402 GB, free: 3.672 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000879/0.4175, allocations: 0.5416 MB / 0.5407 GB, free: 3.16 MB / 410.7 MB Notification: Performance of SimCode: time 1.874e-06/0.4175, allocations: 4 kB / 0.5407 GB, free: 3.156 MB / 410.7 MB Notification: Performance of Templates: time 0.05361/0.4711, allocations: 26.31 MB / 0.5664 GB, free: 10.77 MB / 442.7 MB " [Timeout remaining time 660] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.460554718971252]