Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.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.Forces.FrameForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces") translateModel(ModelicaTest.MultiBody.Forces.FrameForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009883/0.0009883, allocations: 201.2 kB / 18.11 MB, free: 3.719 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.313/1.313, 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.0007424/0.0007425, allocations: 94.78 kB / 297.5 MB, free: 6.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3235/0.3235, allocations: 44.82 MB / 394.3 MB, free: 35.77 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002823/0.0002825, allocations: 8 kB / 467.9 MB, free: 12.06 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3983/0.3986, allocations: 62.96 MB / 0.5184 GB, free: 37.33 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1434/0.5421, allocations: 109.1 MB / 0.6249 GB, free: 12.21 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002369/0.5423, allocations: 87.94 kB / 0.625 GB, free: 12.12 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5804/1.123, allocations: 107.6 MB / 0.7301 GB, free: 97.7 MB / 490.7 MB Notification: Performance of FrontEnd: time 4.779e-06/1.123, allocations: 0 / 0.7301 GB, free: 97.7 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0005166/1.123, allocations: 106.8 kB / 0.7302 GB, free: 97.7 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: 1784 * Number of variables: 1784 Notification: Performance of Generate backend data structure: time 0.02134/1.145, allocations: 5.434 MB / 0.7355 GB, free: 94.91 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/1.145, allocations: 8.594 kB / 0.7355 GB, free: 94.91 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02115/1.166, allocations: 5.228 MB / 0.7406 GB, free: 94.14 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01395/1.18, allocations: 5.067 MB / 0.7456 GB, free: 91.97 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004901/1.181, allocations: 388.5 kB / 0.746 GB, free: 91.79 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00298/1.184, allocations: 0.4967 MB / 0.7464 GB, free: 91.62 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0317/1.215, allocations: 12.34 MB / 0.7585 GB, free: 83.27 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004895/1.216, allocations: 75.5 kB / 0.7586 GB, free: 83.23 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002798/1.219, allocations: 253.2 kB / 0.7588 GB, free: 83.05 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00203/1.221, allocations: 1.13 MB / 0.7599 GB, free: 82.66 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02161/1.242, allocations: 9.703 MB / 0.7694 GB, free: 74.42 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06719/1.31, allocations: 56.26 MB / 0.8243 GB, free: 16.39 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009961/1.32, allocations: 4.347 MB / 0.8286 GB, free: 11.89 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002328/1.322, allocations: 1.967 MB / 0.8305 GB, free: 9.91 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01027/1.332, allocations: 6.153 MB / 0.8365 GB, free: 3.66 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.324e-05/1.332, allocations: 43.56 kB / 0.8365 GB, free: 3.609 MB / 490.7 MB Notification: Performance of pre-optimization done (n=154): time 5.37e-06/1.332, allocations: 0 / 0.8365 GB, free: 3.609 MB / 490.7 MB Notification: Performance of matching and sorting (n=166): time 0.04415/1.377, allocations: 14.03 MB / 0.8502 GB, free: 5.469 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001256/1.377, allocations: 204.8 kB / 0.8504 GB, free: 5.227 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01484/1.392, allocations: 5.606 MB / 0.8559 GB, free: 15.64 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0004777/1.392, allocations: 45.7 kB / 0.856 GB, free: 15.59 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.004949/1.397, allocations: 3.861 MB / 0.8597 GB, free: 11.68 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001444/1.399, allocations: 0.6753 MB / 0.8604 GB, free: 11 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001128/1.4, allocations: 128 kB / 0.8605 GB, free: 10.87 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.001069/1.401, allocations: 0.5831 MB / 0.8611 GB, free: 10.28 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004327/1.405, allocations: 1.992 MB / 0.863 GB, free: 8.285 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00873/1.414, allocations: 6.305 MB / 0.8692 GB, free: 15.83 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01274/1.427, allocations: 9.054 MB / 0.878 GB, free: 4.625 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001424/1.427, allocations: 44 kB / 0.8781 GB, free: 4.582 MB / 0.5261 GB Notification: Performance of matching and sorting (n=865) (initialization): time 0.3573/1.784, allocations: 8.394 MB / 0.8863 GB, free: 126.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001271/1.784, allocations: 70.12 kB / 0.8863 GB, free: 126.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002617/1.785, allocations: 155.1 kB / 0.8865 GB, free: 126.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001487/1.786, allocations: 0.5588 MB / 0.887 GB, free: 126.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005267/1.791, allocations: 1.507 MB / 0.8885 GB, free: 126.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005937/1.797, allocations: 5.598 MB / 0.894 GB, free: 123.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006486/1.804, allocations: 344.5 kB / 0.8943 GB, free: 123.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001556/1.805, allocations: 421 kB / 0.8947 GB, free: 123.7 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 697 * Number of states: 0 () * Number of discrete variables: 49 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],frameForce2.arrow.arrowLine.twoHeadedArrow,frameForce2.arrow.headAtOrigin,frameForce2.color[3],frameForce2.color[2],frameForce2.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameForce1.arrow.arrowLine.twoHeadedArrow,frameForce1.arrow.headAtOrigin,frameForce1.color[3],frameForce1.color[2],frameForce1.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (815): * Single equations (assignments): 810 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006571/1.812, allocations: 2.514 MB / 0.8972 GB, free: 123.6 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001175/1.813, allocations: 463.1 kB / 0.8976 GB, free: 123.6 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004542/1.818, allocations: 2.473 MB / 0.9 GB, free: 123.4 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.61e-05/1.818, allocations: 20.59 kB / 0.9 GB, free: 123.4 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.355e-05/1.818, allocations: 4.625 kB / 0.9 GB, free: 123.4 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.728e-05/1.818, allocations: 9.25 kB / 0.9 GB, free: 123.4 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01697/1.835, allocations: 7.165 MB / 0.907 GB, free: 122.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.133e-05/1.835, allocations: 2.031 kB / 0.907 GB, free: 122.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001244/1.836, allocations: 234.6 kB / 0.9073 GB, free: 122.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001057/1.837, allocations: 346 kB / 0.9076 GB, free: 122.9 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001493/1.837, allocations: 31.47 kB / 0.9076 GB, free: 122.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005486/1.843, allocations: 4.961 MB / 0.9125 GB, free: 119.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/1.843, allocations: 6.531 kB / 0.9125 GB, free: 119.8 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00793/1.851, allocations: 4.642 MB / 0.917 GB, free: 118 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001957/1.853, allocations: 0.5246 MB / 0.9175 GB, free: 117.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006745/1.854, allocations: 29.7 kB / 0.9175 GB, free: 117.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001471/1.855, allocations: 67.27 kB / 0.9176 GB, free: 117.6 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003363/1.855, allocations: 101.6 kB / 0.9177 GB, free: 117.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001247/1.856, allocations: 51.95 kB / 0.9178 GB, free: 117.6 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.007459/1.863, allocations: 3.58 MB / 0.9213 GB, free: 116.4 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.4e-07/1.863, allocations: 0 / 0.9213 GB, free: 116.4 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007464/1.87, allocations: 1.12 MB / 0.9223 GB, free: 116.3 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 4 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.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 (126): * Single equations (assignments): 121 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007651/1.871, allocations: 177.2 kB / 0.9225 GB, free: 116.2 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.008438/1.88, allocations: 4.998 MB / 0.9274 GB, free: 114.7 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.498e-06/1.88, allocations: 0 / 0.9274 GB, free: 114.7 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00224/1.882, allocations: 1.421 MB / 0.9288 GB, free: 114 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007119/1.889, allocations: 0.6105 MB / 0.9294 GB, free: 113.8 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02389/1.913, allocations: 12.54 MB / 0.9416 GB, free: 107.5 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005137/1.918, allocations: 3.855 MB / 0.9454 GB, free: 106 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.005906/1.924, allocations: 2.165 MB / 0.9475 GB, free: 105.9 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009224/1.925, allocations: 290.2 kB / 0.9478 GB, free: 105.8 MB / 0.5261 GB Notification: Performance of SimCode: time 1.252e-06/1.925, allocations: 0 / 0.9478 GB, free: 105.8 MB / 0.5261 GB Notification: Performance of Templates: time 0.07827/2.003, allocations: 39.95 MB / 0.9868 GB, free: 84.43 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameForces/FrameForces.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches