Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_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_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_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001315/0.001314, allocations: 199.7 kB / 18.11 MB, free: 3.715 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.443/1.443, allocations: 226.5 MB / 245.4 MB, free: 8.156 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008404/0.0008407, allocations: 109.4 kB / 297.5 MB, free: 6.855 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3791/0.3791, allocations: 44.8 MB / 394.3 MB, free: 35.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003121/0.0003121, allocations: 11.98 kB / 467.9 MB, free: 12.01 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3627/0.3631, allocations: 62.96 MB / 0.5184 GB, free: 37.18 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1463/0.5094, allocations: 108.9 MB / 0.6248 GB, free: 12.32 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002709/0.5097, allocations: 87.94 kB / 0.6249 GB, free: 12.24 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.527/1.037, allocations: 121.4 MB / 0.7434 GB, free: 93.14 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.996e-06/1.037, allocations: 0 / 0.7434 GB, free: 93.14 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002459/1.037, allocations: 122.3 kB / 0.7435 GB, free: 93.13 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.01672/1.054, allocations: 6.189 MB / 0.7496 GB, free: 88.96 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/1.054, allocations: 12.91 kB / 0.7496 GB, free: 88.96 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02022/1.074, allocations: 5.358 MB / 0.7548 GB, free: 86.11 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01161/1.086, allocations: 5.332 MB / 0.76 GB, free: 82.93 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000441/1.086, allocations: 462.4 kB / 0.7605 GB, free: 82.71 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002597/1.089, allocations: 0.602 MB / 0.7611 GB, free: 82.5 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02715/1.116, allocations: 15.09 MB / 0.7758 GB, free: 67.73 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002372/1.116, allocations: 83.42 kB / 0.7759 GB, free: 67.65 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000923/1.117, allocations: 299.8 kB / 0.7762 GB, free: 67.36 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001297/1.119, allocations: 1.357 MB / 0.7775 GB, free: 66 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02116/1.14, allocations: 12.39 MB / 0.7896 GB, free: 53.58 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0586/1.198, allocations: 64.77 MB / 0.8528 GB, free: 2.863 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01635/1.215, allocations: 6.976 MB / 0.8596 GB, free: 11.74 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004183/1.219, allocations: 3.334 MB / 0.8629 GB, free: 8.395 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001269/1.219, allocations: 41.2 kB / 0.8629 GB, free: 8.352 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.517e-05/1.219, allocations: 63.81 kB / 0.863 GB, free: 8.281 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=218): time 4.899e-06/1.219, allocations: 0 / 0.863 GB, free: 8.281 MB / 0.5105 GB Notification: Performance of matching and sorting (n=260): time 0.4469/1.666, allocations: 28.76 MB / 0.8911 GB, free: 129.6 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.072e-05/1.666, allocations: 211.7 kB / 0.8913 GB, free: 129.4 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01001/1.676, allocations: 6.021 MB / 0.8972 GB, free: 128.9 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0007326/1.677, allocations: 67.08 kB / 0.8972 GB, free: 128.9 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.003099/1.68, allocations: 4.212 MB / 0.9013 GB, free: 127 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001427/1.682, allocations: 0.9822 MB / 0.9023 GB, free: 126.4 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004468/1.682, allocations: 151.2 kB / 0.9024 GB, free: 126.4 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003961/1.682, allocations: 0.6303 MB / 0.9031 GB, free: 126.1 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004674/1.687, allocations: 3.185 MB / 0.9062 GB, free: 126.1 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009972/1.697, allocations: 7.681 MB / 0.9137 GB, free: 120.3 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01865/1.716, allocations: 11.79 MB / 0.9252 GB, free: 112.8 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003327/1.716, allocations: 45.62 kB / 0.9252 GB, free: 112.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=990) (initialization): time 0.02594/1.742, allocations: 12.12 MB / 0.9371 GB, free: 108.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003231/1.742, allocations: 73.88 kB / 0.9371 GB, free: 108.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004546/1.743, allocations: 160.9 kB / 0.9373 GB, free: 108.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004028/1.747, allocations: 1.645 MB / 0.9389 GB, free: 108 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006576/1.754, allocations: 1.828 MB / 0.9407 GB, free: 107.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01445/1.768, allocations: 11.38 MB / 0.9518 GB, free: 101.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008112/1.776, allocations: 468.6 kB / 0.9522 GB, free: 101.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002074/1.778, allocations: 471.5 kB / 0.9527 GB, free: 101.5 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 719 * Number of states: 0 () * Number of discrete variables: 62 (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 (918): * Single equations (assignments): 913 * 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.008073/1.786, allocations: 2.868 MB / 0.9555 GB, free: 100.2 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001914/1.788, allocations: 0.5103 MB / 0.956 GB, free: 99.9 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01167/1.8, allocations: 6.204 MB / 0.9621 GB, free: 97.66 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.334e-05/1.8, allocations: 32.59 kB / 0.9621 GB, free: 97.66 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.585e-05/1.8, allocations: 7.594 kB / 0.9621 GB, free: 97.66 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.813e-05/1.8, allocations: 11.06 kB / 0.9621 GB, free: 97.66 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03316/1.833, allocations: 13.75 MB / 0.9755 GB, free: 92.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.553e-05/1.833, allocations: 0 / 0.9755 GB, free: 92.75 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002536/1.836, allocations: 499.6 kB / 0.976 GB, free: 92.71 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00342/1.839, allocations: 1.414 MB / 0.9774 GB, free: 91.94 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004731/1.84, allocations: 40 kB / 0.9774 GB, free: 91.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01189/1.852, allocations: 10.62 MB / 0.9878 GB, free: 82.43 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/1.852, allocations: 3.938 kB / 0.9878 GB, free: 82.43 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01672/1.869, allocations: 10.1 MB / 0.9977 GB, free: 73.73 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002595/1.871, allocations: 0.5802 MB / 0.9982 GB, free: 73.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002451/1.874, allocations: 40 kB / 0.9983 GB, free: 73.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003821/1.878, allocations: 227.4 kB / 0.9985 GB, free: 72.98 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007065/1.878, allocations: 154.3 kB / 0.9986 GB, free: 72.88 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003431/1.879, allocations: 64 kB / 0.9987 GB, free: 72.82 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.008754/1.887, allocations: 3.827 MB / 1.002 GB, free: 69.67 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.51e-07/1.888, allocations: 0 / 1.002 GB, free: 69.67 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01015/1.898, allocations: 1.474 MB / 1.004 GB, free: 68.2 MB / 0.5261 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.0009648/1.899, allocations: 202.7 kB / 1.004 GB, free: 68.02 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01228/1.911, allocations: 7.891 MB / 1.012 GB, free: 61.09 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.623e-06/1.911, allocations: 0 / 1.012 GB, free: 61.09 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00488/1.916, allocations: 3.21 MB / 1.015 GB, free: 58.29 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007261/1.923, allocations: 0.6889 MB / 1.016 GB, free: 57.71 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03133/1.955, allocations: 16.26 MB / 1.031 GB, free: 42.35 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008521/1.963, allocations: 4.421 MB / 1.036 GB, free: 37.92 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.007977/1.971, allocations: 2.594 MB / 1.038 GB, free: 35.34 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001731/1.973, allocations: 343.4 kB / 1.039 GB, free: 35 MB / 0.5261 GB Notification: Performance of SimCode: time 7.41e-07/1.973, allocations: 7.375 kB / 1.039 GB, free: 35 MB / 0.5261 GB Notification: Performance of Templates: time 0.3729/2.346, allocations: 57.72 MB / 1.095 GB, free: 131.8 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameForcesAndTorques2/FrameForcesAndTorques2.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches