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.001845/0.001845, allocations: 123.4 kB / 17.79 MB, free: 5.266 MB / 14.72 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.002269/0.002269, allocations: 200.3 kB / 20.74 MB, free: 2.32 MB / 14.72 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.545/1.545, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] 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.2474/0.2474, allocations: 46.93 MB / 357.1 MB, free: 10.32 MB / 286.1 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 0.002066/0.002066, allocations: 67.91 kB / 0.4914 GB, free: 7.461 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.15/0.152, allocations: 65.99 MB / 0.5558 GB, free: 5.348 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.01949/0.1715, allocations: 15.02 MB / 0.5705 GB, free: 6.258 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01057/0.1821, allocations: 4.45 MB / 0.5749 GB, free: 1.789 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002209/0.1843, allocations: 91.62 kB / 0.575 GB, free: 1.699 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004488/0.1888, allocations: 2.242 MB / 0.5771 GB, free: 15.45 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004925/0.1937, allocations: 2.039 MB / 0.5791 GB, free: 13.4 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001615/0.1953, allocations: 0.6199 MB / 0.5797 GB, free: 12.78 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.006339/0.2017, allocations: 4.307 MB / 0.5839 GB, free: 8.465 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004005/0.2057, allocations: 2.713 MB / 0.5866 GB, free: 5.703 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002851/0.2085, allocations: 1.627 MB / 0.5882 GB, free: 4.07 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004068/0.2126, allocations: 2.422 MB / 0.5905 GB, free: 1.641 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001124/0.2137, allocations: 344 kB / 0.5909 GB, free: 1.305 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002507/0.2162, allocations: 1.065 MB / 0.5919 GB, free: 244 kB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.3363/0.5525, allocations: 2.002 MB / 0.5939 GB, free: 10.05 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003448/0.556, allocations: 2.374 MB / 0.5962 GB, free: 9.254 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01421/0.5702, allocations: 7.77 MB / 0.6038 GB, free: 8.008 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.488e-06/0.5702, allocations: 0 / 0.6038 GB, free: 8.008 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.306e-06/0.5702, allocations: 1.594 kB / 0.6038 GB, free: 8.008 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003202/0.5705, allocations: 0 / 0.6038 GB, free: 8.008 MB / 446.1 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.01607/0.5866, allocations: 5.197 MB / 0.6089 GB, free: 5.824 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.964e-05/0.5866, allocations: 11.06 kB / 0.6089 GB, free: 5.824 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01219/0.5988, allocations: 3.216 MB / 0.612 GB, free: 5.477 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006774/0.6056, allocations: 2.389 MB / 0.6143 GB, free: 4.891 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002511/0.6059, allocations: 250.5 kB / 0.6146 GB, free: 4.883 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001321/0.6072, allocations: 324.7 kB / 0.6149 GB, free: 4.883 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02363/0.6308, allocations: 12.24 MB / 0.6268 GB, free: 15.72 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001407/0.631, allocations: 33.58 kB / 0.6269 GB, free: 15.72 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006205/0.6316, allocations: 154.9 kB / 0.627 GB, free: 15.66 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005043/0.6366, allocations: 2.845 MB / 0.6298 GB, free: 14.55 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02659/0.6632, allocations: 11.13 MB / 0.6407 GB, free: 6.559 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0737/0.7369, allocations: 40.61 MB / 0.6803 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01107/0.748, allocations: 4.51 MB / 0.6847 GB, free: 8.844 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003923/0.7519, allocations: 2.248 MB / 0.6869 GB, free: 6.598 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001423/0.7533, allocations: 1.317 MB / 0.6882 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.93e-05/0.7534, allocations: 59.83 kB / 0.6883 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=249): time 5.38e-06/0.7534, allocations: 4 kB / 0.6883 GB, free: 5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=267): time 0.05044/0.8038, allocations: 18.74 MB / 0.7066 GB, free: 2.156 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.838e-05/0.8039, allocations: 84.69 kB / 0.7067 GB, free: 2.062 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007047/0.8109, allocations: 3.174 MB / 0.7098 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001217/0.8122, allocations: 60.05 kB / 0.7098 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003383/0.8155, allocations: 3.241 MB / 0.713 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001837/0.8174, allocations: 1.016 MB / 0.714 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002285/0.8197, allocations: 1.193 MB / 0.7151 GB, free: 9.383 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001756/0.8198, allocations: 305.1 kB / 0.7154 GB, free: 9.082 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004383/0.8242, allocations: 2.463 MB / 0.7178 GB, free: 6.613 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008069/0.8323, allocations: 5.736 MB / 0.7234 GB, free: 15.32 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01718/0.8495, allocations: 8.988 MB / 0.7322 GB, free: 5.215 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001105/0.8496, allocations: 32 kB / 0.7322 GB, free: 5.184 MB / 0.545 GB Notification: Performance of matching and sorting (n=791) (initialization): time 0.01968/0.8693, allocations: 9.007 MB / 0.741 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.889e-05/0.8693, allocations: 61.81 kB / 0.7411 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002828/0.8696, allocations: 112 kB / 0.7412 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003558/0.8732, allocations: 1.051 MB / 0.7422 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00507/0.8783, allocations: 1.349 MB / 0.7435 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008403/0.8867, allocations: 5.546 MB / 0.749 GB, free: 4.355 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004813/0.8915, allocations: 315.8 kB / 0.7493 GB, free: 4.047 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008538/0.8923, allocations: 344 kB / 0.7496 GB, free: 3.711 MB / 0.5606 GB 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.005481/0.8978, allocations: 2.418 MB / 0.7519 GB, free: 1.285 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006921/0.8985, allocations: 325.8 kB / 0.7523 GB, free: 0.9648 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01075/0.9092, allocations: 5.363 MB / 0.7575 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.305e-05/0.9093, allocations: 47.98 kB / 0.7575 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.276e-05/0.9093, allocations: 7.75 kB / 0.7575 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-05/0.9094, allocations: 7.969 kB / 0.7576 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02678/0.9361, allocations: 13.02 MB / 0.7703 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.069e-05/0.9362, allocations: 15.94 kB / 0.7703 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002082/0.9383, allocations: 427.3 kB / 0.7707 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003204/0.9415, allocations: 0.887 MB / 0.7716 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003506/0.9418, allocations: 48 kB / 0.7716 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007182/0.949, allocations: 4.839 MB / 0.7763 GB, free: 7.941 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.267e-05/0.949, allocations: 23.88 kB / 0.7764 GB, free: 7.918 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01439/0.9634, allocations: 8.03 MB / 0.7842 GB, free: 15.67 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001218/0.9646, allocations: 374.9 kB / 0.7845 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004681/0.9651, allocations: 53.95 kB / 0.7846 GB, free: 15.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001469/0.9666, allocations: 151.8 kB / 0.7847 GB, free: 15.09 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004357/0.967, allocations: 168.7 kB / 0.7849 GB, free: 14.92 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000215/0.9672, allocations: 79.98 kB / 0.785 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.003775/0.971, allocations: 1.956 MB / 0.7869 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of sort global known variables: time 6e-08/0.971, allocations: 0 / 0.7869 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.006144/0.9771, allocations: 1.055 MB / 0.7879 GB, free: 11.84 MB / 0.6075 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 () * 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.0006557/0.9778, allocations: 212 kB / 0.7881 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01104/0.9888, allocations: 5.78 MB / 0.7938 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.728e-05/0.9888, allocations: 1.812 kB / 0.7938 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.003708/0.9925, allocations: 2.104 MB / 0.7958 GB, free: 3.738 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002954/0.9955, allocations: 448.8 kB / 0.7963 GB, free: 3.309 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02649/1.022, allocations: 11.41 MB / 0.8074 GB, free: 7.742 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005861/1.028, allocations: 3.705 MB / 0.811 GB, free: 4.008 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.005667/1.034, allocations: 2.155 MB / 0.8131 GB, free: 1.844 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008818/1.034, allocations: 235.3 kB / 0.8133 GB, free: 1.613 MB / 0.6231 GB Notification: Performance of SimCode: time 1.283e-06/1.034, allocations: 4 kB / 0.8133 GB, free: 1.609 MB / 0.6231 GB Notification: Performance of Templates: time 0.4124/1.447, allocations: 35.09 MB / 0.8476 GB, free: 216.7 MB / 0.6387 GB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Planar.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Planar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.788844883441925]