Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Joints.Planar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009872/0.0009872, allocations: 198.2 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.202/1.202, allocations: 227.2 MB / 245 MB, free: 5.742 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007994/0.0007994, allocations: 101.9 kB / 297.3 MB, free: 5.922 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3042/0.3042, allocations: 45.22 MB / 394.7 MB, free: 31.64 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002826/0.0002825, allocations: 8 kB / 468.4 MB, free: 7.672 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2808/0.2811, allocations: 63.24 MB / 0.5192 GB, free: 37.36 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1283/0.4094, allocations: 108.7 MB / 0.6253 GB, free: 10.71 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002206/0.4096, allocations: 79.95 kB / 0.6254 GB, free: 10.63 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4947/0.9043, allocations: 116.4 MB / 0.7391 GB, free: 97.66 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.9044, allocations: 0 / 0.7391 GB, free: 97.66 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001698/0.9046, allocations: 85.72 kB / 0.7392 GB, free: 97.66 MB / 490.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.01198/0.9165, allocations: 4.58 MB / 0.7436 GB, free: 94.59 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.9166, allocations: 10.44 kB / 0.7436 GB, free: 94.59 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01421/0.9308, allocations: 3.612 MB / 0.7472 GB, free: 92.91 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01107/0.9419, allocations: 4.113 MB / 0.7512 GB, free: 90.61 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000304/0.9422, allocations: 356.6 kB / 0.7515 GB, free: 90.48 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002326/0.9446, allocations: 487.3 kB / 0.752 GB, free: 90.35 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02176/0.9664, allocations: 11.83 MB / 0.7635 GB, free: 79.54 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002042/0.9666, allocations: 39.64 kB / 0.7636 GB, free: 79.5 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001627/0.9682, allocations: 215.9 kB / 0.7638 GB, free: 79.29 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001499/0.9697, allocations: 1.326 MB / 0.7651 GB, free: 77.96 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01777/0.9875, allocations: 11.15 MB / 0.776 GB, free: 66.8 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05091/1.038, allocations: 41.15 MB / 0.8162 GB, free: 24.61 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008911/1.047, allocations: 4.714 MB / 0.8208 GB, free: 19.67 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009868/1.048, allocations: 1.315 MB / 0.822 GB, free: 18.13 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.468e-05/1.048, allocations: 56.56 kB / 0.8221 GB, free: 18.07 MB / 490.7 MB Notification: Performance of pre-optimization done (n=249): time 5.27e-06/1.048, allocations: 0 / 0.8221 GB, free: 18.07 MB / 490.7 MB Notification: Performance of matching and sorting (n=267): time 0.03475/1.083, allocations: 18.97 MB / 0.8406 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.439e-05/1.083, allocations: 73.41 kB / 0.8407 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003867/1.087, allocations: 2.821 MB / 0.8434 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002095/1.087, allocations: 65.69 kB / 0.8435 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00173/1.089, allocations: 3.122 MB / 0.8466 GB, free: 8.691 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007967/1.09, allocations: 0.9674 MB / 0.8475 GB, free: 7.711 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002414/1.09, allocations: 116 kB / 0.8476 GB, free: 7.598 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003338/1.091, allocations: 0.5621 MB / 0.8482 GB, free: 7.027 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003137/1.094, allocations: 2.424 MB / 0.8505 GB, free: 4.598 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004933/1.099, allocations: 5.669 MB / 0.8561 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004467/1.103, allocations: 3.716 MB / 0.8597 GB, free: 9.598 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.286e-05/1.103, allocations: 32 kB / 0.8597 GB, free: 9.566 MB / 0.5105 GB Notification: Performance of matching and sorting (n=786) (initialization): time 0.01471/1.118, allocations: 8.921 MB / 0.8684 GB, free: 0.625 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.283e-05/1.118, allocations: 52 kB / 0.8685 GB, free: 0.5742 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001297/1.118, allocations: 112 kB / 0.8686 GB, free: 476 kB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003049/1.121, allocations: 1.067 MB / 0.8696 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004749/1.126, allocations: 1.341 MB / 0.8709 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00676/1.133, allocations: 5.222 MB / 0.876 GB, free: 8.699 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004204/1.137, allocations: 327.7 kB / 0.8764 GB, free: 8.379 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008273/1.138, allocations: 340 kB / 0.8767 GB, free: 8.047 MB / 0.5261 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 () * Number of clocked 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.004537/1.142, allocations: 2.397 MB / 0.879 GB, free: 5.637 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004892/1.143, allocations: 311.9 kB / 0.8793 GB, free: 5.328 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2396/1.382, allocations: 5.343 MB / 0.8845 GB, free: 130.1 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.593e-05/1.383, allocations: 47.44 kB / 0.8846 GB, free: 130.1 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.308e-06/1.383, allocations: 3.031 kB / 0.8846 GB, free: 130.1 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.066e-05/1.383, allocations: 11.27 kB / 0.8846 GB, free: 130.1 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02025/1.403, allocations: 13.06 MB / 0.8973 GB, free: 129.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-05/1.403, allocations: 12.12 kB / 0.8974 GB, free: 129.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001624/1.405, allocations: 423.6 kB / 0.8978 GB, free: 129.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002442/1.407, allocations: 0.8841 MB / 0.8986 GB, free: 129.2 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001836/1.407, allocations: 58.11 kB / 0.8987 GB, free: 129.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005115/1.412, allocations: 4.575 MB / 0.9032 GB, free: 127.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.239e-05/1.412, allocations: 16.41 kB / 0.9032 GB, free: 127.9 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01103/1.423, allocations: 9.012 MB / 0.912 GB, free: 125.8 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001018/1.424, allocations: 367.5 kB / 0.9123 GB, free: 125.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003864/1.425, allocations: 51.84 kB / 0.9124 GB, free: 125.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001223/1.426, allocations: 144.7 kB / 0.9125 GB, free: 125.7 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003298/1.426, allocations: 172.5 kB / 0.9127 GB, free: 125.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001827/1.427, allocations: 77.41 kB / 0.9127 GB, free: 125.6 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.003099/1.43, allocations: 1.934 MB / 0.9146 GB, free: 125 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.262e-06/1.43, allocations: 0 / 0.9146 GB, free: 125 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004575/1.434, allocations: 1.093 MB / 0.9157 GB, free: 124.9 MB / 0.5261 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 (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.0004621/1.435, allocations: 205.1 kB / 0.9159 GB, free: 124.7 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.007514/1.442, allocations: 5.939 MB / 0.9217 GB, free: 123.1 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.091e-06/1.442, allocations: 3.438 kB / 0.9217 GB, free: 123.1 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002537/1.445, allocations: 2.25 MB / 0.9239 GB, free: 122.2 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00186/1.447, allocations: 398.5 kB / 0.9243 GB, free: 122.1 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01765/1.464, allocations: 13.4 MB / 0.9374 GB, free: 115.4 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003247/1.468, allocations: 3.808 MB / 0.9411 GB, free: 114 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.004204/1.472, allocations: 2.157 MB / 0.9432 GB, free: 113.9 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000615/1.473, allocations: 234.8 kB / 0.9434 GB, free: 113.9 MB / 0.5261 GB Notification: Performance of SimCode: time 7.01e-07/1.473, allocations: 0 / 0.9434 GB, free: 113.9 MB / 0.5261 GB Notification: Performance of Templates: time 0.0511/1.524, allocations: 34.78 MB / 0.9774 GB, free: 98.68 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Joints.Planar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches