Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.WorldForces.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.WorldForces,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_cpp_ModelicaTest.MultiBody.Forces.WorldForces") translateModel(ModelicaTest.MultiBody.Forces.WorldForces,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_cpp_ModelicaTest.MultiBody.Forces.WorldForces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001097/0.001097, allocations: 192.5 kB / 16.1 MB, free: 5.68 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.262/1.262, allocations: 226.5 MB / 243.4 MB, free: 6.449 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008173/0.0008173, allocations: 109.3 kB / 295.5 MB, free: 6.664 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3002/0.3002, allocations: 44.82 MB / 392.3 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002789/0.000279, allocations: 8 kB / 465.3 MB, free: 12.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2849/0.2852, allocations: 62.96 MB / 0.5159 GB, free: 37.27 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces): time 0.07932/0.3646, allocations: 101 MB / 0.6145 GB, free: 4.191 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.05019/0.4148, allocations: 20.16 MB / 0.6342 GB, free: 15.96 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02044/0.4353, allocations: 474.9 kB / 0.6347 GB, free: 15.5 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01871/0.4541, allocations: 5.389 MB / 0.6399 GB, free: 10.08 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04816/0.5023, allocations: 15.47 MB / 0.655 GB, free: 10.56 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007947/0.5103, allocations: 1.139 MB / 0.6561 GB, free: 9.418 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.3702/0.8806, allocations: 92.3 MB / 0.7463 GB, free: 9.25 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01021/0.8908, allocations: 8.928 MB / 0.755 GB, free: 2.727 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004155/0.895, allocations: 2.128 MB / 0.7571 GB, free: 1.312 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004801/0.8999, allocations: 3.394 MB / 0.7604 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.001273/0.9012, allocations: 240 kB / 0.7606 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002908/0.9041, allocations: 1.153 MB / 0.7618 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.003475/0.9076, allocations: 3.008 MB / 0.7647 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.004522/0.9121, allocations: 3.188 MB / 0.7678 GB, free: 10.47 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.009957/0.9221, allocations: 9.265 MB / 0.7769 GB, free: 2.434 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/0.9221, allocations: 4 kB / 0.7769 GB, free: 2.43 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.703e-06/0.9221, allocations: 0 / 0.7769 GB, free: 2.43 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0003575/0.9225, allocations: 0 / 0.7769 GB, free: 2.43 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: 2429 * Number of variables: 2429 Notification: Performance of Generate backend data structure: time 0.01443/0.9369, allocations: 6.814 MB / 0.7835 GB, free: 12.15 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.937, allocations: 12.03 kB / 0.7835 GB, free: 12.14 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01409/0.9511, allocations: 3.254 MB / 0.7867 GB, free: 9.008 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01052/0.9616, allocations: 5.005 MB / 0.7916 GB, free: 5.332 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003315/0.962, allocations: 408 kB / 0.792 GB, free: 5.113 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00181/0.9638, allocations: 0.5396 MB / 0.7925 GB, free: 4.758 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02628/0.9901, allocations: 16.1 MB / 0.8082 GB, free: 8.148 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002297/0.9904, allocations: 80.48 kB / 0.8083 GB, free: 8.102 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008336/0.9912, allocations: 253.1 kB / 0.8085 GB, free: 8.031 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004889/0.9961, allocations: 3.055 MB / 0.8115 GB, free: 5.5 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0274/1.024, allocations: 13.36 MB / 0.8246 GB, free: 12.23 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07376/1.097, allocations: 63.57 MB / 0.8867 GB, free: 6.961 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01378/1.111, allocations: 5.654 MB / 0.8922 GB, free: 2.188 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004922/1.116, allocations: 3.789 MB / 0.8959 GB, free: 14.39 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001909/1.116, allocations: 42.42 kB / 0.8959 GB, free: 14.36 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.246e-05/1.116, allocations: 66.42 kB / 0.896 GB, free: 14.29 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=229): time 5.61e-06/1.116, allocations: 4 kB / 0.896 GB, free: 14.29 MB / 0.6042 GB Notification: Performance of matching and sorting (n=262): time 0.5253/1.642, allocations: 31.58 MB / 0.9268 GB, free: 238.6 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.625e-05/1.642, allocations: 283.7 kB / 0.9271 GB, free: 238.3 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0109/1.653, allocations: 7.096 MB / 0.934 GB, free: 235.8 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 0.0007257/1.654, allocations: 63.48 kB / 0.9341 GB, free: 235.7 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 0.003496/1.657, allocations: 4.916 MB / 0.9389 GB, free: 232 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 0.001428/1.659, allocations: 1.019 MB / 0.9399 GB, free: 231.2 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000499/1.659, allocations: 180.3 kB / 0.94 GB, free: 231.1 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 0.0004807/1.66, allocations: 0.6857 MB / 0.9407 GB, free: 230.6 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005551/1.665, allocations: 3.502 MB / 0.9441 GB, free: 229.5 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007955/1.673, allocations: 8.781 MB / 0.9527 GB, free: 221.2 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01325/1.686, allocations: 13.18 MB / 0.9656 GB, free: 210.7 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000222/1.687, allocations: 51.16 kB / 0.9656 GB, free: 210.7 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1169) (initialization): time 0.02499/1.712, allocations: 14.02 MB / 0.9793 GB, free: 205.6 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001469/1.712, allocations: 86.75 kB / 0.9794 GB, free: 205.6 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002243/1.712, allocations: 184 kB / 0.9796 GB, free: 205.4 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005272/1.717, allocations: 2.302 MB / 0.9818 GB, free: 203.8 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006434/1.724, allocations: 2.084 MB / 0.9839 GB, free: 202 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01484/1.739, allocations: 14.53 MB / 0.9981 GB, free: 187.9 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007819/1.746, allocations: 0.5072 MB / 0.9985 GB, free: 187.3 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001781/1.748, allocations: 0.5266 MB / 0.9991 GB, free: 186.8 MB / 0.6043 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 842 * Number of states: 0 () * Number of discrete variables: 71 (forceAndTorque.torqueArrow.arrowLine.twoHeadedArrow,forceAndTorque.torqueArrow.headAtOrigin,forceAndTorque.forceArrow.arrowLine.twoHeadedArrow,forceAndTorque.forceArrow.headAtOrigin,worldTorque1.arrow.arrowLine.twoHeadedArrow,worldTorque1.arrow.headAtOrigin,worldForce.arrow.arrowLine.twoHeadedArrow,worldForce.arrow.headAtOrigin,forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldTorque1.color[3],worldTorque1.color[2],worldTorque1.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],fixed2.color[3],fixed2.color[2],fixed2.color[1],worldForce.color[3],worldForce.color[2],worldForce.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 (1094): * Single equations (assignments): 1088 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 23,(2,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006314/1.755, allocations: 3.305 MB / 1.002 GB, free: 183.5 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00135/1.756, allocations: 0.5784 MB / 1.003 GB, free: 182.9 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01045/1.766, allocations: 6.715 MB / 1.009 GB, free: 176.2 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.506e-05/1.767, allocations: 29.02 kB / 1.009 GB, free: 176.1 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.49e-05/1.767, allocations: 12 kB / 1.009 GB, free: 176.1 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.189e-05/1.767, allocations: 15.89 kB / 1.009 GB, free: 176.1 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02442/1.791, allocations: 14.61 MB / 1.024 GB, free: 161.5 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.885e-05/1.791, allocations: 4 kB / 1.024 GB, free: 161.5 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002082/1.793, allocations: 459.3 kB / 1.024 GB, free: 161.1 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004628/1.798, allocations: 2.006 MB / 1.026 GB, free: 159 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003293/1.798, allocations: 44 kB / 1.026 GB, free: 159 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01371/1.812, allocations: 13.56 MB / 1.039 GB, free: 145.1 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/1.812, allocations: 0 / 1.039 GB, free: 145.1 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0147/1.827, allocations: 10.71 MB / 1.05 GB, free: 134.3 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001935/1.829, allocations: 0.6729 MB / 1.051 GB, free: 133.6 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001864/1.831, allocations: 47.94 kB / 1.051 GB, free: 133.5 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003471/1.834, allocations: 179.7 kB / 1.051 GB, free: 133.4 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008011/1.835, allocations: 153.6 kB / 1.051 GB, free: 133.2 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002706/1.835, allocations: 68.8 kB / 1.051 GB, free: 133.1 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 0.007634/1.843, allocations: 4.509 MB / 1.055 GB, free: 128.7 MB / 0.6043 GB Notification: Performance of sort global known variables: time 3.11e-07/1.843, allocations: 0 / 1.055 GB, free: 128.7 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.009292/1.852, allocations: 1.695 MB / 1.057 GB, free: 127 MB / 0.6043 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,Revolute2.phi,Revolute2.w,Revolute1.phi,Revolute1.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 (204): * Single equations (assignments): 198 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(4,75.0%) 18,(1,100.0%) 11,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007028/1.853, allocations: 189.7 kB / 1.057 GB, free: 126.8 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.01222/1.865, allocations: 8.604 MB / 1.066 GB, free: 118.2 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 7.875e-06/1.865, allocations: 4 kB / 1.066 GB, free: 118.2 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 0.004469/1.87, allocations: 3.168 MB / 1.069 GB, free: 115 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006627/1.876, allocations: 0.7871 MB / 1.069 GB, free: 114.2 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02764/1.904, allocations: 19.05 MB / 1.088 GB, free: 95.09 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006046/1.91, allocations: 4.983 MB / 1.093 GB, free: 90.06 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001709/1.912, allocations: 451.4 kB / 1.093 GB, free: 89.62 MB / 0.6043 GB Notification: Performance of SimCode: time 9.82e-07/1.912, allocations: 0 / 1.093 GB, free: 89.62 MB / 0.6043 GB Notification: Performance of Templates: time 0.455/2.367, allocations: 185.3 MB / 1.274 GB, free: 151.7 MB / 0.6043 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.WorldForces.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.WorldForces.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.WorldForces.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.WorldForces.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.WorldForces.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.WorldForces --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.WorldForces.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.WorldForces_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/WorldForces/WorldForces.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.WorldForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches