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.001065/0.001065, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.001238/0.001238, allocations: 165 kB / 24.56 MB, free: 12 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 0.9059/0.9059, allocations: 177.1 MB / 205 MB, free: 5.613 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.263/0.263, allocations: 34.27 MB / 295.7 MB, free: 0.6797 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 1.473e-06/1.473e-06, allocations: 0 / 378 MB, free: 2.613 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.877e-05/2.024e-05, allocations: 2.312 kB / 378.1 MB, free: 2.609 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.02403/0.02405, allocations: 14.41 MB / 392.5 MB, free: 4.133 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.009924/0.03398, allocations: 4.345 MB / 396.8 MB, free: 15.77 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002191/0.03617, allocations: 91.62 kB / 396.9 MB, free: 15.68 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003862/0.04003, allocations: 2.382 MB / 399.3 MB, free: 13.29 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004416/0.04444, allocations: 2.131 MB / 401.4 MB, free: 11.15 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001294/0.04574, allocations: 0.6665 MB / 402.1 MB, free: 10.48 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004492/0.05023, allocations: 4.691 MB / 406.8 MB, free: 5.785 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003044/0.05327, allocations: 3.032 MB / 409.8 MB, free: 2.699 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00267/0.05594, allocations: 2.561 MB / 412.4 MB, free: 136 kB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001855/0.0578, allocations: 2.311 MB / 414.7 MB, free: 13.82 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003253/0.05812, allocations: 332 kB / 415 MB, free: 13.49 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001176/0.0593, allocations: 0.9907 MB / 416 MB, free: 12.5 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00114/0.06044, allocations: 2.088 MB / 418.1 MB, free: 10.41 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009275/0.06137, allocations: 1.289 MB / 419.4 MB, free: 9.113 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003781/0.06515, allocations: 4.883 MB / 424.2 MB, free: 4.211 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.768e-06/0.06515, allocations: 0 / 424.2 MB, free: 4.211 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.06515, allocations: 0 / 424.2 MB, free: 4.211 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.447e-05/0.06519, allocations: 0 / 424.2 MB, free: 4.211 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.005594/0.07078, allocations: 5.554 MB / 429.8 MB, free: 14.59 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.217e-05/0.07084, allocations: 8.031 kB / 429.8 MB, free: 14.58 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006297/0.07713, allocations: 3.824 MB / 433.6 MB, free: 10.75 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002478/0.07961, allocations: 2.169 MB / 435.8 MB, free: 8.543 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001361/0.07975, allocations: 254.6 kB / 436 MB, free: 8.293 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003948/0.08014, allocations: 324.1 kB / 436.4 MB, free: 7.977 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006542/0.08668, allocations: 6.356 MB / 442.7 MB, free: 0.9062 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.412e-05/0.08675, allocations: 31.7 kB / 442.7 MB, free: 0.875 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002681/0.08702, allocations: 159.8 kB / 442.9 MB, free: 0.7188 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.152/0.239, allocations: 2.783 MB / 445.7 MB, free: 89.93 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008898/0.2479, allocations: 3.679 MB / 449.4 MB, free: 89.86 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02918/0.2771, allocations: 40.93 MB / 490.3 MB, free: 61.05 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00429/0.2814, allocations: 1.697 MB / 492 MB, free: 60.77 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000873/0.2822, allocations: 0.5384 MB / 492.5 MB, free: 60.67 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007536/0.2898, allocations: 4.468 MB / 497 MB, free: 59 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.935e-05/0.2898, allocations: 48.48 kB / 497.1 MB, free: 58.95 MB / 410.7 MB Notification: Performance of pre-optimization done (n=185): time 3.547e-06/0.2898, allocations: 4.938 kB / 497.1 MB, free: 58.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=198): time 0.01652/0.3063, allocations: 7.299 MB / 0.4925 GB, free: 56.82 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.093e-05/0.3063, allocations: 66.47 kB / 0.4926 GB, free: 56.76 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003179/0.3095, allocations: 3.137 MB / 0.4957 GB, free: 55.39 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.542e-05/0.3096, allocations: 49.77 kB / 0.4957 GB, free: 55.35 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001874/0.3115, allocations: 3.605 MB / 0.4992 GB, free: 52.58 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005485/0.312, allocations: 0.8136 MB / 0.5 GB, free: 51.98 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001054/0.3131, allocations: 1.288 MB / 0.5013 GB, free: 51.29 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.978e-05/0.3131, allocations: 477.4 kB / 0.5017 GB, free: 50.82 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009594/0.3141, allocations: 0.6371 MB / 0.5024 GB, free: 50.73 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002338/0.3164, allocations: 5.81 MB / 0.508 GB, free: 43.32 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003722/0.3201, allocations: 7.121 MB / 0.515 GB, free: 33.99 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.257e-05/0.3202, allocations: 36 kB / 0.515 GB, free: 33.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=786) (initialization): time 0.004983/0.3252, allocations: 5.015 MB / 0.5199 GB, free: 29.36 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.27e-05/0.3252, allocations: 56 kB / 0.52 GB, free: 29.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.752e-05/0.3253, allocations: 124 kB / 0.5201 GB, free: 29.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002799/0.3256, allocations: 224.4 kB / 0.5203 GB, free: 28.97 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002056/0.3276, allocations: 1.357 MB / 0.5216 GB, free: 27.78 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001249/0.3277, allocations: 245.9 kB / 0.5219 GB, free: 27.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001729/0.3295, allocations: 345.3 kB / 0.5222 GB, free: 27.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002345/0.3297, allocations: 360.4 kB / 0.5225 GB, free: 26.94 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.00101/0.3307, allocations: 0.6452 MB / 0.5232 GB, free: 26.29 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002419/0.331, allocations: 353.9 kB / 0.5235 GB, free: 25.94 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001348/0.3323, allocations: 1.292 MB / 0.5248 GB, free: 24.83 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.608e-05/0.3323, allocations: 30.19 kB / 0.5248 GB, free: 24.8 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.3323, allocations: 0 / 0.5248 GB, free: 24.8 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.346e-06/0.3323, allocations: 9.297 kB / 0.5248 GB, free: 24.8 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006048/0.3384, allocations: 5.9 MB / 0.5306 GB, free: 19.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.145e-06/0.3384, allocations: 8 kB / 0.5306 GB, free: 19.47 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006128/0.339, allocations: 308.7 kB / 0.5309 GB, free: 19.22 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001496/0.3391, allocations: 76.62 kB / 0.5309 GB, free: 19.16 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.569e-05/0.3392, allocations: 40 kB / 0.531 GB, free: 19.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.398e-06/0.3392, allocations: 23.88 kB / 0.531 GB, free: 19.1 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.3392, allocations: 11.94 kB / 0.531 GB, free: 19.09 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001904/0.3411, allocations: 2.181 MB / 0.5331 GB, free: 16.84 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002319/0.3414, allocations: 283.2 kB / 0.5334 GB, free: 16.57 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001938/0.3416, allocations: 37.55 kB / 0.5334 GB, free: 16.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005127/0.3421, allocations: 115.6 kB / 0.5336 GB, free: 16.46 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001404/0.3422, allocations: 129.5 kB / 0.5337 GB, free: 16.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.495e-05/0.3423, allocations: 69.91 kB / 0.5337 GB, free: 16.32 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001135/0.3434, allocations: 1.31 MB / 0.535 GB, free: 15.24 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3434, allocations: 0 / 0.535 GB, free: 15.24 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002467/0.3459, allocations: 0.9984 MB / 0.536 GB, free: 14.25 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.0002858/0.3462, allocations: 197 kB / 0.5362 GB, free: 14.05 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002733/0.3489, allocations: 2.753 MB / 0.5389 GB, free: 11.62 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.3489, allocations: 0 / 0.5389 GB, free: 11.62 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006168/0.3495, allocations: 0.6369 MB / 0.5395 GB, free: 11.06 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009236/0.3504, allocations: 356.5 kB / 0.5398 GB, free: 10.77 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007845/0.3583, allocations: 8.697 MB / 0.5483 GB, free: 2.047 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009044/0.3592, allocations: 1.408 MB / 0.5497 GB, free: 0.6094 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002002/0.3612, allocations: 1.634 MB / 0.5513 GB, free: 14.98 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004018/0.3616, allocations: 232.5 kB / 0.5515 GB, free: 14.75 MB / 426.7 MB Notification: Performance of SimCode: time 1.022e-06/0.3616, allocations: 0.9844 kB / 0.5515 GB, free: 14.75 MB / 426.7 MB Notification: Performance of Templates: time 0.03604/0.3976, allocations: 24.49 MB / 0.5754 GB, free: 6.793 MB / 442.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: 3.9745269012637436]