Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_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_cpp_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_cpp_ModelicaTest.MultiBody.Joints.Planar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009437/0.0009437, allocations: 191.5 kB / 16.78 MB, free: 4.918 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.302/1.302, allocations: 226.5 MB / 244.1 MB, free: 6.465 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007574/0.0007574, allocations: 100.5 kB / 296.1 MB, free: 6.707 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3216/0.3216, allocations: 44.82 MB / 392.9 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003076/0.0003076, allocations: 8 kB / 465.9 MB, free: 12.74 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3275/0.3278, allocations: 62.96 MB / 0.5165 GB, free: 37.2 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1278/0.4557, allocations: 108.6 MB / 0.6225 GB, free: 12.76 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003169/0.4561, allocations: 79.97 kB / 0.6226 GB, free: 12.68 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5046/0.9607, allocations: 114.6 MB / 0.7346 GB, free: 96.75 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.635e-06/0.9608, allocations: 0 / 0.7346 GB, free: 96.75 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001419/0.9609, allocations: 87.97 kB / 0.7347 GB, free: 96.74 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.01129/0.9722, allocations: 4.461 MB / 0.739 GB, free: 94.35 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.081e-05/0.9723, allocations: 16.25 kB / 0.739 GB, free: 94.34 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01397/0.9863, allocations: 3.581 MB / 0.7425 GB, free: 94 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008038/0.9944, allocations: 3.448 MB / 0.7459 GB, free: 92.41 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003106/0.9947, allocations: 365.5 kB / 0.7463 GB, free: 92.27 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002482/0.9972, allocations: 479.6 kB / 0.7467 GB, free: 92.14 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02045/1.018, allocations: 11.77 MB / 0.7582 GB, free: 85.17 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001445/1.018, allocations: 39.83 kB / 0.7582 GB, free: 85.13 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008062/1.019, allocations: 220.7 kB / 0.7585 GB, free: 84.95 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001377/1.02, allocations: 1.316 MB / 0.7597 GB, free: 83.64 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01859/1.039, allocations: 11.04 MB / 0.7705 GB, free: 72.58 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05119/1.09, allocations: 41.11 MB / 0.8107 GB, free: 30.54 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008128/1.098, allocations: 4.7 MB / 0.8153 GB, free: 25.61 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002643/1.101, allocations: 2.435 MB / 0.8176 GB, free: 23.18 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008572/1.102, allocations: 1.318 MB / 0.8189 GB, free: 21.64 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.244e-05/1.102, allocations: 52.56 kB / 0.819 GB, free: 21.58 MB / 490.7 MB Notification: Performance of pre-optimization done (n=249): time 4.849e-06/1.102, allocations: 0 / 0.819 GB, free: 21.58 MB / 490.7 MB Notification: Performance of matching and sorting (n=267): time 0.03665/1.138, allocations: 18.45 MB / 0.837 GB, free: 2.98 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.15e-05/1.138, allocations: 77.41 kB / 0.8371 GB, free: 2.891 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005362/1.144, allocations: 3.164 MB / 0.8401 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003044/1.144, allocations: 57.7 kB / 0.8402 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002403/1.147, allocations: 3.121 MB / 0.8433 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001428/1.148, allocations: 0.9713 MB / 0.8442 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005962/1.149, allocations: 112 kB / 0.8443 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0006642/1.149, allocations: 0.5582 MB / 0.8449 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004015/1.153, allocations: 2.432 MB / 0.8472 GB, free: 8.391 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006151/1.159, allocations: 5.7 MB / 0.8528 GB, free: 1.082 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01035/1.17, allocations: 8.93 MB / 0.8615 GB, free: 6.555 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001164/1.17, allocations: 32 kB / 0.8615 GB, free: 6.523 MB / 0.5105 GB Notification: Performance of matching and sorting (n=786) (initialization): time 0.01689/1.187, allocations: 8.922 MB / 0.8703 GB, free: 13.58 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001192/1.187, allocations: 59.94 kB / 0.8703 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001648/1.187, allocations: 112 kB / 0.8704 GB, free: 13.41 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003042/1.19, allocations: 1.039 MB / 0.8714 GB, free: 12.37 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004603/1.195, allocations: 1.345 MB / 0.8728 GB, free: 11.02 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00716/1.202, allocations: 5.073 MB / 0.8777 GB, free: 5.816 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004339/1.206, allocations: 319.7 kB / 0.878 GB, free: 5.508 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001228/1.208, allocations: 344.1 kB / 0.8783 GB, free: 5.172 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.005977/1.214, allocations: 2.409 MB / 0.8807 GB, free: 2.75 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007795/1.214, allocations: 315.8 kB / 0.881 GB, free: 2.438 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2847/1.499, allocations: 5.339 MB / 0.8862 GB, free: 131.2 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.393e-05/1.499, allocations: 48.75 kB / 0.8863 GB, free: 131.2 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.377e-06/1.499, allocations: 3.5 kB / 0.8863 GB, free: 131.2 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.935e-05/1.499, allocations: 13.45 kB / 0.8863 GB, free: 131.2 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01973/1.519, allocations: 13.06 MB / 0.899 GB, free: 130.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.665e-05/1.519, allocations: 18.53 kB / 0.899 GB, free: 130.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001565/1.521, allocations: 422.4 kB / 0.8994 GB, free: 130.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002525/1.523, allocations: 0.8821 MB / 0.9003 GB, free: 130.2 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002244/1.523, allocations: 58.12 kB / 0.9004 GB, free: 130.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005921/1.529, allocations: 4.423 MB / 0.9047 GB, free: 128.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-05/1.529, allocations: 18.88 kB / 0.9047 GB, free: 128.9 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01207/1.541, allocations: 7.969 MB / 0.9125 GB, free: 127.3 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001011/1.543, allocations: 367.5 kB / 0.9128 GB, free: 127.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004943/1.543, allocations: 49.84 kB / 0.9129 GB, free: 127.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00134/1.544, allocations: 149.5 kB / 0.913 GB, free: 127.2 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000411/1.545, allocations: 166.2 kB / 0.9132 GB, free: 127.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002025/1.545, allocations: 81.5 kB / 0.9133 GB, free: 127.1 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.003735/1.549, allocations: 1.933 MB / 0.9151 GB, free: 126.5 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.7e-07/1.549, allocations: 0 / 0.9151 GB, free: 126.5 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005307/1.554, allocations: 1.092 MB / 0.9162 GB, free: 126.4 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.000529/1.555, allocations: 211.4 kB / 0.9164 GB, free: 126.2 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.008424/1.563, allocations: 5.936 MB / 0.9222 GB, free: 124.5 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-05/1.563, allocations: 6.125 kB / 0.9222 GB, free: 124.5 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003176/1.566, allocations: 2.25 MB / 0.9244 GB, free: 123.7 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006398/1.573, allocations: 431.1 kB / 0.9248 GB, free: 123.5 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01829/1.591, allocations: 13.97 MB / 0.9385 GB, free: 116.5 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004013/1.595, allocations: 3.713 MB / 0.9421 GB, free: 115.1 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001189/1.596, allocations: 284.7 kB / 0.9424 GB, free: 115.1 MB / 0.5261 GB Notification: Performance of SimCode: time 1.343e-06/1.596, allocations: 0 / 0.9424 GB, free: 115.1 MB / 0.5261 GB Notification: Performance of Templates: time 0.108/1.704, allocations: 83.29 MB / 1.024 GB, free: 51.91 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Planar.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Planar.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Planar.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Planar.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Planar.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Planar --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Planar.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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_cpp_ModelicaTest.MultiBody.Joints.Planar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches