Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.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.FrameForcesAndTorques,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_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques,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_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001392/0.001392, allocations: 203.1 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.269/1.269, allocations: 227.2 MB / 245 MB, free: 7.617 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008921/0.0008917, allocations: 102.3 kB / 297.3 MB, free: 6.184 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3231/0.3231, allocations: 45.22 MB / 394.7 MB, free: 31.65 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002705/0.0002705, allocations: 8 kB / 468.4 MB, free: 7.746 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.328/0.3283, allocations: 63.25 MB / 0.5192 GB, free: 43.68 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1356/0.464, allocations: 110.5 MB / 0.6271 GB, free: 11.07 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002297/0.4643, allocations: 79.95 kB / 0.6272 GB, free: 10.99 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5225/0.9868, allocations: 130 MB / 0.7541 GB, free: 94.94 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.275e-06/0.9868, allocations: 3.938 kB / 0.7541 GB, free: 94.93 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0003688/0.9872, allocations: 123.9 kB / 0.7542 GB, free: 94.93 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2215 * Number of variables: 2215 Notification: Performance of Generate backend data structure: time 0.02009/1.007, allocations: 6.871 MB / 0.7609 GB, free: 91.62 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/1.007, allocations: 7.938 kB / 0.761 GB, free: 91.62 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02537/1.033, allocations: 7.05 MB / 0.7678 GB, free: 90.54 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01642/1.049, allocations: 6.354 MB / 0.774 GB, free: 88.07 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004466/1.05, allocations: 479.1 kB / 0.7745 GB, free: 87.89 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002802/1.053, allocations: 0.6201 MB / 0.7751 GB, free: 87.71 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03225/1.085, allocations: 15.7 MB / 0.7904 GB, free: 78.68 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004058/1.085, allocations: 86.8 kB / 0.7905 GB, free: 78.63 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002902/1.088, allocations: 302.5 kB / 0.7908 GB, free: 78.46 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002069/1.09, allocations: 1.416 MB / 0.7922 GB, free: 77.98 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02499/1.115, allocations: 12.93 MB / 0.8048 GB, free: 68.21 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06249/1.178, allocations: 66.93 MB / 0.8702 GB, free: 15.58 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01521/1.193, allocations: 6.387 MB / 0.8764 GB, free: 9.035 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01512/1.208, allocations: 7.982 MB / 0.8842 GB, free: 0.9531 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.515e-05/1.208, allocations: 64.14 kB / 0.8843 GB, free: 0.8828 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=227): time 4.709e-06/1.208, allocations: 8 kB / 0.8843 GB, free: 0.875 MB / 0.5105 GB Notification: Performance of matching and sorting (n=269): time 0.2949/1.503, allocations: 28.78 MB / 0.9124 GB, free: 113.7 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.557e-05/1.503, allocations: 240.5 kB / 0.9126 GB, free: 113.5 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007163/1.51, allocations: 5.688 MB / 0.9182 GB, free: 113 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.00044/1.511, allocations: 63.52 kB / 0.9182 GB, free: 113 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002161/1.513, allocations: 4.434 MB / 0.9226 GB, free: 110.7 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009525/1.514, allocations: 1.024 MB / 0.9236 GB, free: 110.1 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003254/1.514, allocations: 157.1 kB / 0.9237 GB, free: 110.1 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000315/1.515, allocations: 0.6454 MB / 0.9243 GB, free: 109.8 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003588/1.518, allocations: 3.123 MB / 0.9274 GB, free: 109.8 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005151/1.523, allocations: 7.816 MB / 0.935 GB, free: 103.5 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005927/1.529, allocations: 4.839 MB / 0.9398 GB, free: 101.9 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.26e-05/1.529, allocations: 50.84 kB / 0.9398 GB, free: 101.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1032) (initialization): time 0.01899/1.548, allocations: 12.21 MB / 0.9517 GB, free: 97.75 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 9.674e-05/1.549, allocations: 73.53 kB / 0.9518 GB, free: 97.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001736/1.549, allocations: 167.5 kB / 0.952 GB, free: 97.75 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003723/1.552, allocations: 1.68 MB / 0.9536 GB, free: 97.45 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005764/1.558, allocations: 1.855 MB / 0.9554 GB, free: 97.23 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0115/1.57, allocations: 11.7 MB / 0.9668 GB, free: 91 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007443/1.577, allocations: 464.3 kB / 0.9673 GB, free: 90.86 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001659/1.579, allocations: 490.9 kB / 0.9677 GB, free: 90.79 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 755 * Number of states: 0 () * Number of discrete variables: 65 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.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],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 (960): * Single equations (assignments): 955 * 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.006726/1.586, allocations: 2.999 MB / 0.9707 GB, free: 89.41 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001651/1.587, allocations: 0.5372 MB / 0.9712 GB, free: 89.11 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01026/1.598, allocations: 6.068 MB / 0.9771 GB, free: 86.94 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.598e-05/1.598, allocations: 27.91 kB / 0.9771 GB, free: 86.94 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.92e-05/1.598, allocations: 10.41 kB / 0.9772 GB, free: 86.94 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.869e-05/1.598, allocations: 13.53 kB / 0.9772 GB, free: 86.94 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02489/1.623, allocations: 13.65 MB / 0.9905 GB, free: 82.03 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.501e-05/1.623, allocations: 3.781 kB / 0.9905 GB, free: 82.03 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00226/1.625, allocations: 0.4913 MB / 0.991 GB, free: 81.99 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003238/1.628, allocations: 1.413 MB / 0.9924 GB, free: 81.71 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003201/1.629, allocations: 49.64 kB / 0.9924 GB, free: 81.68 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01143/1.64, allocations: 10.92 MB / 1.003 GB, free: 75.85 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/1.64, allocations: 7.594 kB / 1.003 GB, free: 75.85 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01327/1.653, allocations: 10.4 MB / 1.013 GB, free: 68.94 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001992/1.655, allocations: 0.6161 MB / 1.014 GB, free: 68.33 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001526/1.657, allocations: 44 kB / 1.014 GB, free: 68.29 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003097/1.66, allocations: 177.8 kB / 1.014 GB, free: 68.18 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005142/1.661, allocations: 170.8 kB / 1.014 GB, free: 68.07 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002775/1.661, allocations: 66.2 kB / 1.014 GB, free: 68 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00726/1.668, allocations: 4.081 MB / 1.018 GB, free: 64.66 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.81e-07/1.668, allocations: 0 / 1.018 GB, free: 64.66 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.008354/1.676, allocations: 1.508 MB / 1.02 GB, free: 63.16 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.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 (211): * Single equations (assignments): 206 * 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.0007221/1.677, allocations: 198.7 kB / 1.02 GB, free: 62.97 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.009882/1.687, allocations: 7.772 MB / 1.028 GB, free: 56.14 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.204e-06/1.687, allocations: 4 kB / 1.028 GB, free: 56.14 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004241/1.691, allocations: 3.097 MB / 1.031 GB, free: 53.44 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00389/1.695, allocations: 0.6956 MB / 1.031 GB, free: 52.86 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02369/1.719, allocations: 16.77 MB / 1.048 GB, free: 37.52 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006697/1.726, allocations: 4.736 MB / 1.052 GB, free: 34.02 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.007063/1.733, allocations: 2.643 MB / 1.055 GB, free: 32.32 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001442/1.734, allocations: 365.4 kB / 1.055 GB, free: 31.98 MB / 0.5261 GB Notification: Performance of SimCode: time 6.41e-07/1.734, allocations: 0 / 1.055 GB, free: 31.98 MB / 0.5261 GB Notification: Performance of Templates: time 0.3498/2.084, allocations: 59.09 MB / 1.113 GB, free: 110.6 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameForcesAndTorques/FrameForcesAndTorques.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches