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) 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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001218/0.001218, allocations: 112.4 kB / 16.41 MB, free: 6.488 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001261/0.001261, allocations: 187.5 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.487/1.487, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.235/0.235, allocations: 43.53 MB / 314.1 MB, free: 472 kB / 254.1 MB 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.001385/0.001385, allocations: 59.91 kB / 441.8 MB, free: 5.688 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1468/0.1482, allocations: 57.79 MB / 499.6 MB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.01825/0.1665, allocations: 15.74 MB / 0.5033 GB, free: 12.01 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01209/0.1786, allocations: 4.505 MB / 0.5077 GB, free: 7.492 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003087/0.1818, allocations: 83.81 kB / 0.5077 GB, free: 7.41 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004145/0.1859, allocations: 2.238 MB / 0.5099 GB, free: 5.164 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005993/0.192, allocations: 2.078 MB / 0.512 GB, free: 3.078 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001473/0.1935, allocations: 0.6161 MB / 0.5126 GB, free: 2.461 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005919/0.1995, allocations: 4.467 MB / 0.5169 GB, free: 13.98 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00397/0.2034, allocations: 3.217 MB / 0.5201 GB, free: 10.71 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0027/0.2062, allocations: 1.643 MB / 0.5217 GB, free: 9.062 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002826/0.209, allocations: 2.282 MB / 0.5239 GB, free: 6.773 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006292/0.2096, allocations: 355.9 kB / 0.5242 GB, free: 6.426 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002248/0.2119, allocations: 1.042 MB / 0.5252 GB, free: 5.383 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002292/0.2142, allocations: 2.053 MB / 0.5273 GB, free: 3.324 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002508/0.2167, allocations: 2.493 MB / 0.5297 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.4134/0.6301, allocations: 8.074 MB / 0.5376 GB, free: 10.6 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.516e-06/0.6302, allocations: 1.125 kB / 0.5376 GB, free: 10.6 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.6302, allocations: 0 / 0.5376 GB, free: 10.6 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004812/0.6307, allocations: 0 / 0.5376 GB, free: 10.6 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.02215/0.6529, allocations: 5.407 MB / 0.5429 GB, free: 8.336 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.834e-05/0.653, allocations: 13.11 kB / 0.5429 GB, free: 8.332 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01324/0.6662, allocations: 3.227 MB / 0.546 GB, free: 7.965 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01245/0.6787, allocations: 2.489 MB / 0.5484 GB, free: 7.375 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005303/0.6793, allocations: 262.5 kB / 0.5487 GB, free: 7.367 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002658/0.682, allocations: 345.1 kB / 0.549 GB, free: 7.367 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03082/0.7128, allocations: 12.66 MB / 0.5614 GB, free: 4.105 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001375/0.713, allocations: 32.8 kB / 0.5614 GB, free: 4.102 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005069/0.7135, allocations: 161.5 kB / 0.5616 GB, free: 4.039 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005369/0.7189, allocations: 3.035 MB / 0.5645 GB, free: 2.867 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02657/0.7454, allocations: 11.32 MB / 0.5756 GB, free: 11.99 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09092/0.8364, allocations: 42.18 MB / 0.6168 GB, free: 1.406 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01209/0.8486, allocations: 4.706 MB / 0.6214 GB, free: 12.47 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004679/0.8533, allocations: 2.436 MB / 0.6238 GB, free: 10.03 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001525/0.8549, allocations: 1.325 MB / 0.6251 GB, free: 8.496 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.615e-05/0.855, allocations: 56.44 kB / 0.6251 GB, free: 8.434 MB / 478.1 MB Notification: Performance of pre-optimization done (n=250): time 8.456e-06/0.855, allocations: 0 / 0.6251 GB, free: 8.434 MB / 478.1 MB Notification: Performance of matching and sorting (n=268): time 0.05759/0.9126, allocations: 19.67 MB / 0.6443 GB, free: 4.68 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.173e-05/0.9128, allocations: 102.3 kB / 0.6444 GB, free: 4.562 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008966/0.9217, allocations: 3.272 MB / 0.6476 GB, free: 1.285 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009186/0.9227, allocations: 61.7 kB / 0.6477 GB, free: 1.219 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003844/0.9266, allocations: 3.419 MB / 0.651 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.00245/0.9291, allocations: 1.021 MB / 0.652 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005615/0.9347, allocations: 1.219 MB / 0.6532 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001876/0.9349, allocations: 307.1 kB / 0.6535 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005762/0.9407, allocations: 2.495 MB / 0.6559 GB, free: 8.793 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00914/0.9499, allocations: 5.891 MB / 0.6617 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01507/0.965, allocations: 9.197 MB / 0.6707 GB, free: 6.918 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002054/0.9653, allocations: 32 kB / 0.6707 GB, free: 6.887 MB / 0.5137 GB Notification: Performance of matching and sorting (n=813) (initialization): time 0.02572/0.991, allocations: 9.199 MB / 0.6797 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001965/0.9912, allocations: 55.98 kB / 0.6797 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002548/0.9915, allocations: 120 kB / 0.6798 GB, free: 14 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003744/0.9953, allocations: 1.052 MB / 0.6809 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00649/1.002, allocations: 1.396 MB / 0.6822 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01008/1.012, allocations: 5.557 MB / 0.6877 GB, free: 5.867 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007534/1.02, allocations: 323.8 kB / 0.688 GB, free: 5.551 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002159/1.022, allocations: 358.3 kB / 0.6883 GB, free: 5.203 MB / 0.5294 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.00961/1.031, allocations: 2.489 MB / 0.6907 GB, free: 2.703 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001426/1.033, allocations: 333.9 kB / 0.6911 GB, free: 2.375 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01455/1.047, allocations: 5.384 MB / 0.6963 GB, free: 12.93 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001185/1.048, allocations: 49.83 kB / 0.6964 GB, free: 12.88 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.966e-05/1.048, allocations: 4 kB / 0.6964 GB, free: 12.88 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.733e-05/1.048, allocations: 11.95 kB / 0.6964 GB, free: 12.87 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03681/1.085, allocations: 13.32 MB / 0.7094 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.919e-05/1.085, allocations: 12 kB / 0.7094 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002573/1.087, allocations: 427.8 kB / 0.7098 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003088/1.09, allocations: 0.8967 MB / 0.7107 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005693/1.091, allocations: 51.98 kB / 0.7107 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007123/1.098, allocations: 4.829 MB / 0.7154 GB, free: 9.023 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.905e-05/1.098, allocations: 27.81 kB / 0.7155 GB, free: 8.996 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01439/1.113, allocations: 8.055 MB / 0.7233 GB, free: 0.7227 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002385/1.115, allocations: 0.7486 MB / 0.7241 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001094/1.116, allocations: 48 kB / 0.7241 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00217/1.118, allocations: 159.8 kB / 0.7243 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005032/1.119, allocations: 169.3 kB / 0.7244 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002287/1.119, allocations: 76.11 kB / 0.7245 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.005408/1.124, allocations: 2.018 MB / 0.7265 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of sort global known variables: time 4.81e-07/1.124, allocations: 0 / 0.7265 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.009845/1.134, allocations: 1.113 MB / 0.7276 GB, free: 12.39 MB / 0.5762 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.001078/1.135, allocations: 206.2 kB / 0.7278 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01312/1.149, allocations: 6.128 MB / 0.7337 GB, free: 6.07 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.709e-05/1.149, allocations: 4 kB / 0.7337 GB, free: 6.066 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.004347/1.153, allocations: 2.26 MB / 0.736 GB, free: 3.805 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004494/1.158, allocations: 440.5 kB / 0.7364 GB, free: 3.379 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03309/1.191, allocations: 11.76 MB / 0.7479 GB, free: 7.434 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007342/1.198, allocations: 3.834 MB / 0.7516 GB, free: 3.57 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.005877/1.204, allocations: 2.189 MB / 0.7537 GB, free: 1.371 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007797/1.205, allocations: 239.4 kB / 0.754 GB, free: 1.137 MB / 0.5919 GB Notification: Performance of SimCode: time 1.413e-06/1.205, allocations: 0 / 0.754 GB, free: 1.137 MB / 0.5919 GB Notification: Performance of Templates: time 0.4311/1.636, allocations: 34.91 MB / 0.7881 GB, free: 198.6 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.makefile (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) 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) Reference file matches