Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001627/0.001627, allocations: 107.2 kB / 19.69 MB, free: 2.199 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002191/0.002191, allocations: 188.9 kB / 22.98 MB, free: 5.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.513/1.513, allocations: 207.6 MB / 233.7 MB, free: 10 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2202/0.2202, allocations: 44.23 MB / 330.2 MB, free: 9.562 MB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Joints.Planar") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002308/0.002308, allocations: 78.55 kB / 468 MB, free: 4.027 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1464/0.1487, allocations: 61.03 MB / 0.5166 GB, free: 6.863 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.01971/0.1684, allocations: 15.84 MB / 0.5321 GB, free: 6.941 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01134/0.1797, allocations: 4.537 MB / 0.5365 GB, free: 2.391 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00355/0.1833, allocations: 95.62 kB / 0.5366 GB, free: 2.297 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.305/0.4883, allocations: 2.291 MB / 0.5388 GB, free: 10.27 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007377/0.4957, allocations: 2.143 MB / 0.5409 GB, free: 10.24 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001824/0.4975, allocations: 0.6263 MB / 0.5415 GB, free: 10.22 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.007943/0.5054, allocations: 4.444 MB / 0.5459 GB, free: 10.22 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004664/0.5101, allocations: 2.467 MB / 0.5483 GB, free: 10.08 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005364/0.5155, allocations: 1.704 MB / 0.5499 GB, free: 9.898 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005682/0.5211, allocations: 2.485 MB / 0.5524 GB, free: 9.449 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001445/0.5226, allocations: 348.3 kB / 0.5527 GB, free: 9.449 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003454/0.526, allocations: 1.083 MB / 0.5538 GB, free: 9.297 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003252/0.5293, allocations: 2.11 MB / 0.5558 GB, free: 8.52 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005866/0.5352, allocations: 2.484 MB / 0.5582 GB, free: 6.746 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.015/0.5502, allocations: 8.089 MB / 0.5661 GB, free: 3.145 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.992e-06/0.5502, allocations: 0 / 0.5661 GB, free: 3.145 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.225e-06/0.5502, allocations: 0 / 0.5661 GB, free: 3.145 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004646/0.5506, allocations: 1.031 kB / 0.5661 GB, free: 3.145 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1914 * Number of variables: 1914 Notification: Performance of Generate backend data structure: time 0.02172/0.5723, allocations: 5.343 MB / 0.5714 GB, free: 15.56 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/0.5724, allocations: 10.16 kB / 0.5714 GB, free: 15.56 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01231/0.5847, allocations: 3.225 MB / 0.5745 GB, free: 13.88 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01102/0.5957, allocations: 2.426 MB / 0.5769 GB, free: 12.45 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004366/0.5962, allocations: 260.9 kB / 0.5771 GB, free: 12.38 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002662/0.5988, allocations: 347.4 kB / 0.5775 GB, free: 12.3 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03635/0.6352, allocations: 12.66 MB / 0.5898 GB, free: 3.656 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002918/0.6355, allocations: 35.7 kB / 0.5899 GB, free: 3.621 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002306/0.6378, allocations: 159.8 kB / 0.59 GB, free: 3.516 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006244/0.644, allocations: 3.028 MB / 0.593 GB, free: 0.5 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03036/0.6744, allocations: 11.33 MB / 0.604 GB, free: 5.16 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09068/0.7651, allocations: 41.99 MB / 0.645 GB, free: 10.34 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01251/0.7776, allocations: 3.613 MB / 0.6486 GB, free: 6.715 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004563/0.7821, allocations: 2.26 MB / 0.6508 GB, free: 4.449 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001132/0.7833, allocations: 452.7 kB / 0.6512 GB, free: 4.023 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.478e-05/0.7834, allocations: 60.55 kB / 0.6513 GB, free: 3.953 MB / 494.1 MB Notification: Performance of pre-optimization done (n=250): time 1.452e-05/0.7834, allocations: 0 / 0.6513 GB, free: 3.953 MB / 494.1 MB Notification: Performance of matching and sorting (n=268): time 0.06334/0.8467, allocations: 19.36 MB / 0.6702 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001196/0.8468, allocations: 99.11 kB / 0.6703 GB, free: 436 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00879/0.8556, allocations: 3.271 MB / 0.6735 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0007256/0.8563, allocations: 61.7 kB / 0.6735 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.004313/0.8607, allocations: 3.415 MB / 0.6769 GB, free: 9.676 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001906/0.8626, allocations: 1.033 MB / 0.6779 GB, free: 8.656 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004338/0.8669, allocations: 1.218 MB / 0.6791 GB, free: 7.434 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001583/0.8671, allocations: 309.1 kB / 0.6793 GB, free: 7.129 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005456/0.8725, allocations: 2.491 MB / 0.6818 GB, free: 4.633 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01072/0.8832, allocations: 5.891 MB / 0.6875 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0168/0.9, allocations: 9.195 MB / 0.6965 GB, free: 2.246 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001803/0.9002, allocations: 32 kB / 0.6965 GB, free: 2.215 MB / 0.5294 GB Notification: Performance of matching and sorting (n=813) (initialization): time 0.02652/0.9267, allocations: 9.181 MB / 0.7055 GB, free: 9.027 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001911/0.9269, allocations: 56 kB / 0.7056 GB, free: 8.973 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002754/0.9272, allocations: 116 kB / 0.7057 GB, free: 8.859 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003822/0.931, allocations: 1.06 MB / 0.7067 GB, free: 7.797 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005995/0.937, allocations: 1.397 MB / 0.7081 GB, free: 6.398 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009551/0.9466, allocations: 5.451 MB / 0.7134 GB, free: 0.8398 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005757/0.9523, allocations: 332.5 kB / 0.7137 GB, free: 0.5195 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001656/0.954, allocations: 355.9 kB / 0.7141 GB, free: 176 kB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 539 * Number of states: 0 () * Number of discrete variables: 42 (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 (751): * Single equations (assignments): 744 * 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.008033/0.962, allocations: 2.47 MB / 0.7165 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001107/0.9631, allocations: 337.7 kB / 0.7168 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01264/0.9758, allocations: 5.379 MB / 0.722 GB, free: 7.914 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.011e-05/0.9759, allocations: 51.94 kB / 0.7221 GB, free: 7.863 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.036e-05/0.9759, allocations: 0 / 0.7221 GB, free: 7.863 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.557e-05/0.9759, allocations: 15.95 kB / 0.7221 GB, free: 7.848 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04036/1.016, allocations: 13.29 MB / 0.7351 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.36e-05/1.016, allocations: 12.12 kB / 0.7351 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002414/1.019, allocations: 431.3 kB / 0.7355 GB, free: 9.941 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003077/1.022, allocations: 0.8904 MB / 0.7364 GB, free: 9.047 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006001/1.022, allocations: 48 kB / 0.7364 GB, free: 9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008005/1.03, allocations: 4.725 MB / 0.741 GB, free: 4.16 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.371e-05/1.03, allocations: 27.81 kB / 0.7411 GB, free: 4.133 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01768/1.048, allocations: 8.037 MB / 0.7489 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002975/1.051, allocations: 0.6734 MB / 0.7496 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001628/1.053, allocations: 59.34 kB / 0.7496 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002527/1.055, allocations: 143.8 kB / 0.7498 GB, free: 11 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007233/1.056, allocations: 173.5 kB / 0.7499 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003512/1.056, allocations: 79.98 kB / 0.75 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.006032/1.062, allocations: 2.018 MB / 0.752 GB, free: 8.742 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/1.062, allocations: 4 kB / 0.752 GB, free: 8.738 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.009113/1.072, allocations: 1.111 MB / 0.7531 GB, free: 7.629 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * 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 (209): * Single equations (assignments): 202 * 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.00124/1.073, allocations: 199.6 kB / 0.7533 GB, free: 7.43 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01359/1.086, allocations: 5.871 MB / 0.759 GB, free: 1.562 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.86e-05/1.086, allocations: 4 kB / 0.759 GB, free: 1.559 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.3251/1.411, allocations: 2.097 MB / 0.761 GB, free: 198.6 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003754/1.415, allocations: 444.7 kB / 0.7615 GB, free: 198.6 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0271/1.442, allocations: 11.9 MB / 0.7731 GB, free: 195 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006061/1.448, allocations: 3.83 MB / 0.7768 GB, free: 193.9 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.00618/1.455, allocations: 2.186 MB / 0.779 GB, free: 193.7 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001213/1.456, allocations: 246.8 kB / 0.7792 GB, free: 193.7 MB / 0.5919 GB Notification: Performance of SimCode: time 1.784e-06/1.456, allocations: 0 / 0.7792 GB, free: 193.7 MB / 0.5919 GB Notification: Performance of Templates: time 0.08372/1.539, allocations: 39.61 MB / 0.8179 GB, free: 169.6 MB / 0.5919 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Planar/Planar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 8.009178230538964]