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.0009697/0.0009697, allocations: 200.5 kB / 15.8 MB, free: 6.305 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.296/1.296, allocations: 226.6 MB / 243.1 MB, free: 14.09 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008111/0.000811, allocations: 96.06 kB / 295.1 MB, free: 10.01 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1885/0.1885, allocations: 44.84 MB / 392 MB, free: 9.289 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002703/0.0002703, allocations: 8 kB / 464.7 MB, free: 49.75 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1037, allocations: 62.95 MB / 0.5153 GB, free: 2.754 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces): time 0.2772/0.381, allocations: 101 MB / 0.614 GB, free: 8.418 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0446/0.4256, allocations: 20.17 MB / 0.6337 GB, free: 4.184 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01742/0.4431, allocations: 478.9 kB / 0.6341 GB, free: 3.715 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01617/0.4593, allocations: 5.389 MB / 0.6394 GB, free: 14.3 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0388/0.4981, allocations: 15.44 MB / 0.6545 GB, free: 14.8 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006236/0.5043, allocations: 1.073 MB / 0.6555 GB, free: 13.73 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.3332/0.8376, allocations: 92.23 MB / 0.7456 GB, free: 62.02 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009839/0.8474, allocations: 7.887 MB / 0.7533 GB, free: 61.33 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003415/0.8509, allocations: 2.14 MB / 0.7554 GB, free: 61.32 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004415/0.8553, allocations: 3.389 MB / 0.7587 GB, free: 61.16 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.000975/0.8563, allocations: 237.4 kB / 0.7589 GB, free: 61.07 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002388/0.8587, allocations: 1.003 MB / 0.7599 GB, free: 60.25 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.002391/0.8611, allocations: 3.013 MB / 0.7628 GB, free: 58.05 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.001501/0.8626, allocations: 1.397 MB / 0.7642 GB, free: 57.57 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.006644/0.8693, allocations: 9.257 MB / 0.7732 GB, free: 49.55 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.8693, allocations: 4 kB / 0.7732 GB, free: 49.55 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.814e-06/0.8693, allocations: 1.531 kB / 0.7732 GB, free: 49.55 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002806/0.8696, allocations: 4 kB / 0.7732 GB, free: 49.55 MB / 0.5105 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.01129/0.8809, allocations: 6.905 MB / 0.78 GB, free: 43.19 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.881, allocations: 8.031 kB / 0.78 GB, free: 43.18 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01304/0.894, allocations: 3.262 MB / 0.7832 GB, free: 40.04 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009055/0.9031, allocations: 4.917 MB / 0.788 GB, free: 36.46 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002149/0.9033, allocations: 404.8 kB / 0.7884 GB, free: 36.23 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001243/0.9046, allocations: 0.5362 MB / 0.7889 GB, free: 35.88 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02218/0.9268, allocations: 16.11 MB / 0.8046 GB, free: 23.27 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001868/0.927, allocations: 75.22 kB / 0.8047 GB, free: 23.23 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005869/0.9276, allocations: 257.3 kB / 0.8049 GB, free: 23.15 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004128/0.9317, allocations: 3.06 MB / 0.8079 GB, free: 20.61 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02058/0.9523, allocations: 13.35 MB / 0.821 GB, free: 11.36 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06231/1.015, allocations: 63.54 MB / 0.883 GB, free: 6.117 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01276/1.027, allocations: 5.649 MB / 0.8885 GB, free: 1.602 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003955/1.031, allocations: 3.791 MB / 0.8922 GB, free: 15.34 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001108/1.032, allocations: 57.92 kB / 0.8923 GB, free: 15.3 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.26e-05/1.032, allocations: 59.66 kB / 0.8924 GB, free: 15.25 MB / 0.573 GB Notification: Performance of pre-optimization done (n=229): time 3.707e-06/1.032, allocations: 0 / 0.8924 GB, free: 15.25 MB / 0.573 GB Notification: Performance of matching and sorting (n=262): time 0.07226/1.104, allocations: 31.57 MB / 0.9232 GB, free: 1.105 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001466/1.104, allocations: 285.5 kB / 0.9235 GB, free: 0.7695 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0101/1.114, allocations: 7.104 MB / 0.9304 GB, free: 9.688 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.00066/1.115, allocations: 61.7 kB / 0.9304 GB, free: 9.621 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.003407/1.118, allocations: 4.913 MB / 0.9352 GB, free: 4.742 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.001347/1.12, allocations: 1.02 MB / 0.9362 GB, free: 3.73 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004346/1.12, allocations: 180 kB / 0.9364 GB, free: 3.555 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0004248/1.12, allocations: 0.6823 MB / 0.9371 GB, free: 2.863 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3766/1.497, allocations: 3.503 MB / 0.9405 GB, free: 247.3 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01039/1.508, allocations: 8.775 MB / 0.9491 GB, free: 240.4 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008902/1.516, allocations: 5.394 MB / 0.9543 GB, free: 238.4 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001464/1.517, allocations: 53.33 kB / 0.9544 GB, free: 238.4 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1169) (initialization): time 0.02608/1.543, allocations: 14.03 MB / 0.9681 GB, free: 233.6 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001167/1.543, allocations: 82.5 kB / 0.9682 GB, free: 233.6 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001845/1.543, allocations: 184.8 kB / 0.9683 GB, free: 233.6 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004997/1.548, allocations: 2.322 MB / 0.9706 GB, free: 233.2 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005869/1.554, allocations: 2.082 MB / 0.9726 GB, free: 233 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01363/1.568, allocations: 14.53 MB / 0.9868 GB, free: 225.1 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006906/1.575, allocations: 0.5074 MB / 0.9873 GB, free: 224.9 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001261/1.576, allocations: 0.5254 MB / 0.9878 GB, free: 224.9 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.00483/1.581, allocations: 3.303 MB / 0.9911 GB, free: 223.5 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009638/1.582, allocations: 0.586 MB / 0.9916 GB, free: 223.5 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009519/1.591, allocations: 6.711 MB / 0.9982 GB, free: 218.8 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.484e-05/1.591, allocations: 33.02 kB / 0.9982 GB, free: 218.8 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.561e-05/1.591, allocations: 12 kB / 0.9982 GB, free: 218.8 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.3e-05/1.591, allocations: 11.16 kB / 0.9982 GB, free: 218.8 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01999/1.611, allocations: 14.61 MB / 1.013 GB, free: 204.2 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.431e-05/1.611, allocations: 4 kB / 1.013 GB, free: 204.2 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001986/1.613, allocations: 467.3 kB / 1.013 GB, free: 203.7 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00445/1.618, allocations: 2.007 MB / 1.015 GB, free: 201.7 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002628/1.618, allocations: 43.98 kB / 1.015 GB, free: 201.7 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01258/1.631, allocations: 13.55 MB / 1.028 GB, free: 187.9 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/1.631, allocations: 0 / 1.028 GB, free: 187.9 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01366/1.644, allocations: 10.7 MB / 1.039 GB, free: 177.2 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002123/1.646, allocations: 0.669 MB / 1.039 GB, free: 176.5 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007967/1.647, allocations: 47.98 kB / 1.039 GB, free: 176.4 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002194/1.649, allocations: 184.5 kB / 1.04 GB, free: 176.2 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004065/1.65, allocations: 153.6 kB / 1.04 GB, free: 176.1 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001751/1.65, allocations: 66.84 kB / 1.04 GB, free: 176 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 0.005753/1.656, allocations: 4.497 MB / 1.044 GB, free: 171.6 MB / 0.6043 GB Notification: Performance of sort global known variables: time 1.61e-07/1.656, allocations: 0 / 1.044 GB, free: 171.6 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.006467/1.662, allocations: 1.709 MB / 1.046 GB, free: 169.9 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.0004319/1.663, allocations: 182 kB / 1.046 GB, free: 169.7 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.00985/1.673, allocations: 8.608 MB / 1.054 GB, free: 161.1 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 5.511e-06/1.673, allocations: 0 / 1.054 GB, free: 161.1 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 0.003772/1.676, allocations: 3.167 MB / 1.057 GB, free: 157.9 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004471/1.681, allocations: 0.8066 MB / 1.058 GB, free: 157.1 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02229/1.703, allocations: 19.07 MB / 1.077 GB, free: 138 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004006/1.707, allocations: 4.976 MB / 1.082 GB, free: 132.9 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001548/1.709, allocations: 451.4 kB / 1.082 GB, free: 132.5 MB / 0.6043 GB Notification: Performance of SimCode: time 9.02e-07/1.709, allocations: 0 / 1.082 GB, free: 132.5 MB / 0.6043 GB Notification: Performance of Templates: time 0.3736/2.082, allocations: 185.5 MB / 1.263 GB, free: 192.3 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