Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_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_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_ModelicaTest.MultiBody.Forces.FrameForces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009769/0.0009769, allocations: 198.3 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.201/1.201, 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.0008176/0.0008182, allocations: 93.34 kB / 297.3 MB, free: 6.203 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.309/0.309, allocations: 45.22 MB / 394.7 MB, free: 31.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002553/0.0002553, allocations: 11.98 kB / 468.4 MB, free: 7.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3401/0.3404, allocations: 63.25 MB / 0.5192 GB, free: 43.69 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1351/0.4755, allocations: 109.1 MB / 0.6257 GB, free: 12.52 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001959/0.4758, allocations: 77.47 kB / 0.6258 GB, free: 12.44 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4971/0.9729, allocations: 110.5 MB / 0.7337 GB, free: 95.34 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.645e-06/0.973, allocations: 0 / 0.7337 GB, free: 95.34 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0004729/0.9735, allocations: 100.3 kB / 0.7338 GB, free: 95.34 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: 1784 * Number of variables: 1784 Notification: Performance of Generate backend data structure: time 0.01881/0.9923, allocations: 5.644 MB / 0.7393 GB, free: 93 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.9923, allocations: 9.219 kB / 0.7393 GB, free: 93 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02582/1.018, allocations: 6.873 MB / 0.746 GB, free: 92.63 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01666/1.035, allocations: 5.791 MB / 0.7517 GB, free: 91.86 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003666/1.035, allocations: 377.3 kB / 0.752 GB, free: 91.84 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002455/1.038, allocations: 0.4988 MB / 0.7525 GB, free: 91.84 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02588/1.064, allocations: 12.41 MB / 0.7646 GB, free: 85.84 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003273/1.064, allocations: 80.45 kB / 0.7647 GB, free: 85.8 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001763/1.066, allocations: 242.9 kB / 0.7649 GB, free: 85.67 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001361/1.067, allocations: 1.125 MB / 0.766 GB, free: 85.46 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01656/1.084, allocations: 9.805 MB / 0.7756 GB, free: 82.4 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05288/1.137, allocations: 56.33 MB / 0.8306 GB, free: 38.09 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009525/1.146, allocations: 4.348 MB / 0.8349 GB, free: 33.61 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01091/1.157, allocations: 6.218 MB / 0.8409 GB, free: 27.33 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.119e-05/1.157, allocations: 55.48 kB / 0.841 GB, free: 27.27 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=154): time 4.549e-06/1.157, allocations: 0 / 0.841 GB, free: 27.27 MB / 0.4948 GB Notification: Performance of matching and sorting (n=166): time 0.03381/1.191, allocations: 14.27 MB / 0.8549 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.984e-05/1.191, allocations: 204.9 kB / 0.8551 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007408/1.199, allocations: 4.998 MB / 0.86 GB, free: 7.617 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003312/1.199, allocations: 45.7 kB / 0.86 GB, free: 7.566 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001955/1.201, allocations: 3.862 MB / 0.8638 GB, free: 3.707 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005738/1.201, allocations: 0.6647 MB / 0.8645 GB, free: 3.047 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002266/1.202, allocations: 132 kB / 0.8646 GB, free: 2.918 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000239/1.202, allocations: 0.587 MB / 0.8652 GB, free: 2.324 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002228/1.204, allocations: 1.992 MB / 0.8671 GB, free: 336 kB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005168/1.209, allocations: 6.277 MB / 0.8732 GB, free: 7.898 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004964/1.214, allocations: 3.474 MB / 0.8766 GB, free: 4.418 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.105e-05/1.214, allocations: 44 kB / 0.8767 GB, free: 4.375 MB / 0.5105 GB Notification: Performance of matching and sorting (n=865) (initialization): time 0.01469/1.229, allocations: 8.403 MB / 0.8849 GB, free: 11.96 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 9.772e-05/1.229, allocations: 72.94 kB / 0.885 GB, free: 11.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000173/1.229, allocations: 152 kB / 0.8851 GB, free: 11.74 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001326/1.231, allocations: 0.5823 MB / 0.8857 GB, free: 11.16 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004691/1.236, allocations: 1.505 MB / 0.8871 GB, free: 9.648 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006074/1.242, allocations: 5.685 MB / 0.8927 GB, free: 3.703 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005347/1.247, allocations: 347.1 kB / 0.893 GB, free: 3.367 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001052/1.248, allocations: 412 kB / 0.8934 GB, free: 2.965 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.005381/1.253, allocations: 2.52 MB / 0.8959 GB, free: 448 kB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.2642/1.518, allocations: 460.3 kB / 0.8963 GB, free: 114.6 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005705/1.523, allocations: 2.463 MB / 0.8987 GB, free: 114.5 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.594e-05/1.523, allocations: 19.97 kB / 0.8987 GB, free: 114.5 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.194e-05/1.523, allocations: 9.531 kB / 0.8987 GB, free: 114.5 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.722e-05/1.523, allocations: 7.438 kB / 0.8988 GB, free: 114.5 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01324/1.537, allocations: 7.165 MB / 0.9057 GB, free: 114 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.947e-06/1.537, allocations: 5.312 kB / 0.9058 GB, free: 114 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009593/1.538, allocations: 224.9 kB / 0.906 GB, free: 114 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008669/1.539, allocations: 353.7 kB / 0.9063 GB, free: 114 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.872e-05/1.539, allocations: 30.97 kB / 0.9063 GB, free: 114 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00443/1.543, allocations: 5.047 MB / 0.9113 GB, free: 111.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/1.543, allocations: 2.938 kB / 0.9113 GB, free: 111.3 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005717/1.549, allocations: 5.11 MB / 0.9163 GB, free: 110.3 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001541/1.55, allocations: 0.5227 MB / 0.9168 GB, free: 110.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004815/1.551, allocations: 28.66 kB / 0.9168 GB, free: 110.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001359/1.552, allocations: 76.19 kB / 0.9169 GB, free: 110.2 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002055/1.552, allocations: 101.6 kB / 0.917 GB, free: 110.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.761e-05/1.553, allocations: 46.92 kB / 0.917 GB, free: 110.2 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00533/1.558, allocations: 3.58 MB / 0.9205 GB, free: 110 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.7e-07/1.558, allocations: 0 / 0.9205 GB, free: 110 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005773/1.564, allocations: 1.122 MB / 0.9216 GB, free: 110 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.0004228/1.564, allocations: 167.1 kB / 0.9218 GB, free: 110 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.007787/1.572, allocations: 5.004 MB / 0.9266 GB, free: 109.6 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.099e-06/1.572, allocations: 0 / 0.9266 GB, free: 109.6 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00178/1.574, allocations: 1.412 MB / 0.928 GB, free: 108.9 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003159/1.577, allocations: 0.5986 MB / 0.9286 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01995/1.597, allocations: 12.5 MB / 0.9408 GB, free: 102.5 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005073/1.602, allocations: 3.962 MB / 0.9447 GB, free: 101.1 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.005373/1.607, allocations: 2.158 MB / 0.9468 GB, free: 101 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006807/1.608, allocations: 290.2 kB / 0.9471 GB, free: 101 MB / 0.5261 GB Notification: Performance of SimCode: time 1.253e-06/1.608, allocations: 4 kB / 0.9471 GB, free: 101 MB / 0.5261 GB Notification: Performance of Templates: time 0.06615/1.674, allocations: 39.78 MB / 0.9859 GB, free: 97.01 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameForces/FrameForces.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches