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.001297/0.001297, 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.001408/0.001408, allocations: 167.6 kB / 25.61 MB, free: 8.902 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.9093/0.9093, allocations: 177.1 MB / 206 MB, free: 4.5 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.1385/0.1385, allocations: 34.26 MB / 296.9 MB, free: 13.95 MB / 282.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.393e-06/1.393e-06, allocations: 0 / 379.3 MB, free: 23.45 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.271e-05/1.411e-05, allocations: 17.42 kB / 379.3 MB, free: 23.43 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.008279/0.008293, allocations: 14.01 MB / 393.3 MB, free: 9.352 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.006252/0.01455, allocations: 4.312 MB / 397.6 MB, free: 5.027 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00114/0.01568, allocations: 95.62 kB / 397.7 MB, free: 4.934 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001982/0.01767, allocations: 2.343 MB / 400.1 MB, free: 2.582 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002325/0.01999, allocations: 2.135 MB / 402.2 MB, free: 448 kB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008026/0.02079, allocations: 0.6665 MB / 402.9 MB, free: 15.77 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003269/0.02406, allocations: 4.676 MB / 407.5 MB, free: 11.09 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002323/0.02639, allocations: 3.024 MB / 410.6 MB, free: 8.004 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002232/0.02862, allocations: 2.561 MB / 413.1 MB, free: 5.438 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002145/0.03076, allocations: 2.307 MB / 415.4 MB, free: 3.125 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000439/0.0312, allocations: 332 kB / 415.8 MB, free: 2.801 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001133/0.03233, allocations: 0.9907 MB / 416.7 MB, free: 1.809 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001235/0.03357, allocations: 2.076 MB / 418.8 MB, free: 15.73 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001118/0.03469, allocations: 1.289 MB / 420.1 MB, free: 14.43 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003569/0.03826, allocations: 4.899 MB / 425 MB, free: 9.516 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.03826, allocations: 4 kB / 425 MB, free: 9.512 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.03826, allocations: 0 / 425 MB, free: 9.512 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.401e-05/0.03833, allocations: 0 / 425 MB, free: 9.512 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.00495/0.04328, allocations: 5.413 MB / 430.4 MB, free: 4.027 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.04331, allocations: 8.031 kB / 430.4 MB, free: 4.02 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004607/0.04792, allocations: 2.019 MB / 432.4 MB, free: 1.996 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001987/0.04991, allocations: 1.966 MB / 434.4 MB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001175/0.05003, allocations: 250.6 kB / 434.7 MB, free: 15.74 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000364/0.05039, allocations: 328.1 kB / 435 MB, free: 15.42 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005695/0.05608, allocations: 5.757 MB / 440.7 MB, free: 8.953 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.304e-05/0.05615, allocations: 31.7 kB / 440.8 MB, free: 8.922 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002727/0.05642, allocations: 159.8 kB / 440.9 MB, free: 8.766 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002046/0.05847, allocations: 2.454 MB / 443.4 MB, free: 6.309 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004692/0.06316, allocations: 2.913 MB / 446.3 MB, free: 3.371 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02716/0.09032, allocations: 40.1 MB / 486.4 MB, free: 9.98 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003101/0.09342, allocations: 1.528 MB / 487.9 MB, free: 8.441 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005277/0.09395, allocations: 465.3 kB / 488.4 MB, free: 7.988 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005374/0.09932, allocations: 4.126 MB / 492.5 MB, free: 3.832 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.996e-05/0.09935, allocations: 58.69 kB / 492.6 MB, free: 3.766 MB / 410.7 MB Notification: Performance of pre-optimization done (n=185): time 2.885e-06/0.09935, allocations: 0 / 492.6 MB, free: 3.766 MB / 410.7 MB Notification: Performance of matching and sorting (n=198): time 0.1648/0.2642, allocations: 6.266 MB / 498.8 MB, free: 111 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.978e-05/0.2642, allocations: 70.56 kB / 498.9 MB, free: 111 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002699/0.2669, allocations: 3.141 MB / 0.4903 GB, free: 110.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.327e-05/0.267, allocations: 46.67 kB / 0.4903 GB, free: 110.5 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001188/0.2682, allocations: 3.628 MB / 0.4938 GB, free: 108.6 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003801/0.2685, allocations: 0.8154 MB / 0.4946 GB, free: 108.1 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009163/0.2695, allocations: 1.308 MB / 0.4959 GB, free: 108 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.679e-05/0.2695, allocations: 482.7 kB / 0.4964 GB, free: 107.5 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008296/0.2703, allocations: 0.5719 MB / 0.4969 GB, free: 107.5 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002215/0.2725, allocations: 5.768 MB / 0.5026 GB, free: 100.8 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003265/0.2758, allocations: 6.95 MB / 0.5094 GB, free: 93.93 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.624e-05/0.2758, allocations: 35.28 kB / 0.5094 GB, free: 93.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=786) (initialization): time 0.00424/0.2801, allocations: 4.655 MB / 0.5139 GB, free: 91.56 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.685e-05/0.2801, allocations: 60.25 kB / 0.514 GB, free: 91.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.695e-05/0.2802, allocations: 124 kB / 0.5141 GB, free: 91.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002257/0.2804, allocations: 221.9 kB / 0.5143 GB, free: 91.17 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001802/0.2822, allocations: 1.287 MB / 0.5156 GB, free: 90.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.774e-05/0.2823, allocations: 241.4 kB / 0.5158 GB, free: 89.81 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001751/0.2841, allocations: 232 kB / 0.516 GB, free: 89.58 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002176/0.2843, allocations: 319.3 kB / 0.5163 GB, free: 89.28 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.0009475/0.2852, allocations: 0.6322 MB / 0.517 GB, free: 88.64 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002454/0.2855, allocations: 353.4 kB / 0.5173 GB, free: 88.29 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001098/0.2866, allocations: 1.182 MB / 0.5184 GB, free: 87.29 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.73e-05/0.2866, allocations: 23.12 kB / 0.5185 GB, free: 87.27 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.2866, allocations: 4 kB / 0.5185 GB, free: 87.27 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.808e-06/0.2866, allocations: 10.77 kB / 0.5185 GB, free: 87.27 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005285/0.2919, allocations: 5.638 MB / 0.524 GB, free: 82.22 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/0.2919, allocations: 12.06 kB / 0.524 GB, free: 82.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005487/0.2925, allocations: 249.9 kB / 0.5242 GB, free: 81.99 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001421/0.2926, allocations: 76.05 kB / 0.5243 GB, free: 81.92 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.067e-05/0.2927, allocations: 40 kB / 0.5244 GB, free: 81.88 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.868e-06/0.2927, allocations: 27.39 kB / 0.5244 GB, free: 81.86 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/0.2927, allocations: 11.94 kB / 0.5244 GB, free: 81.85 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001561/0.2942, allocations: 2.01 MB / 0.5264 GB, free: 79.76 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002186/0.2945, allocations: 278 kB / 0.5266 GB, free: 79.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001952/0.2946, allocations: 34.02 kB / 0.5266 GB, free: 79.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004623/0.2951, allocations: 43.94 kB / 0.5267 GB, free: 79.42 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001229/0.2952, allocations: 130.4 kB / 0.5268 GB, free: 79.33 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.948e-05/0.2953, allocations: 59.97 kB / 0.5269 GB, free: 79.27 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007595/0.2961, allocations: 1.22 MB / 0.5281 GB, free: 78.05 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2961, allocations: 0 / 0.5281 GB, free: 78.05 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002169/0.2982, allocations: 0.996 MB / 0.529 GB, free: 77.05 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.0002693/0.2985, allocations: 185.1 kB / 0.5292 GB, free: 76.87 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002032/0.3005, allocations: 2.57 MB / 0.5317 GB, free: 74.31 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.3005, allocations: 4 kB / 0.5317 GB, free: 74.31 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005165/0.301, allocations: 0.5861 MB / 0.5323 GB, free: 73.72 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000968/0.302, allocations: 364 kB / 0.5326 GB, free: 73.38 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007199/0.3092, allocations: 8.664 MB / 0.5411 GB, free: 64.5 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008857/0.3101, allocations: 1.408 MB / 0.5425 GB, free: 63.06 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0008913/0.311, allocations: 487 kB / 0.5429 GB, free: 62.58 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005998/0.3116, allocations: 0.5411 MB / 0.5435 GB, free: 62.04 MB / 410.7 MB Notification: Performance of SimCode: time 5.51e-07/0.3116, allocations: 4 kB / 0.5435 GB, free: 62.04 MB / 410.7 MB Notification: Performance of Templates: time 0.03769/0.3493, allocations: 26.92 MB / 0.5698 GB, free: 35.57 MB / 410.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.168395940680057]