Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_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_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_ModelicaTest.MultiBody.Forces.WorldForces2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001083/0.001083, allocations: 197.5 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.217/1.217, allocations: 227.2 MB / 245 MB, free: 7.594 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008349/0.0008348, allocations: 94.83 kB / 297.3 MB, free: 6.223 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2928/0.2928, allocations: 45.23 MB / 394.7 MB, free: 31.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003009/0.0003009, allocations: 8.219 kB / 468.4 MB, free: 7.789 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3376/0.338, allocations: 63.25 MB / 0.5192 GB, free: 43.55 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1202/0.4582, allocations: 108 MB / 0.6247 GB, free: 13.64 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000269/0.4585, allocations: 75.97 kB / 0.6247 GB, free: 13.56 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5388/0.9974, allocations: 136 MB / 0.7576 GB, free: 92.33 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.094e-06/0.9974, allocations: 3.906 kB / 0.7576 GB, free: 92.33 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0004332/0.9978, allocations: 127.1 kB / 0.7577 GB, free: 92.32 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: 2214 * Number of variables: 2214 Notification: Performance of Generate backend data structure: time 0.02198/1.02, allocations: 7.01 MB / 0.7645 GB, free: 88.93 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/1.02, allocations: 11.78 kB / 0.7646 GB, free: 88.93 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03267/1.053, allocations: 9.423 MB / 0.7738 GB, free: 87.5 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01889/1.071, allocations: 7.381 MB / 0.781 GB, free: 84.19 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005365/1.072, allocations: 490.9 kB / 0.7814 GB, free: 83.99 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003489/1.076, allocations: 0.6442 MB / 0.7821 GB, free: 83.8 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03342/1.109, allocations: 15.22 MB / 0.7969 GB, free: 73.35 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002888/1.109, allocations: 100.2 kB / 0.797 GB, free: 73.29 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001177/1.111, allocations: 310.1 kB / 0.7973 GB, free: 73.11 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001433/1.112, allocations: 1.34 MB / 0.7986 GB, free: 72.65 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02123/1.133, allocations: 12.01 MB / 0.8104 GB, free: 61.45 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06079/1.194, allocations: 67.56 MB / 0.8763 GB, free: 8.215 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0121/1.206, allocations: 5.287 MB / 0.8815 GB, free: 2.766 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001074/1.206, allocations: 37.02 kB / 0.8815 GB, free: 2.742 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.847e-05/1.206, allocations: 47.56 kB / 0.8816 GB, free: 2.688 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=190): time 4.819e-06/1.206, allocations: 4 kB / 0.8816 GB, free: 2.684 MB / 0.5105 GB Notification: Performance of matching and sorting (n=208): time 0.3069/1.513, allocations: 19.87 MB / 0.901 GB, free: 114.4 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001043/1.514, allocations: 258.9 kB / 0.9012 GB, free: 114.2 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01259/1.526, allocations: 5.98 MB / 0.9071 GB, free: 113.8 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0003982/1.527, allocations: 58.02 kB / 0.9071 GB, free: 113.8 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.003314/1.53, allocations: 4.68 MB / 0.9117 GB, free: 112.5 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008836/1.531, allocations: 0.8239 MB / 0.9125 GB, free: 112 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003675/1.531, allocations: 154.9 kB / 0.9127 GB, free: 112 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002973/1.531, allocations: 0.6385 MB / 0.9133 GB, free: 111.7 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002858/1.534, allocations: 2.454 MB / 0.9157 GB, free: 111.7 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004443/1.539, allocations: 7.393 MB / 0.9229 GB, free: 105.3 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004634/1.543, allocations: 4.182 MB / 0.927 GB, free: 105.3 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.468e-05/1.543, allocations: 47.59 kB / 0.927 GB, free: 105.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1015) (initialization): time 0.01531/1.559, allocations: 10.14 MB / 0.9369 GB, free: 102.7 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001398/1.559, allocations: 81.59 kB / 0.937 GB, free: 102.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003016/1.559, allocations: 175.7 kB / 0.9372 GB, free: 102.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001939/1.561, allocations: 0.8014 MB / 0.938 GB, free: 102.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005142/1.566, allocations: 1.755 MB / 0.9397 GB, free: 102.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008953/1.575, allocations: 8.426 MB / 0.9479 GB, free: 96.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008632/1.584, allocations: 414.5 kB / 0.9483 GB, free: 96.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002223/1.586, allocations: 487.2 kB / 0.9488 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.007029/1.593, allocations: 3.049 MB / 0.9517 GB, free: 94.84 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001206/1.595, allocations: 0.5612 MB / 0.9523 GB, free: 94.53 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005636/1.6, allocations: 3.383 MB / 0.9556 GB, free: 93.23 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.626e-05/1.6, allocations: 23.62 kB / 0.9556 GB, free: 93.23 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-05/1.6, allocations: 8.625 kB / 0.9556 GB, free: 93.23 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.05e-05/1.6, allocations: 8.531 kB / 0.9556 GB, free: 93.23 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01534/1.616, allocations: 9.553 MB / 0.965 GB, free: 89.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.028e-05/1.616, allocations: 0 / 0.965 GB, free: 89.66 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001266/1.617, allocations: 295.6 kB / 0.9652 GB, free: 89.64 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001263/1.618, allocations: 0.5088 MB / 0.9657 GB, free: 89.5 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001246/1.618, allocations: 37.17 kB / 0.9658 GB, free: 89.47 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006068/1.624, allocations: 7.53 MB / 0.9731 GB, free: 83.93 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/1.624, allocations: 3.531 kB / 0.9731 GB, free: 83.93 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007118/1.632, allocations: 6.234 MB / 0.9792 GB, free: 81.12 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001771/1.633, allocations: 0.6138 MB / 0.9798 GB, free: 80.67 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005637/1.634, allocations: 38.58 kB / 0.9799 GB, free: 80.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001668/1.636, allocations: 105 kB / 0.98 GB, free: 80.62 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002675/1.636, allocations: 131.3 kB / 0.9801 GB, free: 80.59 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001187/1.636, allocations: 49.56 kB / 0.9801 GB, free: 80.57 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.005963/1.642, allocations: 4.268 MB / 0.9843 GB, free: 79.16 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.7e-07/1.642, allocations: 0 / 0.9843 GB, free: 79.16 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007089/1.649, allocations: 1.398 MB / 0.9857 GB, free: 79.01 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.0004139/1.65, allocations: 180.5 kB / 0.9858 GB, free: 78.88 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.008134/1.658, allocations: 6.25 MB / 0.9919 GB, free: 76.52 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/1.658, allocations: 4 kB / 0.9919 GB, free: 76.51 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002136/1.66, allocations: 1.973 MB / 0.9939 GB, free: 75.57 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003703/1.664, allocations: 0.746 MB / 0.9946 GB, free: 75.27 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02463/1.688, allocations: 15.66 MB / 1.01 GB, free: 67.09 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004588/1.693, allocations: 4.78 MB / 1.015 GB, free: 63.57 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.005541/1.698, allocations: 2.529 MB / 1.017 GB, free: 61.96 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008097/1.699, allocations: 359.1 kB / 1.017 GB, free: 61.62 MB / 0.5261 GB Notification: Performance of SimCode: time 8.51e-07/1.699, allocations: 0 / 1.017 GB, free: 61.62 MB / 0.5261 GB Notification: Performance of Templates: time 0.08359/1.783, allocations: 50.7 MB / 1.067 GB, free: 19.05 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/WorldForces2/WorldForces2.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches