Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.WorldForces2.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.WorldForces2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.WorldForces2") translateModel(ModelicaTest.MultiBody.Forces.WorldForces2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.WorldForces2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009816/0.0009817, allocations: 194.5 kB / 16.78 MB, free: 4.918 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.278/1.278, allocations: 226.5 MB / 244.1 MB, free: 8.207 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007559/0.0007559, allocations: 110 kB / 296.1 MB, free: 6.902 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3127/0.3127, allocations: 44.83 MB / 393 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003078/0.0003078, allocations: 8 kB / 465.9 MB, free: 12.71 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3088/0.3091, allocations: 62.95 MB / 0.5165 GB, free: 37.01 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1301/0.4393, allocations: 108 MB / 0.6219 GB, free: 13.37 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002367/0.4396, allocations: 79.97 kB / 0.622 GB, free: 13.29 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5084/0.948, allocations: 132.2 MB / 0.751 GB, free: 86.99 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.9481, allocations: 0 / 0.751 GB, free: 86.99 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004789/0.9486, allocations: 131.2 kB / 0.7512 GB, free: 86.98 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: 2214 * Number of variables: 2214 Notification: Performance of Generate backend data structure: time 0.0224/0.971, allocations: 6.787 MB / 0.7578 GB, free: 82.44 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.971, allocations: 11.59 kB / 0.7578 GB, free: 82.44 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02767/0.9987, allocations: 6.954 MB / 0.7646 GB, free: 78.24 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01594/1.015, allocations: 6.608 MB / 0.7711 GB, free: 71.55 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005174/1.015, allocations: 489.2 kB / 0.7715 GB, free: 71.07 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003312/1.019, allocations: 0.6446 MB / 0.7722 GB, free: 70.42 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03316/1.052, allocations: 15.12 MB / 0.7869 GB, free: 53.84 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005532/1.052, allocations: 99.36 kB / 0.787 GB, free: 53.75 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002852/1.055, allocations: 315.8 kB / 0.7873 GB, free: 53.44 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001892/1.057, allocations: 1.345 MB / 0.7886 GB, free: 52.09 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02239/1.08, allocations: 11.85 MB / 0.8002 GB, free: 40.21 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07069/1.15, allocations: 67.51 MB / 0.8661 GB, free: 2.691 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01302/1.163, allocations: 5.278 MB / 0.8713 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003775/1.167, allocations: 2.646 MB / 0.8739 GB, free: 10.59 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001475/1.167, allocations: 40.89 kB / 0.8739 GB, free: 10.55 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.609e-05/1.167, allocations: 51.56 kB / 0.874 GB, free: 10.48 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=190): time 4.338e-06/1.167, allocations: 0 / 0.874 GB, free: 10.48 MB / 0.5261 GB Notification: Performance of matching and sorting (n=208): time 0.3112/1.479, allocations: 19.62 MB / 0.8931 GB, free: 123.5 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.309e-05/1.479, allocations: 257.9 kB / 0.8934 GB, free: 123.2 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01157/1.49, allocations: 6.717 MB / 0.8999 GB, free: 122.7 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0004205/1.491, allocations: 55.33 kB / 0.9 GB, free: 122.7 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.00293/1.494, allocations: 4.67 MB / 0.9045 GB, free: 120.3 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.00106/1.495, allocations: 0.8267 MB / 0.9053 GB, free: 119.9 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004393/1.495, allocations: 155.9 kB / 0.9055 GB, free: 119.9 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003386/1.496, allocations: 0.6317 MB / 0.9061 GB, free: 119.6 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003631/1.499, allocations: 2.461 MB / 0.9085 GB, free: 119.6 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006583/1.506, allocations: 7.417 MB / 0.9158 GB, free: 113.2 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01238/1.518, allocations: 10.77 MB / 0.9263 GB, free: 106.6 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000337/1.519, allocations: 50.47 kB / 0.9263 GB, free: 106.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1015) (initialization): time 0.02125/1.54, allocations: 10.14 MB / 0.9362 GB, free: 102.7 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003655/1.54, allocations: 81.66 kB / 0.9363 GB, free: 102.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004598/1.541, allocations: 174.7 kB / 0.9365 GB, free: 102.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002188/1.543, allocations: 0.7767 MB / 0.9372 GB, free: 102.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006304/1.549, allocations: 1.758 MB / 0.9389 GB, free: 102.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01103/1.56, allocations: 8.3 MB / 0.9471 GB, free: 96.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008462/1.569, allocations: 410.9 kB / 0.9474 GB, free: 96.31 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00203/1.571, allocations: 482.5 kB / 0.9479 GB, free: 96.25 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 801 * Number of states: 0 () * Number of discrete variables: 63 (worldForce2.arrow.arrowLine.twoHeadedArrow,worldForce2.arrow.headAtOrigin,worldForce2.color[3],worldForce2.color[2],worldForce2.color[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],fixed2.color[3],fixed2.color[2],fixed2.color[1],worldForce1.arrow.arrowLine.twoHeadedArrow,worldForce1.arrow.headAtOrigin,worldForce1.color[3],worldForce1.color[2],worldForce1.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],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldForce.arrow.arrowLine.twoHeadedArrow,worldForce.arrow.headAtOrigin,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 (952): * Single equations (assignments): 946 * 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 {(1,100.0%) 13,(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009131/1.58, allocations: 3.04 MB / 0.9509 GB, free: 94.85 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00166/1.582, allocations: 0.5609 MB / 0.9514 GB, free: 94.54 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007321/1.589, allocations: 3.401 MB / 0.9547 GB, free: 93.23 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.586e-05/1.589, allocations: 23.03 kB / 0.9548 GB, free: 93.23 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.119e-05/1.589, allocations: 10.31 kB / 0.9548 GB, free: 93.23 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.232e-05/1.589, allocations: 12.84 kB / 0.9548 GB, free: 93.23 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02359/1.613, allocations: 9.556 MB / 0.9641 GB, free: 89.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.263e-05/1.613, allocations: 0 / 0.9641 GB, free: 89.66 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001434/1.614, allocations: 300.2 kB / 0.9644 GB, free: 89.63 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001419/1.616, allocations: 0.4978 MB / 0.9649 GB, free: 89.5 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003037/1.616, allocations: 38.59 kB / 0.9649 GB, free: 89.47 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007071/1.623, allocations: 7.404 MB / 0.9722 GB, free: 83.95 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/1.623, allocations: 0 / 0.9722 GB, free: 83.95 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01022/1.634, allocations: 6.09 MB / 0.9781 GB, free: 81.32 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002271/1.636, allocations: 0.6084 MB / 0.9787 GB, free: 80.87 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002257/1.638, allocations: 39.5 kB / 0.9787 GB, free: 80.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003141/1.641, allocations: 99.97 kB / 0.9788 GB, free: 80.82 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005278/1.642, allocations: 119.2 kB / 0.9789 GB, free: 80.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002617/1.642, allocations: 57.67 kB / 0.979 GB, free: 80.79 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.009633/1.652, allocations: 4.274 MB / 0.9832 GB, free: 78.59 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.51e-07/1.652, allocations: 4 kB / 0.9832 GB, free: 78.59 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01103/1.663, allocations: 1.396 MB / 0.9845 GB, free: 77.2 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (Revolute3.phi,Revolute3.w,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 (160): * Single equations (assignments): 154 * 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 {(1,100.0%) 10,(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.0008687/1.664, allocations: 180 kB / 0.9847 GB, free: 77.04 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01097/1.675, allocations: 6.256 MB / 0.9908 GB, free: 71.51 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.034e-05/1.675, allocations: 4 kB / 0.9908 GB, free: 71.51 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002947/1.678, allocations: 1.963 MB / 0.9927 GB, free: 69.74 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008512/1.686, allocations: 0.7693 MB / 0.9935 GB, free: 69.09 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03307/1.72, allocations: 16.47 MB / 1.01 GB, free: 54.06 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01099/1.731, allocations: 4.633 MB / 1.014 GB, free: 50.55 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001711/1.732, allocations: 410 kB / 1.014 GB, free: 50.16 MB / 0.5261 GB Notification: Performance of SimCode: time 9.72e-07/1.732, allocations: 0 / 1.014 GB, free: 50.16 MB / 0.5261 GB Notification: Performance of Templates: time 0.4617/2.194, allocations: 167.5 MB / 1.178 GB, free: 105.1 MB / 0.5573 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.WorldForces2.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.WorldForces2.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.WorldForces2.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.WorldForces2 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.WorldForces2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.WorldForces2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/WorldForces2/WorldForces2.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.WorldForces2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches