Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_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_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_ModelicaTest.MultiBody.Forces.WorldForces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001089/0.001089, allocations: 198.3 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.23/1.23, allocations: 227.2 MB / 245 MB, free: 7.609 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008209/0.0008208, allocations: 96.48 kB / 297.3 MB, free: 6.191 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3247/0.3247, allocations: 45.22 MB / 394.7 MB, free: 31.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002652/0.0002653, allocations: 12 kB / 468.4 MB, free: 7.758 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3474/0.3476, allocations: 63.25 MB / 0.5192 GB, free: 43.59 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1413/0.489, allocations: 110 MB / 0.6266 GB, free: 11.62 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002151/0.4893, allocations: 79.95 kB / 0.6267 GB, free: 11.54 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5397/1.029, allocations: 145 MB / 0.7683 GB, free: 90.47 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.734e-06/1.029, allocations: 0 / 0.7683 GB, free: 90.47 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0003273/1.029, allocations: 148.5 kB / 0.7684 GB, free: 90.46 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.02318/1.053, allocations: 7.577 MB / 0.7758 GB, free: 86.84 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/1.053, allocations: 11.03 kB / 0.7758 GB, free: 86.84 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03278/1.085, allocations: 9.499 MB / 0.7851 GB, free: 82.8 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02022/1.106, allocations: 7.652 MB / 0.7926 GB, free: 78.49 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005044/1.106, allocations: 0.523 MB / 0.7931 GB, free: 78.28 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003199/1.109, allocations: 0.7028 MB / 0.7938 GB, free: 78.05 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03045/1.14, allocations: 16.64 MB / 0.81 GB, free: 62.33 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002941/1.14, allocations: 99.06 kB / 0.8101 GB, free: 62.23 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001128/1.141, allocations: 347.8 kB / 0.8105 GB, free: 61.89 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001503/1.143, allocations: 1.487 MB / 0.8119 GB, free: 60.41 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02192/1.165, allocations: 13.19 MB / 0.8248 GB, free: 47.19 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07513/1.24, allocations: 75.42 MB / 0.8985 GB, free: 1.566 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2792/1.519, allocations: 6.313 MB / 0.9046 GB, free: 113.7 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001945/1.519, allocations: 46.62 kB / 0.9047 GB, free: 113.7 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.045e-05/1.52, allocations: 59.62 kB / 0.9047 GB, free: 113.6 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=229): time 5.44e-06/1.52, allocations: 1.125 kB / 0.9047 GB, free: 113.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=262): time 0.0654/1.585, allocations: 28.05 MB / 0.9321 GB, free: 107 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001054/1.585, allocations: 287.1 kB / 0.9324 GB, free: 106.7 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01338/1.599, allocations: 6.303 MB / 0.9386 GB, free: 106.2 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0009369/1.599, allocations: 64.92 kB / 0.9386 GB, free: 106.2 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.004931/1.604, allocations: 4.992 MB / 0.9435 GB, free: 103.6 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001573/1.606, allocations: 1.015 MB / 0.9445 GB, free: 103.1 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007267/1.607, allocations: 178.2 kB / 0.9447 GB, free: 103.1 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0005747/1.607, allocations: 0.6661 MB / 0.9453 GB, free: 102.7 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005139/1.612, allocations: 3.08 MB / 0.9483 GB, free: 101.9 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006675/1.619, allocations: 8.326 MB / 0.9564 GB, free: 93.81 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006244/1.625, allocations: 4.949 MB / 0.9613 GB, free: 92.17 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001089/1.626, allocations: 54.22 kB / 0.9613 GB, free: 92.17 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1118) (initialization): time 0.0205/1.646, allocations: 12.28 MB / 0.9733 GB, free: 87.93 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002628/1.646, allocations: 87.16 kB / 0.9734 GB, free: 87.92 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004125/1.647, allocations: 184 kB / 0.9736 GB, free: 87.92 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003271/1.65, allocations: 1.358 MB / 0.9749 GB, free: 87.68 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006306/1.656, allocations: 1.976 MB / 0.9768 GB, free: 87.43 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01219/1.669, allocations: 11.51 MB / 0.9881 GB, free: 80.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009243/1.678, allocations: 474.1 kB / 0.9885 GB, free: 80.21 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002195/1.68, allocations: 0.5138 MB / 0.989 GB, free: 80.14 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 848 * Number of states: 0 () * Number of discrete variables: 71 (forceAndTorque.torqueArrow.arrowLine.twoHeadedArrow,forceAndTorque.torqueArrow.headAtOrigin,forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceArrow.arrowLine.twoHeadedArrow,forceAndTorque.forceArrow.headAtOrigin,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.arrow.arrowLine.twoHeadedArrow,worldTorque1.arrow.headAtOrigin,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.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 (1043): * Single equations (assignments): 1037 * 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%) 14,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008694/1.689, allocations: 3.308 MB / 0.9923 GB, free: 78.62 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002051/1.691, allocations: 0.5924 MB / 0.9928 GB, free: 78.29 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01021/1.701, allocations: 5.276 MB / 0.998 GB, free: 76.35 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.074e-05/1.701, allocations: 27.59 kB / 0.998 GB, free: 76.35 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.87e-05/1.701, allocations: 7.656 kB / 0.998 GB, free: 76.35 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-05/1.701, allocations: 13.98 kB / 0.998 GB, free: 76.35 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03043/1.732, allocations: 12.94 MB / 1.011 GB, free: 67.72 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-05/1.732, allocations: 0 / 1.011 GB, free: 67.72 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002121/1.734, allocations: 423.7 kB / 1.011 GB, free: 67.39 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00261/1.737, allocations: 1.054 MB / 1.012 GB, free: 66.63 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003541/1.737, allocations: 45.25 kB / 1.012 GB, free: 66.59 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01012/1.747, allocations: 10.46 MB / 1.022 GB, free: 56.91 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/1.747, allocations: 0 / 1.022 GB, free: 56.91 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01159/1.759, allocations: 9.035 MB / 1.031 GB, free: 48.96 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002361/1.761, allocations: 0.6551 MB / 1.032 GB, free: 48.31 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001895/1.763, allocations: 44 kB / 1.032 GB, free: 48.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003392/1.767, allocations: 152.3 kB / 1.032 GB, free: 48.17 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004472/1.767, allocations: 150.8 kB / 1.032 GB, free: 48.08 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002182/1.767, allocations: 68 kB / 1.032 GB, free: 48.01 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.008586/1.776, allocations: 4.489 MB / 1.037 GB, free: 44.34 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.41e-07/1.776, allocations: 0 / 1.037 GB, free: 44.34 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01008/1.786, allocations: 1.603 MB / 1.038 GB, free: 42.75 MB / 0.5261 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.0008564/1.787, allocations: 192.4 kB / 1.038 GB, free: 42.57 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01095/1.798, allocations: 7.781 MB / 1.046 GB, free: 35.72 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.224e-06/1.798, allocations: 4 kB / 1.046 GB, free: 35.72 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003628/1.801, allocations: 2.781 MB / 1.049 GB, free: 33.24 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005516/1.807, allocations: 0.8071 MB / 1.049 GB, free: 32.58 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03302/1.84, allocations: 17.84 MB / 1.067 GB, free: 16.25 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009179/1.849, allocations: 5.164 MB / 1.072 GB, free: 11.51 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.00781/1.857, allocations: 2.825 MB / 1.075 GB, free: 8.699 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001645/1.859, allocations: 387.4 kB / 1.075 GB, free: 8.324 MB / 0.5261 GB Notification: Performance of SimCode: time 9.52e-07/1.859, allocations: 0 / 1.075 GB, free: 8.324 MB / 0.5261 GB Notification: Performance of Templates: time 0.3818/2.241, allocations: 60.41 MB / 1.134 GB, free: 120.9 MB / 0.5573 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_ModelicaTest.MultiBody.Forces.WorldForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches