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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001083/0.001084, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001179/0.001179, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.383/1.383, allocations: 227.4 MB / 246.8 MB, free: 10.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2306/0.2306, allocations: 46.1 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001378, allocations: 72.02 kB / 417.6 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1505/0.1519, allocations: 62.45 MB / 480 MB, free: 5.281 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.01503/0.167, allocations: 12.63 MB / 492.7 MB, free: 8.594 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01093/0.178, allocations: 4.508 MB / 497.2 MB, free: 4.074 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002835/0.1809, allocations: 83.75 kB / 497.2 MB, free: 3.992 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007391/0.1883, allocations: 3.699 MB / 0.4892 GB, free: 288 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007579/0.196, allocations: 2.187 MB / 0.4913 GB, free: 14.09 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003459/0.1994, allocations: 0.9942 MB / 0.4923 GB, free: 13.09 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.009921/0.2094, allocations: 6.031 MB / 0.4982 GB, free: 7.047 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007457/0.2169, allocations: 4.561 MB / 0.5027 GB, free: 2.418 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004889/0.2218, allocations: 1.943 MB / 0.5045 GB, free: 480 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2557/0.4775, allocations: 2.605 MB / 0.5071 GB, free: 17.57 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002036/0.4796, allocations: 406.7 kB / 0.5075 GB, free: 17.57 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004174/0.4838, allocations: 1.433 MB / 0.5089 GB, free: 17.57 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003399/0.4872, allocations: 2.423 MB / 0.5112 GB, free: 17.51 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004003/0.4912, allocations: 2.704 MB / 0.5139 GB, free: 16.55 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01234/0.5036, allocations: 8.353 MB / 0.522 GB, free: 15.13 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.5036, allocations: 1.625 kB / 0.522 GB, free: 15.13 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.5036, allocations: 0 / 0.522 GB, free: 15.13 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003629/0.504, allocations: 1.5 kB / 0.522 GB, free: 15.13 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1726 * Number of variables: 1726 Notification: Performance of Generate backend data structure: time 0.01959/0.5236, allocations: 6 MB / 0.5279 GB, free: 11.99 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.5236, allocations: 7.438 kB / 0.5279 GB, free: 11.99 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01303/0.5367, allocations: 2.538 MB / 0.5304 GB, free: 10.81 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00972/0.5464, allocations: 3.67 MB / 0.534 GB, free: 8.754 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002059/0.5467, allocations: 276.1 kB / 0.5342 GB, free: 8.664 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001265/0.548, allocations: 381.8 kB / 0.5346 GB, free: 8.566 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0215/0.5695, allocations: 11.6 MB / 0.5459 GB, free: 1.133 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001601/0.5697, allocations: 52.36 kB / 0.546 GB, free: 1.105 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004743/0.5701, allocations: 179.4 kB / 0.5462 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003397/0.5736, allocations: 2.145 MB / 0.5482 GB, free: 14.86 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02166/0.5952, allocations: 9.615 MB / 0.5576 GB, free: 5.461 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.067/0.6623, allocations: 45.82 MB / 0.6024 GB, free: 6.977 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01088/0.6732, allocations: 3.927 MB / 0.6062 GB, free: 2.91 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002984/0.6762, allocations: 2.161 MB / 0.6083 GB, free: 0.7344 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01182/0.6881, allocations: 6.52 MB / 0.6147 GB, free: 10.17 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.915e-05/0.6882, allocations: 47.56 kB / 0.6147 GB, free: 10.11 MB / 462.1 MB Notification: Performance of pre-optimization done (n=154): time 6.603e-06/0.6882, allocations: 0 / 0.6147 GB, free: 10.11 MB / 462.1 MB Notification: Performance of matching and sorting (n=166): time 0.05019/0.7384, allocations: 16.47 MB / 0.6308 GB, free: 9.559 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002321/0.7387, allocations: 204.5 kB / 0.631 GB, free: 9.32 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01006/0.7487, allocations: 5.603 MB / 0.6365 GB, free: 3.734 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005947/0.7494, allocations: 53.22 kB / 0.6365 GB, free: 3.68 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003699/0.7531, allocations: 3.696 MB / 0.6402 GB, free: 15.98 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001236/0.7543, allocations: 0.6664 MB / 0.6408 GB, free: 15.32 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002218/0.7566, allocations: 1.418 MB / 0.6422 GB, free: 13.9 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002131/0.7568, allocations: 301.1 kB / 0.6425 GB, free: 13.6 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003572/0.7604, allocations: 2.317 MB / 0.6447 GB, free: 11.28 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007319/0.7677, allocations: 6.575 MB / 0.6512 GB, free: 2.664 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01325/0.781, allocations: 9.559 MB / 0.6605 GB, free: 7.602 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001443/0.7812, allocations: 40 kB / 0.6605 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of matching and sorting (n=902) (initialization): time 0.02107/0.8022, allocations: 9.619 MB / 0.6699 GB, free: 14 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 9.531e-05/0.8024, allocations: 74.34 kB / 0.67 GB, free: 13.93 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001764/0.8026, allocations: 148 kB / 0.6701 GB, free: 13.79 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003103/0.8057, allocations: 1.219 MB / 0.6713 GB, free: 12.57 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005226/0.8109, allocations: 1.571 MB / 0.6729 GB, free: 10.99 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01018/0.8211, allocations: 8.341 MB / 0.681 GB, free: 2.375 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00666/0.8278, allocations: 363.1 kB / 0.6814 GB, free: 2.023 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001991/0.8298, allocations: 424 kB / 0.6818 GB, free: 1.609 MB / 0.5138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 686 * Number of states: 0 () * Number of discrete variables: 49 (frameForce2.arrow.twoHeadedArrow,frameForce2.arrow.headAtOrigin,frameForce1.arrow.twoHeadedArrow,frameForce1.arrow.headAtOrigin,FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],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.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 (842): * Single equations (assignments): 835 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,13,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005464/0.8353, allocations: 2.46 MB / 0.6842 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001053/0.8364, allocations: 454 kB / 0.6846 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006488/0.8428, allocations: 3.425 MB / 0.6879 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.062e-05/0.8429, allocations: 20 kB / 0.688 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.412e-05/0.8429, allocations: 11.92 kB / 0.688 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.567e-05/0.8429, allocations: 11.97 kB / 0.688 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0164/0.8593, allocations: 8.199 MB / 0.696 GB, free: 2.941 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.681e-05/0.8594, allocations: 4 kB / 0.696 GB, free: 2.938 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001565/0.861, allocations: 303.8 kB / 0.6963 GB, free: 2.641 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002903/0.8639, allocations: 0.9886 MB / 0.6972 GB, free: 1.645 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002113/0.8641, allocations: 32 kB / 0.6973 GB, free: 1.613 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01008/0.8742, allocations: 7.689 MB / 0.7048 GB, free: 9.656 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.014e-06/0.8742, allocations: 4 kB / 0.7048 GB, free: 9.652 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0105/0.8848, allocations: 5.87 MB / 0.7105 GB, free: 3.719 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002407/0.8872, allocations: 0.5185 MB / 0.711 GB, free: 3.176 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006103/0.8879, allocations: 35.98 kB / 0.7111 GB, free: 3.141 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001521/0.8894, allocations: 83.89 kB / 0.7111 GB, free: 3.059 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003208/0.8897, allocations: 100.9 kB / 0.7112 GB, free: 2.961 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001263/0.8899, allocations: 58.11 kB / 0.7113 GB, free: 2.906 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.3137/1.204, allocations: 3.577 MB / 0.7148 GB, free: 189 MB / 0.545 GB Notification: Performance of sort global known variables: time 7.21e-07/1.204, allocations: 1 kB / 0.7148 GB, free: 189 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.009942/1.214, allocations: 1.148 MB / 0.7159 GB, free: 189 MB / 0.545 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,10,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005134/1.214, allocations: 161.3 kB / 0.7161 GB, free: 188.9 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01167/1.226, allocations: 6.3 MB / 0.7222 GB, free: 188.3 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.857e-06/1.226, allocations: 4.094 kB / 0.7222 GB, free: 188.3 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002467/1.228, allocations: 1.618 MB / 0.7238 GB, free: 187.7 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004083/1.232, allocations: 0.6031 MB / 0.7244 GB, free: 187.5 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01984/1.252, allocations: 10.87 MB / 0.735 GB, free: 182.9 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005032/1.257, allocations: 3.765 MB / 0.7387 GB, free: 181.4 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005151/1.262, allocations: 2.131 MB / 0.7408 GB, free: 181.3 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000919/1.263, allocations: 298.6 kB / 0.741 GB, free: 181.2 MB / 0.545 GB Notification: Performance of SimCode: time 1.422e-06/1.263, allocations: 0 / 0.741 GB, free: 181.2 MB / 0.545 GB Notification: Performance of Templates: time 0.07553/1.339, allocations: 45.66 MB / 0.7856 GB, free: 142.2 MB / 0.545 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches