Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3,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_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3,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_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 179 kB / 18.09 MB, free: 3.754 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.34/1.34, allocations: 223.3 MB / 242.1 MB, free: 11.67 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007647/0.0007647, allocations: 91.91 kB / 293.3 MB, free: 10.75 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.317/0.317, allocations: 44.15 MB / 388.5 MB, free: 38.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000399/0.000399, allocations: 12 kB / 461.1 MB, free: 1.297 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3171/0.3175, allocations: 61.88 MB / 0.5107 GB, free: 38.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.131/0.4486, allocations: 107.6 MB / 0.6158 GB, free: 3.398 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002104/0.4489, allocations: 83.95 kB / 0.6159 GB, free: 3.32 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5253/0.9742, allocations: 118.3 MB / 0.7314 GB, free: 92.89 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.9742, allocations: 0 / 0.7314 GB, free: 92.89 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000344/0.9745, allocations: 117.9 kB / 0.7316 GB, free: 92.89 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: 2101 * Number of variables: 2101 Notification: Performance of Generate backend data structure: time 0.0178/0.9924, allocations: 6.022 MB / 0.7374 GB, free: 89.86 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.9924, allocations: 12.67 kB / 0.7374 GB, free: 89.86 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01999/1.012, allocations: 5.321 MB / 0.7426 GB, free: 89.05 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01339/1.026, allocations: 5.531 MB / 0.748 GB, free: 86.61 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004381/1.026, allocations: 457.1 kB / 0.7485 GB, free: 86.4 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002709/1.029, allocations: 0.592 MB / 0.7491 GB, free: 86.2 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0348/1.064, allocations: 14.88 MB / 0.7636 GB, free: 78.53 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004803/1.064, allocations: 78.81 kB / 0.7637 GB, free: 78.48 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003351/1.068, allocations: 284.2 kB / 0.7639 GB, free: 78.29 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001946/1.07, allocations: 1.376 MB / 0.7653 GB, free: 77.8 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02563/1.095, allocations: 12.49 MB / 0.7775 GB, free: 68.01 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06645/1.162, allocations: 60.77 MB / 0.8368 GB, free: 5.453 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.013/1.175, allocations: 6.002 MB / 0.8427 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004644/1.18, allocations: 3.589 MB / 0.8462 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02006/1.2, allocations: 12.75 MB / 0.8586 GB, free: 14.79 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.729e-05/1.2, allocations: 68.48 kB / 0.8587 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=228): time 4.96e-06/1.2, allocations: 0 / 0.8587 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of matching and sorting (n=270): time 0.3606/1.56, allocations: 26.43 MB / 0.8845 GB, free: 113.4 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.274e-05/1.561, allocations: 207.8 kB / 0.8847 GB, free: 113.2 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00738/1.568, allocations: 4.994 MB / 0.8896 GB, free: 112.8 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005748/1.569, allocations: 66.72 kB / 0.8897 GB, free: 112.8 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002367/1.571, allocations: 4.042 MB / 0.8936 GB, free: 110.6 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001235/1.572, allocations: 1.006 MB / 0.8946 GB, free: 110.1 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003441/1.573, allocations: 147 kB / 0.8947 GB, free: 110.1 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003378/1.573, allocations: 0.6087 MB / 0.8953 GB, free: 109.8 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003867/1.577, allocations: 3.006 MB / 0.8983 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005932/1.583, allocations: 7.147 MB / 0.9052 GB, free: 103.6 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01187/1.595, allocations: 11.03 MB / 0.916 GB, free: 95.59 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002321/1.595, allocations: 40.72 kB / 0.916 GB, free: 95.59 MB / 0.5105 GB Notification: Performance of matching and sorting (n=939) (initialization): time 0.02128/1.616, allocations: 11.44 MB / 0.9272 GB, free: 91.38 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001799/1.616, allocations: 67.92 kB / 0.9273 GB, free: 91.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002603/1.617, allocations: 145.5 kB / 0.9274 GB, free: 91.38 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003832/1.62, allocations: 1.634 MB / 0.929 GB, free: 91.08 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005393/1.626, allocations: 1.669 MB / 0.9306 GB, free: 90.88 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01265/1.639, allocations: 11.36 MB / 0.9417 GB, free: 84.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006028/1.645, allocations: 433.9 kB / 0.9421 GB, free: 84.64 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001473/1.646, allocations: 430.8 kB / 0.9426 GB, free: 84.59 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 659 * Number of states: 0 () * Number of discrete variables: 59 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],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.torqueArrow.arrowLine.twoHeadedArrow,frameTorque2.torqueArrow.headAtOrigin,frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceArrow.arrowLine.twoHeadedArrow,frameTorque2.forceArrow.headAtOrigin,frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueArrow.arrowLine.twoHeadedArrow,frameTorque1.torqueArrow.headAtOrigin,frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceArrow.arrowLine.twoHeadedArrow,frameTorque1.forceArrow.headAtOrigin,frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[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 (867): * Single equations (assignments): 862 * 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.006997/1.653, allocations: 2.799 MB / 0.9453 GB, free: 83.3 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001423/1.655, allocations: 460 kB / 0.9457 GB, free: 83.05 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009933/1.665, allocations: 6.072 MB / 0.9517 GB, free: 80.84 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.856e-05/1.665, allocations: 32.56 kB / 0.9517 GB, free: 80.84 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.754e-05/1.665, allocations: 6.812 kB / 0.9517 GB, free: 80.84 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.69e-05/1.665, allocations: 11.3 kB / 0.9517 GB, free: 80.84 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02198/1.687, allocations: 13.51 MB / 0.9649 GB, free: 76.08 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.347e-05/1.687, allocations: 3.5 kB / 0.9649 GB, free: 76.08 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001882/1.689, allocations: 445.6 kB / 0.9653 GB, free: 76.05 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002954/1.692, allocations: 1.413 MB / 0.9667 GB, free: 75.76 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001973/1.692, allocations: 50.88 kB / 0.9668 GB, free: 75.73 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01039/1.702, allocations: 10.61 MB / 0.9771 GB, free: 68.32 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/1.702, allocations: 0 / 0.9771 GB, free: 68.32 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0119/1.714, allocations: 9.779 MB / 0.9867 GB, free: 59.91 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001459/1.716, allocations: 0.5009 MB / 0.9872 GB, free: 59.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001126/1.717, allocations: 46.77 kB / 0.9872 GB, free: 59.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002359/1.719, allocations: 203.7 kB / 0.9874 GB, free: 59.23 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000417/1.719, allocations: 164.9 kB / 0.9876 GB, free: 59.13 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000174/1.72, allocations: 64 kB / 0.9876 GB, free: 59.07 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.004142/1.724, allocations: 3.122 MB / 0.9907 GB, free: 56.52 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.31e-07/1.724, allocations: 0 / 0.9907 GB, free: 56.52 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00573/1.73, allocations: 1.413 MB / 0.992 GB, free: 55.11 MB / 0.5105 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 (212): * Single equations (assignments): 207 * 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.0004291/1.73, allocations: 202 kB / 0.9922 GB, free: 54.92 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.008336/1.738, allocations: 7.508 MB / 0.9996 GB, free: 48.32 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/1.738, allocations: 0 / 0.9996 GB, free: 48.32 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003844/1.742, allocations: 3.153 MB / 1.003 GB, free: 45.57 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003928/1.746, allocations: 0.6503 MB / 1.003 GB, free: 45.02 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02311/1.769, allocations: 15.98 MB / 1.019 GB, free: 30.43 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007283/1.777, allocations: 4.366 MB / 1.023 GB, free: 27.08 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.006848/1.783, allocations: 2.34 MB / 1.025 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001306/1.785, allocations: 319.4 kB / 1.026 GB, free: 25.03 MB / 0.5105 GB Notification: Performance of SimCode: time 1.042e-06/1.785, allocations: 0 / 1.026 GB, free: 25.03 MB / 0.5105 GB Notification: Performance of Templates: time 0.3622/2.147, allocations: 54.26 MB / 1.079 GB, free: 135.9 MB / 0.5417 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameForcesAndTorques3/FrameForcesAndTorques3.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches