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.001449/0.001449, allocations: 197.2 kB / 18.11 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.514/1.514, allocations: 226.5 MB / 245.4 MB, free: 8.227 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008686/0.0008688, allocations: 98.52 kB / 297.5 MB, free: 6.918 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3944/0.3944, allocations: 44.82 MB / 394.3 MB, free: 35.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002565/0.0002566, allocations: 8 kB / 467.9 MB, free: 12.05 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3534/0.3536, allocations: 62.96 MB / 0.5184 GB, free: 37.41 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1442/0.4979, allocations: 108.6 MB / 0.6245 GB, free: 12.64 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002799/0.4982, allocations: 79.95 kB / 0.6246 GB, free: 12.57 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.561/1.059, allocations: 114.6 MB / 0.7365 GB, free: 97.18 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.23e-06/1.059, allocations: 3.047 kB / 0.7365 GB, free: 97.18 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000293/1.06, allocations: 90.53 kB / 0.7366 GB, free: 97.18 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.01845/1.078, allocations: 4.459 MB / 0.741 GB, free: 94.79 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/1.078, allocations: 8.75 kB / 0.741 GB, free: 94.79 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01537/1.093, allocations: 3.584 MB / 0.7445 GB, free: 94.44 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01316/1.107, allocations: 3.454 MB / 0.7479 GB, free: 92.57 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007417/1.107, allocations: 362.3 kB / 0.7482 GB, free: 92.43 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003668/1.111, allocations: 477 kB / 0.7487 GB, free: 92.31 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03349/1.145, allocations: 11.77 MB / 0.7602 GB, free: 85.09 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005061/1.145, allocations: 31.84 kB / 0.7602 GB, free: 85.05 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003742/1.149, allocations: 224.3 kB / 0.7604 GB, free: 84.87 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002095/1.151, allocations: 1.318 MB / 0.7617 GB, free: 83.55 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02276/1.174, allocations: 11.04 MB / 0.7725 GB, free: 72.5 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05834/1.232, allocations: 41.1 MB / 0.8126 GB, free: 30.45 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008029/1.24, allocations: 4.707 MB / 0.8172 GB, free: 25.51 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00277/1.243, allocations: 2.424 MB / 0.8196 GB, free: 23.09 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008578/1.244, allocations: 1.322 MB / 0.8209 GB, free: 21.55 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.985e-05/1.244, allocations: 56.5 kB / 0.8209 GB, free: 21.48 MB / 490.7 MB Notification: Performance of pre-optimization done (n=249): time 5.5e-06/1.244, allocations: 0 / 0.8209 GB, free: 21.48 MB / 490.7 MB Notification: Performance of matching and sorting (n=267): time 0.03693/1.281, allocations: 18.44 MB / 0.8389 GB, free: 2.891 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.438e-05/1.281, allocations: 77.34 kB / 0.839 GB, free: 2.801 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00495/1.286, allocations: 3.168 MB / 0.8421 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005963/1.287, allocations: 65.61 kB / 0.8422 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002998/1.29, allocations: 3.118 MB / 0.8452 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001682/1.292, allocations: 0.9674 MB / 0.8461 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003147/1.292, allocations: 116 kB / 0.8463 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0004799/1.292, allocations: 0.5621 MB / 0.8468 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003942/1.296, allocations: 2.432 MB / 0.8492 GB, free: 8.289 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006768/1.303, allocations: 5.692 MB / 0.8547 GB, free: 0.9883 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01172/1.315, allocations: 8.927 MB / 0.8635 GB, free: 6.465 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001053/1.315, allocations: 32 kB / 0.8635 GB, free: 6.434 MB / 0.5105 GB Notification: Performance of matching and sorting (n=786) (initialization): time 0.02064/1.336, allocations: 8.926 MB / 0.8722 GB, free: 13.49 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001028/1.336, allocations: 52.22 kB / 0.8723 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001552/1.336, allocations: 120 kB / 0.8724 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003012/1.339, allocations: 1.044 MB / 0.8734 GB, free: 12.28 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005315/1.344, allocations: 1.341 MB / 0.8747 GB, free: 10.93 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007236/1.352, allocations: 5.084 MB / 0.8797 GB, free: 5.715 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005228/1.357, allocations: 315.8 kB / 0.88 GB, free: 5.406 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001596/1.358, allocations: 336 kB / 0.8803 GB, free: 5.078 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.007085/1.366, allocations: 2.413 MB / 0.8826 GB, free: 2.652 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009681/1.367, allocations: 315.8 kB / 0.8829 GB, free: 2.34 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4051/1.772, allocations: 5.334 MB / 0.8882 GB, free: 130.1 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.779e-05/1.772, allocations: 47.34 kB / 0.8882 GB, free: 130.1 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.245e-05/1.772, allocations: 5.906 kB / 0.8882 GB, free: 130.1 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.492e-05/1.772, allocations: 13.08 kB / 0.8882 GB, free: 130.1 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02192/1.794, allocations: 13.05 MB / 0.901 GB, free: 129.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.07e-05/1.794, allocations: 10.5 kB / 0.901 GB, free: 129.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001725/1.796, allocations: 424.1 kB / 0.9014 GB, free: 129.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002578/1.798, allocations: 0.8888 MB / 0.9022 GB, free: 129.1 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003374/1.799, allocations: 55.2 kB / 0.9023 GB, free: 129.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00629/1.805, allocations: 4.429 MB / 0.9066 GB, free: 127.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.598e-05/1.805, allocations: 16.47 kB / 0.9066 GB, free: 127.8 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0135/1.818, allocations: 7.973 MB / 0.9144 GB, free: 126.3 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001313/1.82, allocations: 364.3 kB / 0.9148 GB, free: 126.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006132/1.82, allocations: 51.83 kB / 0.9148 GB, free: 126.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001516/1.822, allocations: 144.8 kB / 0.915 GB, free: 126.1 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005493/1.822, allocations: 175.1 kB / 0.9151 GB, free: 126.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002284/1.823, allocations: 79.8 kB / 0.9152 GB, free: 126.1 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.004721/1.827, allocations: 1.934 MB / 0.9171 GB, free: 125.4 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.61e-07/1.827, allocations: 0 / 0.9171 GB, free: 125.4 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007736/1.835, allocations: 1.096 MB / 0.9182 GB, free: 125.3 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.0009111/1.836, allocations: 204.5 kB / 0.9184 GB, free: 125.2 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.008881/1.845, allocations: 5.939 MB / 0.9242 GB, free: 123.5 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.411e-05/1.845, allocations: 2.719 kB / 0.9242 GB, free: 123.5 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003056/1.848, allocations: 2.25 MB / 0.9264 GB, free: 122.6 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006815/1.855, allocations: 434.9 kB / 0.9268 GB, free: 122.5 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02168/1.877, allocations: 13.42 MB / 0.9399 GB, free: 115.8 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004703/1.881, allocations: 3.714 MB / 0.9435 GB, free: 114.4 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.005547/1.887, allocations: 2.155 MB / 0.9456 GB, free: 114.3 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009067/1.888, allocations: 233.4 kB / 0.9458 GB, free: 114.3 MB / 0.5261 GB Notification: Performance of SimCode: time 1.583e-06/1.888, allocations: 0 / 0.9458 GB, free: 114.3 MB / 0.5261 GB Notification: Performance of Templates: time 0.06666/1.955, allocations: 34.88 MB / 0.9799 GB, free: 97.27 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/jenkins1/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