Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.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.FrameForcesAndTorques2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00128/0.00128, allocations: 198.3 kB / 16.1 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.4/1.4, allocations: 226.6 MB / 243.4 MB, free: 8.211 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008009/0.000801, allocations: 101.2 kB / 295.5 MB, free: 6.879 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2965/0.2965, allocations: 44.82 MB / 392.3 MB, free: 35.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002782/0.0002783, allocations: 8 kB / 465.3 MB, free: 12.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.308/0.3083, allocations: 62.97 MB / 0.5159 GB, free: 37.02 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2): time 0.0606/0.3689, allocations: 83 MB / 0.5969 GB, free: 5.68 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.03879/0.4078, allocations: 16.91 MB / 0.6134 GB, free: 5.277 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01729/0.4251, allocations: 387.1 kB / 0.6138 GB, free: 4.898 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01465/0.4398, allocations: 4.413 MB / 0.6181 GB, free: 476 kB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03396/0.4738, allocations: 12.72 MB / 0.6306 GB, free: 3.695 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006354/0.4802, allocations: 0.9596 MB / 0.6315 GB, free: 2.734 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.3309/0.8112, allocations: 62.72 MB / 0.6927 GB, free: 52.03 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01364/0.8249, allocations: 7.353 MB / 0.6999 GB, free: 51.28 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004108/0.829, allocations: 1.748 MB / 0.7016 GB, free: 51.28 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004734/0.8338, allocations: 2.751 MB / 0.7043 GB, free: 51.27 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008682/0.8347, allocations: 202.1 kB / 0.7045 GB, free: 51.27 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00253/0.8372, allocations: 1.281 MB / 0.7058 GB, free: 51.27 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002197/0.8394, allocations: 2.483 MB / 0.7082 GB, free: 51.27 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002786/0.8422, allocations: 2.691 MB / 0.7108 GB, free: 51.23 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007671/0.8499, allocations: 7.946 MB / 0.7186 GB, free: 48.67 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.206e-06/0.8499, allocations: 0 / 0.7186 GB, free: 48.67 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.597e-06/0.85, allocations: 4 kB / 0.7186 GB, free: 48.67 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003847/0.8504, allocations: 1.641 kB / 0.7186 GB, free: 48.67 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: 2137 * Number of variables: 2137 Notification: Performance of Generate backend data structure: time 0.01315/0.8635, allocations: 5.793 MB / 0.7242 GB, free: 45.19 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.8636, allocations: 9.906 kB / 0.7242 GB, free: 45.19 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01133/0.8749, allocations: 2.781 MB / 0.727 GB, free: 43.89 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008322/0.8833, allocations: 3.934 MB / 0.7308 GB, free: 41.15 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002648/0.8836, allocations: 352.2 kB / 0.7311 GB, free: 40.96 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001712/0.8853, allocations: 460.1 kB / 0.7316 GB, free: 40.67 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0243/0.9096, allocations: 14.74 MB / 0.746 GB, free: 29.11 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000178/0.9098, allocations: 61.72 kB / 0.746 GB, free: 29.08 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006822/0.9105, allocations: 222 kB / 0.7462 GB, free: 29.02 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004056/0.9146, allocations: 2.785 MB / 0.7489 GB, free: 26.7 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02291/0.9375, allocations: 12.59 MB / 0.7612 GB, free: 17.81 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06713/1.005, allocations: 55.23 MB / 0.8152 GB, free: 3.676 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01674/1.022, allocations: 6.522 MB / 0.8215 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004687/1.026, allocations: 3.596 MB / 0.8251 GB, free: 12.05 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001616/1.026, allocations: 36.34 kB / 0.8251 GB, free: 12.03 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.206e-05/1.026, allocations: 67.11 kB / 0.8252 GB, free: 11.97 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=218): time 6.081e-06/1.027, allocations: 0 / 0.8252 GB, free: 11.97 MB / 0.5261 GB Notification: Performance of matching and sorting (n=260): time 0.08802/1.115, allocations: 31.82 MB / 0.8562 GB, free: 13.27 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001362/1.115, allocations: 201.9 kB / 0.8564 GB, free: 13.03 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01248/1.127, allocations: 6.041 MB / 0.8623 GB, free: 7.016 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.000785/1.128, allocations: 65.7 kB / 0.8624 GB, free: 6.945 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.004315/1.132, allocations: 4.159 MB / 0.8665 GB, free: 2.812 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001813/1.134, allocations: 0.9893 MB / 0.8674 GB, free: 1.832 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001341/1.136, allocations: 156 kB / 0.8676 GB, free: 1.68 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0008629/1.136, allocations: 0.6445 MB / 0.8682 GB, free: 1.027 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00658/1.143, allocations: 3.455 MB / 0.8716 GB, free: 13.57 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0102/1.153, allocations: 7.947 MB / 0.8793 GB, free: 3.48 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01563/1.169, allocations: 12.24 MB / 0.8913 GB, free: 5.68 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001483/1.169, allocations: 48 kB / 0.8913 GB, free: 5.633 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1024) (initialization): time 0.2541/1.423, allocations: 13.23 MB / 0.9042 GB, free: 216 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001591/1.423, allocations: 72.19 kB / 0.9043 GB, free: 216 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002576/1.424, allocations: 157.5 kB / 0.9045 GB, free: 216 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005413/1.429, allocations: 2.257 MB / 0.9067 GB, free: 216 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005867/1.435, allocations: 1.831 MB / 0.9085 GB, free: 216 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01688/1.452, allocations: 13.48 MB / 0.9216 GB, free: 209.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006676/1.459, allocations: 490.1 kB / 0.9221 GB, free: 209.3 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001921/1.461, allocations: 475 kB / 0.9225 GB, free: 209.3 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 715 * Number of states: 0 () * Number of discrete variables: 62 (frameTorque2.torqueArrow.arrowLine.twoHeadedArrow,frameTorque2.torqueArrow.headAtOrigin,frameTorque2.forceArrow.arrowLine.twoHeadedArrow,frameTorque2.forceArrow.headAtOrigin,frameTorque1.torqueArrow.arrowLine.twoHeadedArrow,frameTorque1.torqueArrow.headAtOrigin,frameTorque1.forceArrow.arrowLine.twoHeadedArrow,frameTorque1.forceArrow.headAtOrigin,Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[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 (952): * Single equations (assignments): 947 * 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 {(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007361/1.468, allocations: 2.873 MB / 0.9254 GB, free: 208.2 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001455/1.469, allocations: 0.5108 MB / 0.9259 GB, free: 208.2 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01382/1.483, allocations: 7.122 MB / 0.9328 GB, free: 205.8 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.862e-05/1.483, allocations: 27.62 kB / 0.9328 GB, free: 205.8 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.202e-05/1.483, allocations: 7.844 kB / 0.9328 GB, free: 205.8 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.026e-05/1.483, allocations: 11.02 kB / 0.9329 GB, free: 205.8 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02412/1.508, allocations: 14.78 MB / 0.9473 GB, free: 200.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.877e-05/1.508, allocations: 7.344 kB / 0.9473 GB, free: 200.7 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002378/1.51, allocations: 448.8 kB / 0.9477 GB, free: 200.7 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004798/1.515, allocations: 2.031 MB / 0.9497 GB, free: 200.4 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000475/1.515, allocations: 42.69 kB / 0.9497 GB, free: 200.3 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01425/1.53, allocations: 12.73 MB / 0.9622 GB, free: 194.1 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/1.53, allocations: 0 / 0.9622 GB, free: 194.1 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01491/1.545, allocations: 11.28 MB / 0.9732 GB, free: 184.4 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001463/1.546, allocations: 0.5919 MB / 0.9738 GB, free: 183.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007415/1.547, allocations: 44.88 kB / 0.9738 GB, free: 183.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00216/1.549, allocations: 236.7 kB / 0.974 GB, free: 183.5 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004449/1.549, allocations: 145.8 kB / 0.9742 GB, free: 183.3 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002/1.55, allocations: 73.08 kB / 0.9743 GB, free: 183.3 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.004927/1.555, allocations: 3.827 MB / 0.978 GB, free: 179.5 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.4e-07/1.555, allocations: 3.75 kB / 0.978 GB, free: 179.5 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.006401/1.561, allocations: 1.55 MB / 0.9795 GB, free: 177.9 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.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 (202): * Single equations (assignments): 197 * 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 {(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005356/1.562, allocations: 178.8 kB / 0.9797 GB, free: 177.8 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.01086/1.572, allocations: 8.408 MB / 0.9879 GB, free: 169.5 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 7.975e-06/1.572, allocations: 4 kB / 0.9879 GB, free: 169.5 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.004843/1.577, allocations: 3.477 MB / 0.9913 GB, free: 166 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004818/1.582, allocations: 0.651 MB / 0.9919 GB, free: 165.3 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02361/1.606, allocations: 17.15 MB / 1.009 GB, free: 148.2 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004634/1.61, allocations: 4.397 MB / 1.013 GB, free: 143.8 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001906/1.612, allocations: 403.4 kB / 1.013 GB, free: 143.4 MB / 0.5886 GB Notification: Performance of SimCode: time 6.01e-07/1.612, allocations: 0 / 1.013 GB, free: 143.4 MB / 0.5886 GB Notification: Performance of Templates: time 0.3922/2.005, allocations: 137.3 MB / 1.147 GB, free: 207.1 MB / 0.5886 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameForcesAndTorques2/FrameForcesAndTorques2.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches