Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameTorques.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.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameTorques") translateModel(ModelicaTest.MultiBody.Forces.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001601/0.001601, allocations: 190.5 kB / 16.78 MB, free: 4.914 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.236/1.236, allocations: 226.5 MB / 244.1 MB, free: 8.086 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008182/0.0008183, allocations: 103.6 kB / 296.1 MB, free: 6.871 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2828/0.2828, allocations: 44.82 MB / 393 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002744/0.0002745, allocations: 11.98 kB / 465.9 MB, free: 12.72 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2694/0.2697, allocations: 62.95 MB / 0.5165 GB, free: 36.82 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1225/0.3922, allocations: 109.1 MB / 0.623 GB, free: 12.22 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002666/0.3926, allocations: 79.95 kB / 0.6231 GB, free: 12.14 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4684/0.861, allocations: 107.8 MB / 0.7283 GB, free: 97 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.917e-06/0.861, allocations: 0 / 0.7283 GB, free: 97 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000311/0.8614, allocations: 103.4 kB / 0.7284 GB, free: 96.99 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: 1787 * Number of variables: 1787 Notification: Performance of Generate backend data structure: time 0.01672/0.8781, allocations: 5.448 MB / 0.7338 GB, free: 94.19 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.8781, allocations: 13.12 kB / 0.7338 GB, free: 94.19 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02002/0.8982, allocations: 5.23 MB / 0.7389 GB, free: 93.43 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01094/0.9091, allocations: 5.062 MB / 0.7438 GB, free: 91.26 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000384/0.9096, allocations: 387 kB / 0.7442 GB, free: 91.08 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002328/0.9119, allocations: 0.5008 MB / 0.7447 GB, free: 90.91 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02556/0.9375, allocations: 12.35 MB / 0.7567 GB, free: 82.71 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003888/0.9379, allocations: 78.22 kB / 0.7568 GB, free: 82.67 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002064/0.94, allocations: 249.6 kB / 0.757 GB, free: 82.5 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001574/0.9416, allocations: 1.125 MB / 0.7581 GB, free: 82.11 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01802/0.9596, allocations: 9.71 MB / 0.7676 GB, free: 74.27 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05237/1.012, allocations: 56.33 MB / 0.8226 GB, free: 16.17 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009223/1.021, allocations: 4.271 MB / 0.8268 GB, free: 11.74 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0022/1.024, allocations: 1.934 MB / 0.8287 GB, free: 9.789 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008914/1.032, allocations: 5.593 MB / 0.8342 GB, free: 4.102 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.778e-05/1.033, allocations: 67.38 kB / 0.8342 GB, free: 4.027 MB / 490.7 MB Notification: Performance of pre-optimization done (n=150): time 4.979e-06/1.033, allocations: 0 / 0.8342 GB, free: 4.027 MB / 490.7 MB Notification: Performance of matching and sorting (n=162): time 0.0373/1.07, allocations: 14.78 MB / 0.8487 GB, free: 5.051 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001123/1.07, allocations: 218.3 kB / 0.8489 GB, free: 4.789 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01026/1.08, allocations: 5.622 MB / 0.8544 GB, free: 15.19 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003123/1.081, allocations: 45.7 kB / 0.8544 GB, free: 15.14 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003541/1.084, allocations: 3.869 MB / 0.8582 GB, free: 11.22 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009423/1.085, allocations: 0.656 MB / 0.8588 GB, free: 10.55 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006313/1.086, allocations: 128 kB / 0.8589 GB, free: 10.43 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005333/1.086, allocations: 0.583 MB / 0.8595 GB, free: 9.84 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003406/1.09, allocations: 1.977 MB / 0.8614 GB, free: 7.859 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006141/1.096, allocations: 6.269 MB / 0.8676 GB, free: 15.44 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00983/1.106, allocations: 9.02 MB / 0.8764 GB, free: 4.266 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001227/1.106, allocations: 44 kB / 0.8764 GB, free: 4.223 MB / 0.5261 GB Notification: Performance of matching and sorting (n=861) (initialization): time 0.2455/1.351, allocations: 8.35 MB / 0.8846 GB, free: 125.7 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 9.988e-05/1.352, allocations: 68.19 kB / 0.8846 GB, free: 125.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001867/1.352, allocations: 154.2 kB / 0.8848 GB, free: 125.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00134/1.353, allocations: 0.5784 MB / 0.8853 GB, free: 125.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004539/1.358, allocations: 1.492 MB / 0.8868 GB, free: 125.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005595/1.363, allocations: 5.72 MB / 0.8924 GB, free: 123 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004992/1.368, allocations: 353.2 kB / 0.8927 GB, free: 123 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001093/1.369, allocations: 416.4 kB / 0.8931 GB, free: 123 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 (Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.arrow.arrowLine.twoHeadedArrow,frameTorque2.arrow.headAtOrigin,frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.arrow.arrowLine.twoHeadedArrow,frameTorque1.arrow.headAtOrigin,frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[1],FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.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 (809): * Single equations (assignments): 804 * 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%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005422/1.375, allocations: 2.519 MB / 0.8956 GB, free: 122.9 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009252/1.376, allocations: 462.3 kB / 0.896 GB, free: 122.9 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004428/1.38, allocations: 2.429 MB / 0.8984 GB, free: 122.8 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.83e-05/1.38, allocations: 23.39 kB / 0.8984 GB, free: 122.8 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.296e-05/1.38, allocations: 4.594 kB / 0.8984 GB, free: 122.8 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.706e-05/1.38, allocations: 10.97 kB / 0.8984 GB, free: 122.8 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01641/1.397, allocations: 7.238 MB / 0.9055 GB, free: 122.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.865e-05/1.397, allocations: 3.875 kB / 0.9055 GB, free: 122.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001331/1.398, allocations: 257.8 kB / 0.9057 GB, free: 122.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001143/1.399, allocations: 359.4 kB / 0.9061 GB, free: 122.2 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002011/1.4, allocations: 38.5 kB / 0.9061 GB, free: 122.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0052/1.405, allocations: 5.077 MB / 0.9111 GB, free: 119.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/1.405, allocations: 8 kB / 0.9111 GB, free: 119.1 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007255/1.412, allocations: 4.618 MB / 0.9156 GB, free: 117.2 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001621/1.414, allocations: 0.524 MB / 0.9161 GB, free: 116.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006728/1.414, allocations: 31.17 kB / 0.9161 GB, free: 116.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001501/1.416, allocations: 71.2 kB / 0.9162 GB, free: 116.8 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002813/1.416, allocations: 99.84 kB / 0.9163 GB, free: 116.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001181/1.416, allocations: 46.11 kB / 0.9163 GB, free: 116.8 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00667/1.423, allocations: 3.595 MB / 0.9199 GB, free: 115.6 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.41e-07/1.423, allocations: 0 / 0.9199 GB, free: 115.6 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005848/1.429, allocations: 1.113 MB / 0.9209 GB, free: 115.5 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (120): * Single equations (assignments): 115 * 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%) 11,(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004309/1.429, allocations: 173.6 kB / 0.9211 GB, free: 115.4 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.006757/1.436, allocations: 4.955 MB / 0.926 GB, free: 113.9 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.214e-06/1.436, allocations: 0 / 0.926 GB, free: 113.9 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001746/1.438, allocations: 1.421 MB / 0.9273 GB, free: 113.2 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005782/1.444, allocations: 0.6039 MB / 0.9279 GB, free: 112.9 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01859/1.462, allocations: 13.14 MB / 0.9408 GB, free: 106.3 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004706/1.467, allocations: 3.866 MB / 0.9445 GB, free: 104.9 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001038/1.468, allocations: 341.5 kB / 0.9449 GB, free: 104.9 MB / 0.5261 GB Notification: Performance of SimCode: time 1.082e-06/1.468, allocations: 0 / 0.9449 GB, free: 104.9 MB / 0.5261 GB Notification: Performance of Templates: time 0.1216/1.59, allocations: 113 MB / 1.055 GB, free: 11.95 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameTorques.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameTorques.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameTorques --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameTorques/FrameTorques.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches