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.00155/0.001551, allocations: 105.2 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001877/0.001877, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.366/1.366, allocations: 227.4 MB / 246.8 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2142/0.2142, allocations: 46.12 MB / 344.2 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001385/0.001385, allocations: 78.59 kB / 417.6 MB, free: 19.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1436/0.145, allocations: 62.45 MB / 480.1 MB, free: 5.199 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldTorques): time 0.01916/0.1642, allocations: 15.39 MB / 495.5 MB, free: 5.738 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0137/0.178, allocations: 5.061 MB / 0.4888 GB, free: 0.6602 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005084/0.1831, allocations: 107.7 kB / 0.4889 GB, free: 0.5547 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01027/0.1934, allocations: 4.988 MB / 0.4938 GB, free: 11.55 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009395/0.2029, allocations: 2.505 MB / 0.4962 GB, free: 9.035 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004048/0.207, allocations: 1.24 MB / 0.4974 GB, free: 7.793 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.3297/0.5367, allocations: 7.956 MB / 0.5052 GB, free: 14.16 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009482/0.5463, allocations: 5.985 MB / 0.5111 GB, free: 13.41 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006383/0.5527, allocations: 2.517 MB / 0.5135 GB, free: 13.26 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009895/0.5626, allocations: 3.447 MB / 0.5169 GB, free: 12.91 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00492/0.5676, allocations: 0.5363 MB / 0.5174 GB, free: 12.91 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008055/0.5757, allocations: 1.554 MB / 0.5189 GB, free: 12.91 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007839/0.5836, allocations: 3.137 MB / 0.522 GB, free: 12.61 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01009/0.5937, allocations: 3.465 MB / 0.5254 GB, free: 10.45 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01691/0.6107, allocations: 10.53 MB / 0.5357 GB, free: 5.559 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.6107, allocations: 0 / 0.5357 GB, free: 5.559 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.6107, allocations: 0 / 0.5357 GB, free: 5.559 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000479/0.6112, allocations: 0 / 0.5357 GB, free: 5.559 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2128 * Number of variables: 2128 Notification: Performance of Generate backend data structure: time 0.02351/0.6347, allocations: 7.534 MB / 0.543 GB, free: 0.582 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.612e-05/0.6348, allocations: 10.97 kB / 0.543 GB, free: 0.582 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01621/0.651, allocations: 3.063 MB / 0.546 GB, free: 15.03 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01436/0.6654, allocations: 4.744 MB / 0.5506 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004155/0.6659, allocations: 361.3 kB / 0.551 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003747/0.6696, allocations: 492 kB / 0.5515 GB, free: 9.816 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03885/0.7085, allocations: 14.29 MB / 0.5654 GB, free: 10.76 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004688/0.709, allocations: 75.55 kB / 0.5655 GB, free: 10.71 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002393/0.7115, allocations: 227 kB / 0.5657 GB, free: 10.54 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00527/0.7167, allocations: 2.54 MB / 0.5682 GB, free: 8.031 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03067/0.7475, allocations: 11.84 MB / 0.5797 GB, free: 12.44 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08474/0.8323, allocations: 56.12 MB / 0.6345 GB, free: 3.613 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01342/0.8457, allocations: 4.657 MB / 0.6391 GB, free: 14.8 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004277/0.8501, allocations: 2.895 MB / 0.6419 GB, free: 11.89 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001381/0.8502, allocations: 39.69 kB / 0.642 GB, free: 11.86 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.393e-05/0.8503, allocations: 68.25 kB / 0.642 GB, free: 11.8 MB / 494.1 MB Notification: Performance of pre-optimization done (n=186): time 7.314e-06/0.8503, allocations: 3.984 kB / 0.642 GB, free: 11.79 MB / 494.1 MB Notification: Performance of matching and sorting (n=204): time 0.06861/0.9189, allocations: 23.11 MB / 0.6646 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001432/0.9191, allocations: 250.2 kB / 0.6648 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01162/0.9307, allocations: 6.674 MB / 0.6713 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0007556/0.9315, allocations: 57.7 kB / 0.6714 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.004257/0.9358, allocations: 4.481 MB / 0.6758 GB, free: 9.012 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001618/0.9374, allocations: 0.8218 MB / 0.6766 GB, free: 8.195 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002731/0.9402, allocations: 1.663 MB / 0.6782 GB, free: 6.52 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.00013/0.9403, allocations: 313.1 kB / 0.6785 GB, free: 6.211 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004581/0.9449, allocations: 2.89 MB / 0.6813 GB, free: 3.312 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008375/0.9533, allocations: 7.794 MB / 0.6889 GB, free: 9.164 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01415/0.9675, allocations: 11.43 MB / 0.7001 GB, free: 11.88 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001554/0.9677, allocations: 52 kB / 0.7001 GB, free: 11.82 MB / 0.545 GB Notification: Performance of matching and sorting (n=1053) (initialization): time 0.2893/1.257, allocations: 11.9 MB / 0.7118 GB, free: 177.2 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001927/1.257, allocations: 82.19 kB / 0.7118 GB, free: 177.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003829/1.258, allocations: 175.7 kB / 0.712 GB, free: 177.2 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005786/1.263, allocations: 1.773 MB / 0.7137 GB, free: 177.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006926/1.27, allocations: 1.839 MB / 0.7155 GB, free: 177.2 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01539/1.286, allocations: 12.62 MB / 0.7279 GB, free: 171.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008051/1.294, allocations: 460.1 kB / 0.7283 GB, free: 171.6 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002855/1.297, allocations: 489.1 kB / 0.7288 GB, free: 171.6 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 786 * Number of states: 0 () * Number of discrete variables: 63 (worldTorque3.arrow.twoHeadedArrow,worldTorque3.arrow.headAtOrigin,worldTorque2.arrow.twoHeadedArrow,worldTorque2.arrow.headAtOrigin,worldTorque1.arrow.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 (987): * Single equations (assignments): 981 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,14,100.0%), (1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007733/1.305, allocations: 2.973 MB / 0.7317 GB, free: 170.5 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001443/1.306, allocations: 0.5403 MB / 0.7322 GB, free: 170.5 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009075/1.315, allocations: 4.859 MB / 0.7369 GB, free: 168.9 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.239e-05/1.315, allocations: 25.77 kB / 0.737 GB, free: 168.9 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.79e-05/1.315, allocations: 7.719 kB / 0.737 GB, free: 168.9 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.348e-05/1.315, allocations: 14.25 kB / 0.737 GB, free: 168.9 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01946/1.335, allocations: 11.1 MB / 0.7478 GB, free: 165.1 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.554e-05/1.335, allocations: 0 / 0.7478 GB, free: 165.1 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001462/1.336, allocations: 328 kB / 0.7481 GB, free: 165.1 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003686/1.34, allocations: 1.494 MB / 0.7496 GB, free: 164.8 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002214/1.34, allocations: 37.56 kB / 0.7496 GB, free: 164.8 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01137/1.352, allocations: 11.71 MB / 0.7611 GB, free: 157.7 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/1.352, allocations: 0 / 0.7611 GB, free: 157.7 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01175/1.363, allocations: 7.962 MB / 0.7689 GB, free: 153.4 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002068/1.365, allocations: 0.604 MB / 0.7694 GB, free: 153 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008743/1.366, allocations: 35.92 kB / 0.7695 GB, free: 153 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002009/1.368, allocations: 143.3 kB / 0.7696 GB, free: 152.8 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004311/1.369, allocations: 128.8 kB / 0.7697 GB, free: 152.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000138/1.369, allocations: 52 kB / 0.7698 GB, free: 152.7 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.006404/1.375, allocations: 4.257 MB / 0.7739 GB, free: 148.4 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.01e-07/1.375, allocations: 0 / 0.7739 GB, free: 148.4 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.008141/1.384, allocations: 1.454 MB / 0.7754 GB, free: 147 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,11,100.0%), (1,11,100.0%), (1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004889/1.384, allocations: 174.1 kB / 0.7755 GB, free: 146.8 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01095/1.395, allocations: 7.877 MB / 0.7832 GB, free: 139.5 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.152e-06/1.395, allocations: 0 / 0.7832 GB, free: 139.5 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002572/1.398, allocations: 2.291 MB / 0.7855 GB, free: 137.1 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005173/1.403, allocations: 0.7657 MB / 0.7862 GB, free: 136.4 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01977/1.423, allocations: 13.71 MB / 0.7996 GB, free: 122.7 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004535/1.427, allocations: 4.529 MB / 0.804 GB, free: 118.1 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005338/1.433, allocations: 2.476 MB / 0.8064 GB, free: 115.6 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001002/1.434, allocations: 347.4 kB / 0.8068 GB, free: 115.3 MB / 0.545 GB Notification: Performance of SimCode: time 1.413e-06/1.434, allocations: 0 / 0.8068 GB, free: 115.3 MB / 0.545 GB Notification: Performance of Templates: time 0.08826/1.522, allocations: 58.41 MB / 0.8638 GB, free: 57.14 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches