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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.Planar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 180.5 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.228/1.228, allocations: 221.4 MB / 236 MB, free: 2.926 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008852/0.0008852, allocations: 99.97 kB / 287 MB, free: 204 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1813/0.1813, allocations: 44.15 MB / 382 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.47e-05/2.473e-05, allocations: 224 / 451.8 MB, free: 9.461 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1173, allocations: 61.91 MB / 0.5017 GB, free: 11.48 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3668/0.4841, allocations: 107.7 MB / 0.6069 GB, free: 13.65 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002351/0.4844, allocations: 79.95 kB / 0.6069 GB, free: 13.57 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5056/0.99, allocations: 115.7 MB / 0.72 GB, free: 122.4 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.104e-06/0.9901, allocations: 1.156 kB / 0.72 GB, free: 122.4 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001892/0.9903, allocations: 87.91 kB / 0.72 GB, free: 122.4 MB / 0.5105 GB 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.01294/1.003, allocations: 4.312 MB / 0.7243 GB, free: 120.7 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/1.003, allocations: 13 kB / 0.7243 GB, free: 120.7 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01623/1.02, allocations: 3.619 MB / 0.7278 GB, free: 120.4 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01116/1.031, allocations: 4.609 MB / 0.7323 GB, free: 119.8 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000316/1.031, allocations: 361.2 kB / 0.7326 GB, free: 119.8 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001907/1.033, allocations: 483 kB / 0.7331 GB, free: 119.8 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01921/1.052, allocations: 11.74 MB / 0.7446 GB, free: 118.3 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001202/1.052, allocations: 40.53 kB / 0.7446 GB, free: 118.3 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006195/1.053, allocations: 214.5 kB / 0.7448 GB, free: 118.3 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001263/1.054, allocations: 1.321 MB / 0.7461 GB, free: 118.2 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01815/1.072, allocations: 10.99 MB / 0.7568 GB, free: 118.2 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0472/1.12, allocations: 41.15 MB / 0.797 GB, free: 93.53 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007766/1.127, allocations: 4.668 MB / 0.8016 GB, free: 91.32 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002342/1.13, allocations: 2.411 MB / 0.8039 GB, free: 90.39 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008179/1.131, allocations: 1.321 MB / 0.8052 GB, free: 89.2 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.223e-05/1.131, allocations: 56.33 kB / 0.8053 GB, free: 89.15 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=249): time 4.458e-06/1.131, allocations: 0 / 0.8053 GB, free: 89.15 MB / 0.5105 GB Notification: Performance of matching and sorting (n=267): time 0.02914/1.16, allocations: 15.5 MB / 0.8204 GB, free: 77.49 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.508e-05/1.16, allocations: 73.41 kB / 0.8205 GB, free: 77.41 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00351/1.163, allocations: 2.799 MB / 0.8232 GB, free: 74.93 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003215/1.164, allocations: 61.7 kB / 0.8233 GB, free: 74.86 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.00118/1.165, allocations: 3.118 MB / 0.8263 GB, free: 72.08 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007291/1.166, allocations: 0.9754 MB / 0.8273 GB, free: 71.22 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002123/1.166, allocations: 116 kB / 0.8274 GB, free: 71.11 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002332/1.166, allocations: 0.557 MB / 0.8279 GB, free: 70.61 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002625/1.169, allocations: 2.384 MB / 0.8302 GB, free: 68.47 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003665/1.172, allocations: 5.629 MB / 0.8357 GB, free: 61.58 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00395/1.176, allocations: 3.707 MB / 0.8394 GB, free: 58.43 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.096e-05/1.177, allocations: 35.95 kB / 0.8394 GB, free: 58.39 MB / 0.5105 GB Notification: Performance of matching and sorting (n=786) (initialization): time 0.01195/1.188, allocations: 8.83 MB / 0.848 GB, free: 50.8 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 5.606e-05/1.189, allocations: 52 kB / 0.8481 GB, free: 50.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.143e-05/1.189, allocations: 116 kB / 0.8482 GB, free: 50.64 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002702/1.191, allocations: 1.064 MB / 0.8492 GB, free: 49.91 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003502/1.195, allocations: 1.338 MB / 0.8505 GB, free: 48.74 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005462/1.2, allocations: 5.065 MB / 0.8555 GB, free: 44.28 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003481/1.204, allocations: 329.9 kB / 0.8558 GB, free: 44.01 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004707/1.204, allocations: 343.3 kB / 0.8561 GB, free: 43.68 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 518 * Number of states: 0 () * Number of discrete variables: 46 (axis1.arrowLine.twoHeadedArrow,axis1.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.arrowLine.twoHeadedArrow,axis2.headAtOrigin,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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (724): * Single equations (assignments): 717 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007188/1.205, allocations: 0.534 MB / 0.8566 GB, free: 43.14 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003361/1.205, allocations: 319.7 kB / 0.8569 GB, free: 42.83 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007565/1.213, allocations: 5.303 MB / 0.8621 GB, free: 38.49 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.68e-05/1.213, allocations: 43.75 kB / 0.8622 GB, free: 38.45 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.033e-05/1.213, allocations: 3.625 kB / 0.8622 GB, free: 38.45 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.923e-05/1.213, allocations: 11.36 kB / 0.8622 GB, free: 38.45 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01836/1.231, allocations: 13.04 MB / 0.8749 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.749e-05/1.232, allocations: 12 kB / 0.8749 GB, free: 25.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001643/1.233, allocations: 424.1 kB / 0.8753 GB, free: 24.99 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002505/1.236, allocations: 0.8901 MB / 0.8762 GB, free: 24.09 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001995/1.236, allocations: 55.98 kB / 0.8763 GB, free: 24.04 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005044/1.241, allocations: 4.418 MB / 0.8806 GB, free: 19.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.211e-05/1.241, allocations: 15.94 kB / 0.8806 GB, free: 19.48 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01048/1.251, allocations: 8.957 MB / 0.8893 GB, free: 9.945 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000914/1.252, allocations: 377 kB / 0.8897 GB, free: 9.555 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004237/1.253, allocations: 51.66 kB / 0.8897 GB, free: 9.508 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001315/1.254, allocations: 143.8 kB / 0.8899 GB, free: 9.367 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003195/1.255, allocations: 169.5 kB / 0.89 GB, free: 9.199 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001531/1.255, allocations: 79.98 kB / 0.8901 GB, free: 9.121 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002495/1.257, allocations: 1.907 MB / 0.892 GB, free: 7.215 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.4e-07/1.257, allocations: 0 / 0.892 GB, free: 7.215 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004314/1.262, allocations: 1.093 MB / 0.893 GB, free: 6.125 MB / 0.5105 GB 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004682/1.262, allocations: 198.3 kB / 0.8932 GB, free: 5.926 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.006929/1.269, allocations: 5.864 MB / 0.899 GB, free: 72 kB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.738e-06/1.269, allocations: 3.938 kB / 0.899 GB, free: 68 kB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003008/1.272, allocations: 2.227 MB / 0.9011 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001955/1.274, allocations: 410.6 kB / 0.9015 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01688/1.291, allocations: 9.515 MB / 0.9108 GB, free: 3.785 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.257/1.548, allocations: 3.805 MB / 0.9145 GB, free: 119.7 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0065/1.555, allocations: 2.154 MB / 0.9166 GB, free: 119.7 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000993/1.556, allocations: 236 kB / 0.9169 GB, free: 119.7 MB / 0.5261 GB Notification: Performance of SimCode: time 8.22e-07/1.556, allocations: 0 / 0.9169 GB, free: 119.7 MB / 0.5261 GB Notification: Performance of Templates: time 0.06505/1.621, allocations: 34.78 MB / 0.9508 GB, free: 118.6 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar.makefile (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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar.pipe 2>&1) 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","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches