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.001476/0.001476, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.00187/0.00187, allocations: 161.3 kB / 24.99 MB, free: 9.273 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.03/1.03, allocations: 177.1 MB / 205.3 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] 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.2517/0.2517, allocations: 34.26 MB / 296 MB, free: 0.7695 MB / 266.7 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.044e-06/2.044e-06, allocations: 0 / 378 MB, free: 2.977 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.281e-05/2.486e-05, allocations: 10.19 kB / 378 MB, free: 2.965 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.01131/0.01133, allocations: 14.35 MB / 392.4 MB, free: 4.547 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007232/0.01856, allocations: 4.337 MB / 396.7 MB, free: 200 kB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001192/0.01976, allocations: 95.62 kB / 396.8 MB, free: 104 kB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002669/0.02242, allocations: 2.374 MB / 399.2 MB, free: 13.72 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002899/0.02532, allocations: 2.123 MB / 401.3 MB, free: 11.59 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000998/0.02632, allocations: 0.6743 MB / 402 MB, free: 10.91 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003373/0.02969, allocations: 4.688 MB / 406.7 MB, free: 6.211 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002143/0.03184, allocations: 3.024 MB / 409.7 MB, free: 3.133 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002077/0.03391, allocations: 2.44 MB / 412.1 MB, free: 0.6875 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002004/0.03592, allocations: 2.428 MB / 414.6 MB, free: 14.25 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003171/0.03623, allocations: 348 kB / 414.9 MB, free: 13.91 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00111/0.03734, allocations: 1.002 MB / 415.9 MB, free: 12.91 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001113/0.03846, allocations: 2.096 MB / 418 MB, free: 10.8 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001079/0.03954, allocations: 1.308 MB / 419.3 MB, free: 9.492 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003342/0.04288, allocations: 4.95 MB / 424.3 MB, free: 4.523 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.04288, allocations: 4 kB / 424.3 MB, free: 4.52 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.04288, allocations: 0 / 424.3 MB, free: 4.52 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.531e-05/0.04292, allocations: 4 kB / 424.3 MB, free: 4.516 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.005328/0.04825, allocations: 5.605 MB / 429.9 MB, free: 14.84 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.04829, allocations: 11.97 kB / 429.9 MB, free: 14.83 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006336/0.05463, allocations: 3.82 MB / 433.7 MB, free: 11 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002413/0.05704, allocations: 2.168 MB / 435.9 MB, free: 8.797 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001207/0.05716, allocations: 246.6 kB / 436.1 MB, free: 8.555 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003869/0.05755, allocations: 332.1 kB / 436.4 MB, free: 8.23 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007/0.06455, allocations: 6.367 MB / 442.8 MB, free: 1.148 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.879e-05/0.06461, allocations: 35.69 kB / 442.8 MB, free: 1.113 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002902/0.0649, allocations: 151.8 kB / 443 MB, free: 0.9648 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.1631/0.228, allocations: 2.843 MB / 445.8 MB, free: 96.14 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01079/0.2388, allocations: 3.783 MB / 449.6 MB, free: 95.94 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.026/0.2648, allocations: 40.28 MB / 489.9 MB, free: 66.22 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003988/0.2688, allocations: 1.908 MB / 491.8 MB, free: 65.89 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009365/0.2698, allocations: 0.7222 MB / 492.5 MB, free: 65.77 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005013/0.2703, allocations: 413.9 kB / 492.9 MB, free: 65.71 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.924e-05/0.2703, allocations: 60.83 kB / 493 MB, free: 65.66 MB / 410.7 MB Notification: Performance of pre-optimization done (n=249): time 4.117e-06/0.2703, allocations: 1.156 kB / 493 MB, free: 65.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=267): time 0.02181/0.2921, allocations: 11.04 MB / 0.4922 GB, free: 63.01 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.326e-05/0.2921, allocations: 84.34 kB / 0.4923 GB, free: 62.94 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002648/0.2948, allocations: 2.865 MB / 0.4951 GB, free: 61.71 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001099/0.2949, allocations: 61.58 kB / 0.4952 GB, free: 61.65 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001279/0.2962, allocations: 3.399 MB / 0.4985 GB, free: 58.98 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005807/0.2968, allocations: 1.048 MB / 0.4995 GB, free: 58.03 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001062/0.2978, allocations: 1.263 MB / 0.5007 GB, free: 56.84 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.511e-05/0.2979, allocations: 477.5 kB / 0.5012 GB, free: 56.38 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001205/0.2991, allocations: 0.7523 MB / 0.5019 GB, free: 55.75 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002414/0.3015, allocations: 5.579 MB / 0.5074 GB, free: 48.21 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004012/0.3055, allocations: 7.024 MB / 0.5142 GB, free: 39.13 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.59e-05/0.3055, allocations: 32 kB / 0.5143 GB, free: 39.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=791) (initialization): time 0.006741/0.3123, allocations: 5.678 MB / 0.5198 GB, free: 34.14 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.443e-05/0.3123, allocations: 52 kB / 0.5199 GB, free: 34.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.506e-05/0.3124, allocations: 116 kB / 0.52 GB, free: 33.97 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001526/0.3139, allocations: 0.7527 MB / 0.5207 GB, free: 33.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002055/0.316, allocations: 1.345 MB / 0.522 GB, free: 32.33 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002569/0.3185, allocations: 3.293 MB / 0.5252 GB, free: 29.19 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001748/0.3203, allocations: 344.2 kB / 0.5256 GB, free: 28.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002382/0.3205, allocations: 344.8 kB / 0.5259 GB, free: 28.58 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.001103/0.3216, allocations: 0.6286 MB / 0.5265 GB, free: 27.95 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003048/0.3219, allocations: 377.9 kB / 0.5269 GB, free: 27.58 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003528/0.3255, allocations: 2.788 MB / 0.5296 GB, free: 25.06 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.833e-05/0.3255, allocations: 44 kB / 0.5296 GB, free: 25.02 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/0.3255, allocations: 7.984 kB / 0.5296 GB, free: 25.01 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.163e-05/0.3255, allocations: 11.91 kB / 0.5296 GB, free: 25 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008834/0.3343, allocations: 7.63 MB / 0.5371 GB, free: 17.15 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.167e-05/0.3344, allocations: 12 kB / 0.5371 GB, free: 17.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008894/0.3352, allocations: 422.2 kB / 0.5375 GB, free: 16.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001292/0.3365, allocations: 0.5965 MB / 0.5381 GB, free: 16.12 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001024/0.3366, allocations: 55.98 kB / 0.5381 GB, free: 16.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002199/0.3388, allocations: 2.691 MB / 0.5408 GB, free: 13.26 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.528e-06/0.3389, allocations: 19.88 kB / 0.5408 GB, free: 13.24 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003975/0.3428, allocations: 3.546 MB / 0.5443 GB, free: 9.414 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002997/0.3431, allocations: 285.9 kB / 0.5445 GB, free: 9.133 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000217/0.3433, allocations: 48 kB / 0.5446 GB, free: 9.086 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007298/0.3441, allocations: 183.6 kB / 0.5447 GB, free: 8.91 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002352/0.3443, allocations: 173.5 kB / 0.5449 GB, free: 8.742 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.6e-05/0.3444, allocations: 79.92 kB / 0.545 GB, free: 8.664 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001044/0.3454, allocations: 1.214 MB / 0.5462 GB, free: 7.445 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.01e-07/0.3454, allocations: 0 / 0.5462 GB, free: 7.445 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003197/0.3486, allocations: 1.137 MB / 0.5473 GB, free: 6.309 MB / 410.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.0004401/0.3491, allocations: 206.6 kB / 0.5475 GB, free: 6.102 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003817/0.3529, allocations: 3.278 MB / 0.5507 GB, free: 2.809 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.3529, allocations: 0 / 0.5507 GB, free: 2.809 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001031/0.3539, allocations: 1.09 MB / 0.5517 GB, free: 1.695 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001094/0.355, allocations: 368 kB / 0.5521 GB, free: 1.348 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01152/0.3666, allocations: 9.25 MB / 0.5611 GB, free: 7.844 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00125/0.3678, allocations: 1.414 MB / 0.5625 GB, free: 6.41 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002559/0.3704, allocations: 1.751 MB / 0.5642 GB, free: 4.656 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005061/0.3709, allocations: 224.5 kB / 0.5644 GB, free: 4.438 MB / 426.7 MB Notification: Performance of SimCode: time 1.323e-06/0.3709, allocations: 0 / 0.5644 GB, free: 4.438 MB / 426.7 MB Notification: Performance of Templates: time 0.04344/0.4143, allocations: 30.33 MB / 0.5941 GB, free: 6.535 MB / 458.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Planar.pipe 2>&1) [Timeout 240] 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","",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.442171189934015]