Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_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_cpp_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_cpp_ModelicaTest.MultiBody.Forces.FrameForces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00103/0.00103, allocations: 190.9 kB / 16.78 MB, free: 5.031 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.268/1.268, allocations: 226.5 MB / 244.1 MB, free: 8.215 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007629/0.0007628, allocations: 99.95 kB / 296.1 MB, free: 6.891 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3162/0.3162, allocations: 44.82 MB / 393 MB, free: 35.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002602/0.0002602, allocations: 8 kB / 465.9 MB, free: 12.71 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2886/0.2889, allocations: 62.95 MB / 0.5165 GB, free: 37.18 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.123/0.4119, allocations: 109.1 MB / 0.623 GB, free: 12.28 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002366/0.4122, allocations: 79.95 kB / 0.6231 GB, free: 12.2 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4644/0.8767, allocations: 107.6 MB / 0.7282 GB, free: 97.33 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.505e-06/0.8767, allocations: 0 / 0.7282 GB, free: 97.33 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002709/0.877, allocations: 104.6 kB / 0.7283 GB, free: 97.32 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.01444/0.8914, allocations: 5.426 MB / 0.7336 GB, free: 94.54 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.8915, allocations: 15.36 kB / 0.7336 GB, free: 94.54 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02002/0.9115, allocations: 5.226 MB / 0.7387 GB, free: 93.77 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01146/0.923, allocations: 5.069 MB / 0.7436 GB, free: 91.6 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003573/0.9234, allocations: 384.1 kB / 0.744 GB, free: 91.43 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002452/0.9259, allocations: 0.5039 MB / 0.7445 GB, free: 91.26 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02522/0.9511, allocations: 12.34 MB / 0.7565 GB, free: 82.96 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003309/0.9515, allocations: 75.28 kB / 0.7566 GB, free: 82.92 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001816/0.9533, allocations: 252.8 kB / 0.7569 GB, free: 82.75 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001447/0.9548, allocations: 1.13 MB / 0.758 GB, free: 82.36 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01792/0.9727, allocations: 9.698 MB / 0.7674 GB, free: 74.52 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05036/1.023, allocations: 56.26 MB / 0.8224 GB, free: 16.48 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009505/1.033, allocations: 4.343 MB / 0.8266 GB, free: 11.99 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002241/1.035, allocations: 1.975 MB / 0.8286 GB, free: 10 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009985/1.045, allocations: 6.149 MB / 0.8346 GB, free: 3.758 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.977e-05/1.045, allocations: 47.56 kB / 0.8346 GB, free: 3.703 MB / 490.7 MB Notification: Performance of pre-optimization done (n=154): time 3.837e-06/1.045, allocations: 0 / 0.8346 GB, free: 3.703 MB / 490.7 MB Notification: Performance of matching and sorting (n=166): time 0.03643/1.081, allocations: 14.02 MB / 0.8483 GB, free: 5.566 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.592e-05/1.082, allocations: 208.8 kB / 0.8485 GB, free: 5.32 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009966/1.092, allocations: 5.598 MB / 0.854 GB, free: 15.74 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003989/1.092, allocations: 61.69 kB / 0.854 GB, free: 15.68 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0028/1.095, allocations: 3.854 MB / 0.8578 GB, free: 11.77 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000787/1.096, allocations: 0.6716 MB / 0.8584 GB, free: 11.09 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003203/1.096, allocations: 136 kB / 0.8586 GB, free: 10.96 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003486/1.096, allocations: 0.5792 MB / 0.8591 GB, free: 10.38 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002939/1.099, allocations: 2 MB / 0.8611 GB, free: 8.371 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005575/1.105, allocations: 6.301 MB / 0.8672 GB, free: 15.92 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01039/1.115, allocations: 9.061 MB / 0.8761 GB, free: 4.707 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001428/1.115, allocations: 40 kB / 0.8761 GB, free: 4.668 MB / 0.5261 GB Notification: Performance of matching and sorting (n=865) (initialization): time 0.2754/1.391, allocations: 8.388 MB / 0.8843 GB, free: 126 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 9.973e-05/1.391, allocations: 71.47 kB / 0.8844 GB, free: 126 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001745/1.391, allocations: 155.1 kB / 0.8845 GB, free: 126 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001262/1.392, allocations: 0.5697 MB / 0.8851 GB, free: 125.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004307/1.397, allocations: 1.498 MB / 0.8866 GB, free: 125.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005329/1.402, allocations: 5.606 MB / 0.892 GB, free: 123.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004888/1.407, allocations: 340.8 kB / 0.8924 GB, free: 123.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001032/1.408, allocations: 419.8 kB / 0.8928 GB, free: 123.3 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.005566/1.414, allocations: 2.512 MB / 0.8952 GB, free: 123.2 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009169/1.415, allocations: 468 kB / 0.8957 GB, free: 123.2 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00432/1.419, allocations: 2.469 MB / 0.8981 GB, free: 123.1 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.73e-05/1.419, allocations: 18.69 kB / 0.8981 GB, free: 123.1 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.25e-05/1.419, allocations: 6.25 kB / 0.8981 GB, free: 123.1 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.333e-05/1.419, allocations: 14.38 kB / 0.8981 GB, free: 123.1 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01476/1.434, allocations: 7.159 MB / 0.9051 GB, free: 122.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-05/1.434, allocations: 2.75 kB / 0.9051 GB, free: 122.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001103/1.435, allocations: 234.6 kB / 0.9053 GB, free: 122.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001056/1.436, allocations: 347.9 kB / 0.9057 GB, free: 122.5 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001359/1.436, allocations: 30.69 kB / 0.9057 GB, free: 122.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005172/1.441, allocations: 4.95 MB / 0.9105 GB, free: 119.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.362e-06/1.441, allocations: 7.25 kB / 0.9105 GB, free: 119.5 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00771/1.449, allocations: 4.646 MB / 0.9151 GB, free: 117.7 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001677/1.451, allocations: 0.5276 MB / 0.9156 GB, free: 117.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006445/1.452, allocations: 31.09 kB / 0.9156 GB, free: 117.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001441/1.453, allocations: 65.91 kB / 0.9157 GB, free: 117.3 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002977/1.453, allocations: 103.7 kB / 0.9158 GB, free: 117.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001228/1.453, allocations: 45.75 kB / 0.9158 GB, free: 117.3 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.006643/1.46, allocations: 3.585 MB / 0.9193 GB, free: 116.1 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.01e-07/1.46, allocations: 0 / 0.9193 GB, free: 116.1 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006107/1.466, allocations: 1.118 MB / 0.9204 GB, free: 116 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.000469/1.467, allocations: 181.8 kB / 0.9206 GB, free: 115.9 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.007016/1.474, allocations: 4.99 MB / 0.9254 GB, free: 114.4 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/1.474, allocations: 3.938 kB / 0.9255 GB, free: 114.4 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001618/1.475, allocations: 1.417 MB / 0.9268 GB, free: 113.7 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005282/1.481, allocations: 0.6182 MB / 0.9274 GB, free: 113.4 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01851/1.499, allocations: 13.14 MB / 0.9403 GB, free: 106.8 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004115/1.503, allocations: 3.862 MB / 0.944 GB, free: 105.4 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001138/1.505, allocations: 344.6 kB / 0.9444 GB, free: 105.4 MB / 0.5261 GB Notification: Performance of SimCode: time 8.32e-07/1.505, allocations: 0 / 0.9444 GB, free: 105.4 MB / 0.5261 GB Notification: Performance of Templates: time 0.1196/1.624, allocations: 113.1 MB / 1.055 GB, free: 12.63 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForces.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForces.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForces --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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_cpp_ModelicaTest.MultiBody.Forces.FrameForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches