Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.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.WorldTorques,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.WorldTorques") translateModel(ModelicaTest.MultiBody.Forces.WorldTorques,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.WorldTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001143/0.001142, allocations: 201.5 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.265/1.265, allocations: 227.2 MB / 245 MB, free: 7.586 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008446/0.0008445, allocations: 101 kB / 297.3 MB, free: 6.18 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3119/0.3119, allocations: 45.23 MB / 394.7 MB, free: 31.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002797/0.0002797, allocations: 8 kB / 468.4 MB, free: 7.727 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3166/0.3169, allocations: 63.25 MB / 0.5192 GB, free: 43.71 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1221/0.439, allocations: 108 MB / 0.6246 GB, free: 13.62 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002455/0.4393, allocations: 83.94 kB / 0.6247 GB, free: 13.54 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5496/0.9889, allocations: 136.5 MB / 0.758 GB, free: 92.65 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.543e-06/0.989, allocations: 0 / 0.758 GB, free: 92.65 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.000464/0.9894, allocations: 128.6 kB / 0.7581 GB, free: 92.65 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: 2215 * Number of variables: 2215 Notification: Performance of Generate backend data structure: time 0.02483/1.014, allocations: 7.05 MB / 0.765 GB, free: 89.24 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.165e-05/1.014, allocations: 9.625 kB / 0.765 GB, free: 89.24 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03412/1.048, allocations: 9.445 MB / 0.7742 GB, free: 87.81 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01888/1.067, allocations: 7.396 MB / 0.7814 GB, free: 84.26 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000477/1.068, allocations: 489.1 kB / 0.7819 GB, free: 84.07 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003026/1.071, allocations: 0.6404 MB / 0.7825 GB, free: 83.88 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03037/1.101, allocations: 15.27 MB / 0.7974 GB, free: 73.41 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002629/1.102, allocations: 98.61 kB / 0.7975 GB, free: 73.35 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001029/1.103, allocations: 309.1 kB / 0.7978 GB, free: 73.18 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001375/1.104, allocations: 1.343 MB / 0.7991 GB, free: 72.71 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02051/1.125, allocations: 12.07 MB / 0.8109 GB, free: 60.8 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06634/1.191, allocations: 67.64 MB / 0.877 GB, free: 7.508 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01274/1.204, allocations: 5.253 MB / 0.8821 GB, free: 2.098 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001344/1.204, allocations: 41.89 kB / 0.8821 GB, free: 2.07 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.847e-05/1.204, allocations: 51.56 kB / 0.8822 GB, free: 2.012 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=186): time 4.829e-06/1.204, allocations: 3.938 kB / 0.8822 GB, free: 2.008 MB / 0.5105 GB Notification: Performance of matching and sorting (n=204): time 0.3072/1.511, allocations: 19.78 MB / 0.9015 GB, free: 114.7 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.653e-05/1.511, allocations: 259 kB / 0.9018 GB, free: 114.4 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01095/1.522, allocations: 5.938 MB / 0.9076 GB, free: 114.1 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0004401/1.523, allocations: 57.62 kB / 0.9076 GB, free: 114 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.00243/1.525, allocations: 4.701 MB / 0.9122 GB, free: 112.5 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007172/1.526, allocations: 0.8145 MB / 0.913 GB, free: 112.1 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002743/1.526, allocations: 153.1 kB / 0.9132 GB, free: 112.1 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003014/1.526, allocations: 0.6376 MB / 0.9138 GB, free: 111.8 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002925/1.529, allocations: 2.464 MB / 0.9162 GB, free: 111.7 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004612/1.534, allocations: 7.402 MB / 0.9234 GB, free: 105.4 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004929/1.539, allocations: 4.187 MB / 0.9275 GB, free: 105.3 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.041e-05/1.539, allocations: 50.59 kB / 0.9275 GB, free: 105.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1011) (initialization): time 0.01673/1.556, allocations: 10.19 MB / 0.9375 GB, free: 102.7 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001429/1.556, allocations: 79.69 kB / 0.9376 GB, free: 102.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002763/1.556, allocations: 175.4 kB / 0.9377 GB, free: 102.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001859/1.558, allocations: 0.8229 MB / 0.9385 GB, free: 102.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005944/1.564, allocations: 1.761 MB / 0.9403 GB, free: 102.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01074/1.575, allocations: 8.616 MB / 0.9487 GB, free: 96.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007766/1.583, allocations: 422.8 kB / 0.9491 GB, free: 96.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002117/1.585, allocations: 487.8 kB / 0.9495 GB, free: 96.14 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 (worldTorque3.arrow.arrowLine.twoHeadedArrow,worldTorque3.arrow.headAtOrigin,worldTorque3.color[3],worldTorque3.color[2],worldTorque3.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],worldTorque2.arrow.arrowLine.twoHeadedArrow,worldTorque2.arrow.headAtOrigin,worldTorque2.color[3],worldTorque2.color[2],worldTorque2.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],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],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 (945): * Single equations (assignments): 939 * 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%) 14,(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007837/1.593, allocations: 3.056 MB / 0.9525 GB, free: 94.74 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001349/1.594, allocations: 0.55 MB / 0.9531 GB, free: 94.43 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006089/1.6, allocations: 3.427 MB / 0.9564 GB, free: 93.13 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-05/1.6, allocations: 22.94 kB / 0.9564 GB, free: 93.13 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.021e-05/1.6, allocations: 7.125 kB / 0.9564 GB, free: 93.13 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.477e-05/1.6, allocations: 12.12 kB / 0.9565 GB, free: 93.13 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01677/1.617, allocations: 9.618 MB / 0.9658 GB, free: 89.56 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-05/1.617, allocations: 0 / 0.9658 GB, free: 89.56 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001423/1.618, allocations: 308.2 kB / 0.9661 GB, free: 89.54 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001354/1.62, allocations: 0.521 MB / 0.9666 GB, free: 89.4 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001424/1.62, allocations: 39 kB / 0.9667 GB, free: 89.38 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006453/1.626, allocations: 7.723 MB / 0.9742 GB, free: 83.77 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/1.626, allocations: 3.938 kB / 0.9742 GB, free: 83.77 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007593/1.634, allocations: 6.253 MB / 0.9803 GB, free: 81 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002079/1.636, allocations: 0.6135 MB / 0.9809 GB, free: 80.55 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006415/1.637, allocations: 31.45 kB / 0.981 GB, free: 80.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001835/1.639, allocations: 114.5 kB / 0.9811 GB, free: 80.5 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000322/1.639, allocations: 126.1 kB / 0.9812 GB, free: 80.47 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001334/1.639, allocations: 53.41 kB / 0.9812 GB, free: 80.46 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.006884/1.646, allocations: 4.237 MB / 0.9854 GB, free: 79.06 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.372e-06/1.646, allocations: 0 / 0.9854 GB, free: 79.06 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007968/1.654, allocations: 1.391 MB / 0.9867 GB, free: 78.91 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,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 (153): * Single equations (assignments): 147 * 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%) 11,(1,100.0%) 11,(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004795/1.655, allocations: 177.4 kB / 0.9869 GB, free: 78.78 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.008704/1.663, allocations: 6.29 MB / 0.9931 GB, free: 76.41 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/1.663, allocations: 0 / 0.9931 GB, free: 76.41 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002305/1.666, allocations: 1.989 MB / 0.995 GB, free: 75.48 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004094/1.67, allocations: 0.7487 MB / 0.9957 GB, free: 75.17 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02198/1.692, allocations: 15.7 MB / 1.011 GB, free: 66.04 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004992/1.697, allocations: 4.795 MB / 1.016 GB, free: 62.52 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.005999/1.703, allocations: 2.511 MB / 1.018 GB, free: 60.92 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009456/1.704, allocations: 356.9 kB / 1.019 GB, free: 60.58 MB / 0.5261 GB Notification: Performance of SimCode: time 1.163e-06/1.704, allocations: 0 / 1.019 GB, free: 60.58 MB / 0.5261 GB Notification: Performance of Templates: time 0.08893/1.793, allocations: 50.59 MB / 1.068 GB, free: 17.79 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/WorldTorques/WorldTorques.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches