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.001266/0.001266, allocations: 197.2 kB / 18.11 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.491/1.491, allocations: 226.5 MB / 245.4 MB, free: 6.504 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000833/0.0008327, allocations: 94.69 kB / 297.5 MB, free: 6.719 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3773/0.3773, allocations: 44.82 MB / 394.3 MB, free: 35.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003619/0.000362, allocations: 8 kB / 467.9 MB, free: 12.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4318/0.4322, allocations: 62.96 MB / 0.5184 GB, free: 37.62 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1444/0.5767, allocations: 110.5 MB / 0.6263 GB, free: 10.81 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002655/0.577, allocations: 87.94 kB / 0.6264 GB, free: 10.73 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5571/1.134, allocations: 127 MB / 0.7505 GB, free: 89.68 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.715e-06/1.134, allocations: 0 / 0.7505 GB, free: 89.68 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0005286/1.135, allocations: 129.2 kB / 0.7506 GB, free: 89.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: 2215 * Number of variables: 2215 Notification: Performance of Generate backend data structure: time 0.02223/1.157, allocations: 6.539 MB / 0.757 GB, free: 85.25 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/1.157, allocations: 6.906 kB / 0.757 GB, free: 85.25 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02054/1.178, allocations: 5.408 MB / 0.7622 GB, free: 82.38 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0135/1.191, allocations: 5.645 MB / 0.7678 GB, free: 77.46 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004439/1.192, allocations: 472.9 kB / 0.7682 GB, free: 77 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003013/1.195, allocations: 0.625 MB / 0.7688 GB, free: 76.38 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03379/1.228, allocations: 15.58 MB / 0.784 GB, free: 59.45 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004549/1.229, allocations: 87.42 kB / 0.7841 GB, free: 59.36 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002583/1.232, allocations: 303.8 kB / 0.7844 GB, free: 59.06 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001775/1.233, allocations: 1.412 MB / 0.7858 GB, free: 57.65 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02768/1.261, allocations: 12.78 MB / 0.7983 GB, free: 44.84 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07384/1.335, allocations: 66.85 MB / 0.8636 GB, free: 7.98 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01539/1.35, allocations: 6.242 MB / 0.8697 GB, free: 1.578 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004372/1.355, allocations: 3.375 MB / 0.8729 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01397/1.369, allocations: 7.931 MB / 0.8807 GB, free: 6.152 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.147e-05/1.369, allocations: 68.14 kB / 0.8808 GB, free: 6.078 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=227): time 5.37e-06/1.369, allocations: 0 / 0.8808 GB, free: 6.078 MB / 0.5261 GB Notification: Performance of matching and sorting (n=269): time 0.3952/1.764, allocations: 28.04 MB / 0.9081 GB, free: 125.4 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001034/1.764, allocations: 235.1 kB / 0.9084 GB, free: 125.2 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01327/1.778, allocations: 6.366 MB / 0.9146 GB, free: 124.7 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0008066/1.778, allocations: 64.61 kB / 0.9146 GB, free: 124.6 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.004876/1.783, allocations: 4.431 MB / 0.919 GB, free: 122.4 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.002577/1.786, allocations: 1.024 MB / 0.92 GB, free: 121.8 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001244/1.787, allocations: 158.1 kB / 0.9201 GB, free: 121.8 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0006573/1.788, allocations: 0.6424 MB / 0.9207 GB, free: 121.5 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006561/1.794, allocations: 3.124 MB / 0.9238 GB, free: 121.4 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008783/1.803, allocations: 7.841 MB / 0.9315 GB, free: 114.2 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01286/1.816, allocations: 11.92 MB / 0.9431 GB, free: 105.4 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002466/1.816, allocations: 50.38 kB / 0.9431 GB, free: 105.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1032) (initialization): time 0.0268/1.843, allocations: 12.21 MB / 0.9551 GB, free: 100.8 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003272/1.844, allocations: 78.16 kB / 0.9551 GB, free: 100.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004576/1.844, allocations: 171.8 kB / 0.9553 GB, free: 100.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004525/1.849, allocations: 1.658 MB / 0.9569 GB, free: 100.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007135/1.856, allocations: 1.851 MB / 0.9587 GB, free: 100.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01322/1.869, allocations: 11.4 MB / 0.9699 GB, free: 94.19 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008641/1.878, allocations: 466.4 kB / 0.9703 GB, free: 94.05 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002297/1.88, allocations: 484 kB / 0.9708 GB, free: 93.98 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.0108/1.891, allocations: 3 MB / 0.9737 GB, free: 92.53 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002361/1.893, allocations: 0.5438 MB / 0.9742 GB, free: 91.98 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01274/1.906, allocations: 6.066 MB / 0.9801 GB, free: 87.12 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-05/1.906, allocations: 28 kB / 0.9802 GB, free: 87.09 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.403e-05/1.906, allocations: 11.84 kB / 0.9802 GB, free: 87.09 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.387e-05/1.906, allocations: 16.64 kB / 0.9802 GB, free: 87.08 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02581/1.932, allocations: 13.65 MB / 0.9935 GB, free: 76.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.412e-05/1.932, allocations: 4 kB / 0.9935 GB, free: 76.09 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002293/1.934, allocations: 491.6 kB / 0.994 GB, free: 75.73 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003204/1.938, allocations: 1.41 MB / 0.9954 GB, free: 74.75 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003421/1.938, allocations: 55.84 kB / 0.9954 GB, free: 74.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01118/1.949, allocations: 10.64 MB / 1.006 GB, free: 65.21 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.658e-06/1.949, allocations: 4 kB / 1.006 GB, free: 65.21 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01388/1.963, allocations: 9.844 MB / 1.015 GB, free: 56.68 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00298/1.966, allocations: 0.617 MB / 1.016 GB, free: 56.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001726/1.968, allocations: 48 kB / 1.016 GB, free: 56.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002529/1.97, allocations: 182.7 kB / 1.016 GB, free: 55.91 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005216/1.971, allocations: 160.4 kB / 1.016 GB, free: 55.81 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000176/1.971, allocations: 71.28 kB / 1.016 GB, free: 55.74 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.006915/1.978, allocations: 4.083 MB / 1.02 GB, free: 52.39 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.31e-07/1.978, allocations: 0 / 1.02 GB, free: 52.39 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00899/1.987, allocations: 1.506 MB / 1.022 GB, free: 50.89 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.0006804/1.988, allocations: 204.3 kB / 1.022 GB, free: 50.7 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01063/1.998, allocations: 7.761 MB / 1.03 GB, free: 43.3 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.476e-06/1.998, allocations: 4 kB / 1.03 GB, free: 43.3 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004337/2.003, allocations: 3.098 MB / 1.033 GB, free: 40.17 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008051/2.011, allocations: 0.7412 MB / 1.033 GB, free: 39.46 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02463/2.035, allocations: 16.83 MB / 1.05 GB, free: 22.62 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005363/2.041, allocations: 4.611 MB / 1.054 GB, free: 18.01 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.006463/2.047, allocations: 2.631 MB / 1.057 GB, free: 15.4 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001315/2.049, allocations: 371.4 kB / 1.057 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of SimCode: time 1.052e-06/2.049, allocations: 4 kB / 1.057 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of Templates: time 0.3857/2.434, allocations: 59.28 MB / 1.115 GB, free: 121.8 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/jenkins1/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