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.001392/0.001392, allocations: 80.41 kB / 22.21 MB, free: 2.289 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.001658/0.001658, allocations: 168.4 kB / 25.61 MB, free: 8.906 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 0.9418/0.9418, allocations: 177.2 MB / 206.1 MB, free: 4.465 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.1354/0.1354, allocations: 32.8 MB / 295.4 MB, free: 15.38 MB / 282.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.703e-06/1.703e-06, allocations: 0 / 377.3 MB, free: 25.59 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.714e-05/2.885e-05, allocations: 8.828 kB / 377.3 MB, free: 25.58 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.01028/0.01031, allocations: 14.02 MB / 391.3 MB, free: 11.5 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.008048/0.01835, allocations: 4.307 MB / 395.6 MB, free: 7.184 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002354/0.02071, allocations: 95.62 kB / 395.7 MB, free: 7.09 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00288/0.02359, allocations: 2.359 MB / 398.1 MB, free: 4.723 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004174/0.02776, allocations: 2.127 MB / 400.2 MB, free: 2.586 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001197/0.02896, allocations: 0.6703 MB / 400.8 MB, free: 1.914 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00486/0.03382, allocations: 4.675 MB / 405.5 MB, free: 13.23 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004469/0.03829, allocations: 3.024 MB / 408.5 MB, free: 10.14 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004501/0.04279, allocations: 2.569 MB / 411.1 MB, free: 7.57 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003903/0.04669, allocations: 2.299 MB / 413.4 MB, free: 5.266 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001137/0.04783, allocations: 332 kB / 413.7 MB, free: 4.941 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002498/0.05033, allocations: 0.9946 MB / 414.7 MB, free: 3.945 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002015/0.05234, allocations: 2.076 MB / 416.8 MB, free: 1.863 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001965/0.05431, allocations: 1.292 MB / 418.1 MB, free: 0.5664 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00564/0.05995, allocations: 4.887 MB / 423 MB, free: 11.66 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.852e-06/0.05995, allocations: 7.922 kB / 423 MB, free: 11.65 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.05996, allocations: 0 / 423 MB, free: 11.65 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002239/0.06018, allocations: 4 kB / 423 MB, free: 11.65 MB / 346.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.006736/0.06692, allocations: 5.409 MB / 428.4 MB, free: 6.168 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.06696, allocations: 15.97 kB / 428.4 MB, free: 6.152 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004728/0.07168, allocations: 2.011 MB / 430.4 MB, free: 4.137 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00331/0.07499, allocations: 1.974 MB / 432.4 MB, free: 2.121 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001676/0.07516, allocations: 246.6 kB / 432.7 MB, free: 1.879 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004691/0.07563, allocations: 328.1 kB / 433 MB, free: 1.559 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008483/0.08411, allocations: 5.753 MB / 438.7 MB, free: 11.09 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001047/0.08422, allocations: 43.67 kB / 438.8 MB, free: 11.05 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000312/0.08453, allocations: 151.8 kB / 438.9 MB, free: 10.9 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002368/0.0869, allocations: 2.462 MB / 441.4 MB, free: 8.438 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007722/0.09462, allocations: 2.91 MB / 444.3 MB, free: 5.5 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03999/0.1346, allocations: 40.07 MB / 484.4 MB, free: 12.13 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003811/0.1384, allocations: 1.536 MB / 485.9 MB, free: 10.59 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007236/0.1391, allocations: 469.3 kB / 486.4 MB, free: 10.13 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007111/0.1463, allocations: 4.126 MB / 490.5 MB, free: 5.973 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.974e-05/0.1463, allocations: 54.7 kB / 490.5 MB, free: 5.91 MB / 410.7 MB Notification: Performance of pre-optimization done (n=185): time 6.302e-06/0.1463, allocations: 0 / 490.5 MB, free: 5.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=198): time 0.1767/0.323, allocations: 6.271 MB / 496.8 MB, free: 113.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.756e-05/0.323, allocations: 71.22 kB / 496.9 MB, free: 113.1 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002771/0.3258, allocations: 3.129 MB / 0.4883 GB, free: 112.8 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001921/0.326, allocations: 51.48 kB / 0.4883 GB, free: 112.8 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001469/0.3275, allocations: 3.626 MB / 0.4919 GB, free: 111.2 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006193/0.3281, allocations: 0.8223 MB / 0.4927 GB, free: 110.7 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000979/0.3291, allocations: 1.305 MB / 0.494 GB, free: 110.6 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.78e-05/0.3291, allocations: 480.3 kB / 0.4944 GB, free: 110.1 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008478/0.3299, allocations: 0.5719 MB / 0.495 GB, free: 110.1 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002181/0.3321, allocations: 5.769 MB / 0.5006 GB, free: 103.4 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00334/0.3355, allocations: 6.948 MB / 0.5074 GB, free: 96.56 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.955e-05/0.3355, allocations: 35.88 kB / 0.5074 GB, free: 96.56 MB / 410.7 MB Notification: Performance of matching and sorting (n=786) (initialization): time 0.004809/0.3403, allocations: 4.656 MB / 0.512 GB, free: 95.07 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.463e-05/0.3404, allocations: 57.41 kB / 0.512 GB, free: 95.01 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.127e-05/0.3405, allocations: 124 kB / 0.5121 GB, free: 94.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002794/0.3407, allocations: 223.6 kB / 0.5124 GB, free: 94.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001896/0.3426, allocations: 1.286 MB / 0.5136 GB, free: 93.53 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001164/0.3427, allocations: 244.6 kB / 0.5138 GB, free: 93.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002088/0.3448, allocations: 236 kB / 0.5141 GB, free: 93.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002477/0.3451, allocations: 313.3 kB / 0.5144 GB, free: 92.79 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.001155/0.3462, allocations: 0.6415 MB / 0.515 GB, free: 92.14 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003607/0.3466, allocations: 349.9 kB / 0.5153 GB, free: 91.8 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001338/0.3479, allocations: 1.177 MB / 0.5165 GB, free: 90.8 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-05/0.348, allocations: 20 kB / 0.5165 GB, free: 90.79 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/0.348, allocations: 4 kB / 0.5165 GB, free: 90.78 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.758e-06/0.348, allocations: 7.5 kB / 0.5165 GB, free: 90.78 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006886/0.3549, allocations: 5.639 MB / 0.522 GB, free: 85.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.026e-05/0.3549, allocations: 9 kB / 0.522 GB, free: 85.74 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000607/0.3555, allocations: 252.2 kB / 0.5223 GB, free: 85.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001704/0.3556, allocations: 72.34 kB / 0.5223 GB, free: 85.45 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.851e-05/0.3557, allocations: 45.95 kB / 0.5224 GB, free: 85.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.028e-05/0.3557, allocations: 24.05 kB / 0.5224 GB, free: 85.39 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/0.3557, allocations: 18.56 kB / 0.5224 GB, free: 85.38 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00179/0.3575, allocations: 2.016 MB / 0.5244 GB, free: 83.25 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004107/0.3579, allocations: 277.9 kB / 0.5247 GB, free: 82.98 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000207/0.3581, allocations: 35.98 kB / 0.5247 GB, free: 82.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005036/0.3586, allocations: 39.98 kB / 0.5247 GB, free: 82.91 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001177/0.3588, allocations: 128.6 kB / 0.5248 GB, free: 82.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-05/0.3588, allocations: 52 kB / 0.5249 GB, free: 82.73 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008074/0.3596, allocations: 1.223 MB / 0.5261 GB, free: 81.51 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3596, allocations: 0 / 0.5261 GB, free: 81.51 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002748/0.3624, allocations: 0.9999 MB / 0.5271 GB, free: 80.51 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.0002865/0.3627, allocations: 202 kB / 0.5273 GB, free: 80.31 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002536/0.3652, allocations: 2.563 MB / 0.5298 GB, free: 77.77 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.3652, allocations: 8.062 kB / 0.5298 GB, free: 77.76 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005394/0.3657, allocations: 0.5781 MB / 0.5303 GB, free: 77.17 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001014/0.3668, allocations: 359.8 kB / 0.5307 GB, free: 76.84 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008385/0.3751, allocations: 8.666 MB / 0.5391 GB, free: 67.96 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001013/0.3762, allocations: 1.409 MB / 0.5405 GB, free: 66.52 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001157/0.3773, allocations: 492.9 kB / 0.541 GB, free: 66.05 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006413/0.378, allocations: 0.545 MB / 0.5415 GB, free: 65.5 MB / 410.7 MB Notification: Performance of SimCode: time 1.663e-06/0.378, allocations: 0 / 0.5415 GB, free: 65.5 MB / 410.7 MB Notification: Performance of Templates: time 0.0399/0.4179, allocations: 26.91 MB / 0.5678 GB, free: 39.04 MB / 410.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.318991642910987]