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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001136/0.001136, allocations: 99.36 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001237/0.001237, allocations: 201.6 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.376/1.376, allocations: 227.2 MB / 245.9 MB, free: 12.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2299/0.2299, allocations: 45.92 MB / 344 MB, free: 12.34 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003159/0.000316, allocations: 11.98 kB / 417.9 MB, free: 20.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1335, allocations: 63.45 MB / 481.4 MB, free: 5.434 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldTorques): time 0.3596/0.4932, allocations: 85.46 MB / 0.5536 GB, free: 9.996 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05099/0.5442, allocations: 19.17 MB / 0.5723 GB, free: 10.41 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02162/0.5659, allocations: 426.9 kB / 0.5727 GB, free: 9.996 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01631/0.5823, allocations: 4.351 MB / 0.5769 GB, free: 5.625 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04518/0.6275, allocations: 12.2 MB / 0.5888 GB, free: 9.398 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005474/0.633, allocations: 0.9986 MB / 0.5898 GB, free: 8.398 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.103/0.7361, allocations: 72.22 MB / 0.6603 GB, free: 108 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01187/0.748, allocations: 7.254 MB / 0.6674 GB, free: 8.773 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003523/0.7515, allocations: 1.635 MB / 0.669 GB, free: 7.133 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003637/0.7552, allocations: 2.212 MB / 0.6712 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.001082/0.7563, allocations: 220 kB / 0.6714 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002676/0.759, allocations: 1.085 MB / 0.6725 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.003016/0.762, allocations: 2.618 MB / 0.675 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.00188/0.7639, allocations: 1.31 MB / 0.6763 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.01133/0.7753, allocations: 8.83 MB / 0.6849 GB, free: 6.816 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.7753, allocations: 0 / 0.6849 GB, free: 6.816 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.607e-06/0.7753, allocations: 0 / 0.6849 GB, free: 6.816 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0004856/0.7758, allocations: 0 / 0.6849 GB, free: 6.816 MB / 0.5137 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.0208/0.7966, allocations: 6.837 MB / 0.6916 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.864e-05/0.7967, allocations: 8.031 kB / 0.6916 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06248/0.8592, allocations: 11.16 MB / 0.7025 GB, free: 4.703 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3426/1.202, allocations: 4.992 MB / 0.7074 GB, free: 187.3 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005809/1.202, allocations: 366 kB / 0.7077 GB, free: 187.2 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002816/1.205, allocations: 0.4942 MB / 0.7082 GB, free: 187.2 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03493/1.24, allocations: 14.8 MB / 0.7227 GB, free: 181.2 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003226/1.241, allocations: 73.48 kB / 0.7227 GB, free: 181.2 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008036/1.241, allocations: 233.4 kB / 0.7229 GB, free: 181.1 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004894/1.246, allocations: 2.724 MB / 0.7256 GB, free: 180.6 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02394/1.27, allocations: 12.09 MB / 0.7374 GB, free: 174.3 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06822/1.339, allocations: 56.86 MB / 0.7929 GB, free: 116.7 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01044/1.349, allocations: 4.477 MB / 0.7973 GB, free: 112 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001497/1.349, allocations: 38.36 kB / 0.7973 GB, free: 112 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.993e-05/1.349, allocations: 59.5 kB / 0.7974 GB, free: 111.9 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=186): time 4.969e-06/1.349, allocations: 0 / 0.7974 GB, free: 111.9 MB / 0.5294 GB Notification: Performance of matching and sorting (n=204): time 0.05033/1.4, allocations: 20.83 MB / 0.8177 GB, free: 90.88 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.614e-05/1.4, allocations: 260.7 kB / 0.818 GB, free: 90.57 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00883/1.409, allocations: 7.081 MB / 0.8249 GB, free: 83.49 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0005823/1.409, allocations: 53.7 kB / 0.825 GB, free: 83.43 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002627/1.412, allocations: 4.68 MB / 0.8295 GB, free: 78.76 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001024/1.413, allocations: 0.8157 MB / 0.8303 GB, free: 77.95 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000326/1.413, allocations: 152 kB / 0.8305 GB, free: 77.8 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0003242/1.414, allocations: 0.6363 MB / 0.8311 GB, free: 77.16 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00318/1.417, allocations: 2.553 MB / 0.8336 GB, free: 74.61 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00489/1.422, allocations: 7.46 MB / 0.8409 GB, free: 64.7 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005517/1.427, allocations: 4.263 MB / 0.845 GB, free: 60.44 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.596e-05/1.427, allocations: 48 kB / 0.8451 GB, free: 60.39 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1005) (initialization): time 0.01835/1.446, allocations: 10.46 MB / 0.8553 GB, free: 49.92 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001163/1.446, allocations: 80 kB / 0.8554 GB, free: 49.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002043/1.446, allocations: 176 kB / 0.8555 GB, free: 49.67 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002295/1.448, allocations: 1.042 MB / 0.8566 GB, free: 48.62 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005529/1.454, allocations: 1.778 MB / 0.8583 GB, free: 46.84 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008844/1.463, allocations: 9.728 MB / 0.8678 GB, free: 36.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007275/1.47, allocations: 431.4 kB / 0.8682 GB, free: 36.3 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00129/1.471, allocations: 484 kB / 0.8687 GB, free: 35.83 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 795 * Number of states: 0 () * Number of discrete variables: 63 (worldTorque3.arrow.arrowLine.twoHeadedArrow,worldTorque3.arrow.headAtOrigin,worldTorque2.arrow.arrowLine.twoHeadedArrow,worldTorque2.arrow.headAtOrigin,worldTorque1.arrow.arrowLine.twoHeadedArrow,worldTorque1.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.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.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 (939): * Single equations (assignments): 933 * 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.005101/1.476, allocations: 3.047 MB / 0.8716 GB, free: 32.77 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001249/1.478, allocations: 0.5515 MB / 0.8722 GB, free: 32.21 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005653/1.483, allocations: 3.766 MB / 0.8759 GB, free: 28.41 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.78e-05/1.483, allocations: 27.67 kB / 0.8759 GB, free: 28.39 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.36e-05/1.483, allocations: 13.36 kB / 0.8759 GB, free: 28.38 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.63e-05/1.484, allocations: 7.969 kB / 0.8759 GB, free: 28.37 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01712/1.501, allocations: 10.19 MB / 0.8859 GB, free: 18.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.689e-05/1.501, allocations: 7.938 kB / 0.8859 GB, free: 18.15 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001473/1.502, allocations: 319.6 kB / 0.8862 GB, free: 17.84 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0019/1.504, allocations: 0.736 MB / 0.8869 GB, free: 17.09 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001879/1.504, allocations: 43.98 kB / 0.8869 GB, free: 17.05 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007667/1.512, allocations: 8.85 MB / 0.8956 GB, free: 7.797 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/1.512, allocations: 0 / 0.8956 GB, free: 7.797 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00941/1.521, allocations: 6.745 MB / 0.9022 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002972/1.524, allocations: 0.6382 MB / 0.9028 GB, free: 336 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001519/1.526, allocations: 36 kB / 0.9028 GB, free: 300 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002249/1.528, allocations: 127.8 kB / 0.9029 GB, free: 172 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003529/1.529, allocations: 121.2 kB / 0.9031 GB, free: 52 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001658/1.529, allocations: 55.94 kB / 0.9031 GB, free: 16 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.008319/1.537, allocations: 4.569 MB / 0.9076 GB, free: 11.45 MB / 0.545 GB Notification: Performance of sort global known variables: time 5.31e-07/1.537, allocations: 0 / 0.9076 GB, free: 11.45 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.008127/1.545, allocations: 1.423 MB / 0.909 GB, free: 10.03 MB / 0.545 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.0005886/1.546, allocations: 188.1 kB / 0.9091 GB, free: 9.84 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01072/1.557, allocations: 6.457 MB / 0.9154 GB, free: 3.379 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.344e-06/1.557, allocations: 0 / 0.9154 GB, free: 3.379 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003204/1.56, allocations: 2.094 MB / 0.9175 GB, free: 1.246 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004778/1.565, allocations: 0.7618 MB / 0.9182 GB, free: 500 kB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2892/1.854, allocations: 15.85 MB / 0.9337 GB, free: 179.6 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008927/1.863, allocations: 4.795 MB / 0.9384 GB, free: 178.8 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.00767/1.871, allocations: 2.518 MB / 0.9409 GB, free: 178.6 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001077/1.872, allocations: 358.5 kB / 0.9412 GB, free: 178.6 MB / 0.545 GB Notification: Performance of SimCode: time 2.194e-06/1.872, allocations: 0 / 0.9412 GB, free: 178.6 MB / 0.545 GB Notification: Performance of Templates: time 0.09573/1.967, allocations: 52.97 MB / 0.9929 GB, free: 136.4 MB / 0.545 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