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.000994/0.0009941, allocations: 202.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.277/1.277, allocations: 225.6 MB / 234.8 MB, free: 3.277 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001019/0.001019, allocations: 93.81 kB / 286.7 MB, free: 5.297 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2017/0.2017, allocations: 45.15 MB / 383.7 MB, free: 284 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.342e-05/1.344e-05, allocations: 4 kB / 453.2 MB, free: 75.82 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.1259, allocations: 63.25 MB / 0.5044 GB, free: 12.62 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4369/0.5628, allocations: 107.9 MB / 0.6098 GB, free: 10.91 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000217/0.5631, allocations: 77.52 kB / 0.6098 GB, free: 10.87 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2855/0.8487, allocations: 114.4 MB / 0.7215 GB, free: 312 kB / 0.4948 GB Notification: Performance of FrontEnd: time 1.312e-06/0.8487, allocations: 0 / 0.7215 GB, free: 312 kB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002722/0.849, allocations: 88 kB / 0.7216 GB, free: 224 kB / 0.4948 GB 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.01393/0.8629, allocations: 4.326 MB / 0.7258 GB, free: 11.82 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/0.863, allocations: 11.97 kB / 0.7258 GB, free: 11.81 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01569/0.8787, allocations: 3.616 MB / 0.7294 GB, free: 8.184 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01187/0.8906, allocations: 4.095 MB / 0.7334 GB, free: 4.039 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003312/0.891, allocations: 152 kB / 0.7335 GB, free: 3.891 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002796/0.8938, allocations: 283.8 kB / 0.7338 GB, free: 3.613 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01667/0.9105, allocations: 8.227 MB / 0.7418 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.314/1.224, allocations: 10.87 MB / 0.7524 GB, free: 128.4 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003346/1.225, allocations: 33.22 kB / 0.7525 GB, free: 128.4 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002347/1.227, allocations: 16.56 kB / 0.7525 GB, free: 128.4 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002386/1.23, allocations: 1.321 MB / 0.7538 GB, free: 128.4 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06117/1.291, allocations: 38.39 MB / 0.7913 GB, free: 113.3 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004441/1.295, allocations: 4.358 MB / 0.7955 GB, free: 112.1 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002531/1.298, allocations: 2.36 MB / 0.7978 GB, free: 112.1 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009533/1.299, allocations: 1.324 MB / 0.7991 GB, free: 111 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.357e-05/1.299, allocations: 57.47 kB / 0.7992 GB, free: 110.9 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=251): time 5.059e-06/1.299, allocations: 0 / 0.7992 GB, free: 110.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=270): time 0.02921/1.328, allocations: 17.98 MB / 0.8167 GB, free: 106.4 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.77e-05/1.328, allocations: 77.28 kB / 0.8168 GB, free: 106.3 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00484/1.333, allocations: 2.576 MB / 0.8193 GB, free: 105.4 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0002376/1.333, allocations: 25.7 kB / 0.8193 GB, free: 105.3 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001838/1.335, allocations: 3.216 MB / 0.8225 GB, free: 103 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009191/1.336, allocations: 0.9567 MB / 0.8234 GB, free: 102.3 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002575/1.336, allocations: 3.125 kB / 0.8234 GB, free: 102.3 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003255/1.337, allocations: 0.5807 MB / 0.824 GB, free: 101.8 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002668/1.339, allocations: 2.358 MB / 0.8263 GB, free: 101 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004767/1.344, allocations: 5.844 MB / 0.832 GB, free: 95.59 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005972/1.35, allocations: 3.734 MB / 0.8356 GB, free: 94.52 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.114e-05/1.35, allocations: 37.66 kB / 0.8357 GB, free: 94.52 MB / 0.5261 GB Notification: Performance of matching and sorting (n=834) (initialization): time 0.01313/1.363, allocations: 8.415 MB / 0.8439 GB, free: 91.98 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 7.036e-05/1.363, allocations: 57.41 kB / 0.844 GB, free: 91.98 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001192/1.364, allocations: 124.9 kB / 0.8441 GB, free: 91.98 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002659/1.366, allocations: 1.067 MB / 0.8451 GB, free: 91.85 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004252/1.371, allocations: 1.435 MB / 0.8465 GB, free: 91.68 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005435/1.376, allocations: 4.852 MB / 0.8513 GB, free: 89.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004239/1.38, allocations: 212.6 kB / 0.8515 GB, free: 89.25 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009772/1.381, allocations: 371.1 kB / 0.8518 GB, free: 89.2 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 563 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (772): * Single equations (assignments): 765 * 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 {(4,87.5%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009819/1.382, allocations: 429.1 kB / 0.8522 GB, free: 88.85 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005014/1.383, allocations: 307.4 kB / 0.8525 GB, free: 88.68 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007805/1.391, allocations: 5.168 MB / 0.8576 GB, free: 84.92 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.348e-05/1.391, allocations: 47.66 kB / 0.8576 GB, free: 84.88 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.008e-05/1.391, allocations: 0 / 0.8576 GB, free: 84.88 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.552e-05/1.391, allocations: 14.59 kB / 0.8576 GB, free: 84.88 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01864/1.409, allocations: 11.82 MB / 0.8692 GB, free: 74.98 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-05/1.409, allocations: 12 kB / 0.8692 GB, free: 74.97 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001714/1.411, allocations: 426.4 kB / 0.8696 GB, free: 74.63 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002505/1.414, allocations: 0.888 MB / 0.8705 GB, free: 74.07 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002414/1.414, allocations: 27.14 kB / 0.8705 GB, free: 74.04 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004653/1.419, allocations: 4.215 MB / 0.8746 GB, free: 70.34 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-05/1.419, allocations: 19.94 kB / 0.8746 GB, free: 70.32 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009689/1.428, allocations: 8.889 MB / 0.8833 GB, free: 61.88 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008155/1.429, allocations: 344.9 kB / 0.8836 GB, free: 61.53 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003468/1.43, allocations: 23.89 kB / 0.8837 GB, free: 61.51 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00125/1.431, allocations: 107.2 kB / 0.8838 GB, free: 61.45 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000273/1.431, allocations: 167.8 kB / 0.8839 GB, free: 61.34 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001511/1.431, allocations: 83.47 kB / 0.884 GB, free: 61.26 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00206/1.433, allocations: 1.688 MB / 0.8856 GB, free: 59.8 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/1.433, allocations: 0 / 0.8856 GB, free: 59.8 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004325/1.438, allocations: 0.9537 MB / 0.8866 GB, free: 58.86 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 51 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (211): * Single equations (assignments): 204 * 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.0004815/1.438, allocations: 167.2 kB / 0.8867 GB, free: 58.7 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.007269/1.445, allocations: 5.742 MB / 0.8923 GB, free: 53.5 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.788e-05/1.445, allocations: 4 kB / 0.8923 GB, free: 53.49 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002454/1.448, allocations: 2.177 MB / 0.8945 GB, free: 51.52 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001867/1.45, allocations: 288.2 kB / 0.8947 GB, free: 51.28 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01467/1.465, allocations: 9.478 MB / 0.904 GB, free: 42.67 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00334/1.468, allocations: 3.809 MB / 0.9077 GB, free: 39.77 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0047/1.473, allocations: 2.254 MB / 0.9099 GB, free: 38.33 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006909/1.473, allocations: 233.4 kB / 0.9101 GB, free: 38.11 MB / 0.5261 GB Notification: Performance of SimCode: time 1.492e-06/1.473, allocations: 0 / 0.9101 GB, free: 38.11 MB / 0.5261 GB Notification: Performance of Templates: time 0.04929/1.523, allocations: 30.74 MB / 0.9402 GB, free: 8.074 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