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.001224/0.001224, allocations: 122.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001175/0.001175, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.416/1.416, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2428/0.2428, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001561/0.001561, allocations: 67.89 kB / 481.3 MB, free: 4.051 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3848/0.3863, allocations: 62.44 MB / 0.531 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldTorques): time 0.01809/0.4045, allocations: 15.41 MB / 0.5461 GB, free: 1.492 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01632/0.4209, allocations: 5.052 MB / 0.551 GB, free: 13.19 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004904/0.4258, allocations: 107.7 kB / 0.5511 GB, free: 13.08 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01013/0.436, allocations: 4.996 MB / 0.556 GB, free: 8.07 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009659/0.4457, allocations: 2.583 MB / 0.5585 GB, free: 5.48 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004015/0.4497, allocations: 1.244 MB / 0.5597 GB, free: 4.234 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01232/0.4621, allocations: 7.967 MB / 0.5675 GB, free: 12.25 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009616/0.4717, allocations: 5.977 MB / 0.5733 GB, free: 6.184 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005865/0.4776, allocations: 2.523 MB / 0.5758 GB, free: 3.652 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005735/0.4834, allocations: 3.458 MB / 0.5792 GB, free: 188 kB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002206/0.4857, allocations: 0.543 MB / 0.5797 GB, free: 15.64 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004875/0.4906, allocations: 1.549 MB / 0.5812 GB, free: 14.09 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00516/0.4958, allocations: 3.152 MB / 0.5843 GB, free: 10.93 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007566/0.5034, allocations: 3.477 MB / 0.5877 GB, free: 7.434 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01764/0.521, allocations: 10.82 MB / 0.5982 GB, free: 12.57 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.168e-05/0.5211, allocations: 0 / 0.5982 GB, free: 12.57 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.055e-06/0.5211, allocations: 0 / 0.5982 GB, free: 12.57 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0005435/0.5217, allocations: 0 / 0.5982 GB, free: 12.57 MB / 462.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.02298/0.5447, allocations: 7.525 MB / 0.6056 GB, free: 4.961 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.285e-05/0.5447, allocations: 12.03 kB / 0.6056 GB, free: 4.949 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0167/0.5614, allocations: 3.065 MB / 0.6086 GB, free: 1.871 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0141/0.5756, allocations: 4.837 MB / 0.6133 GB, free: 12.95 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004304/0.5761, allocations: 357.7 kB / 0.6137 GB, free: 12.6 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002853/0.5789, allocations: 495.8 kB / 0.6141 GB, free: 12.12 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03758/0.6165, allocations: 14.29 MB / 0.6281 GB, free: 12.8 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005085/0.6171, allocations: 71.38 kB / 0.6282 GB, free: 12.73 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002259/0.6194, allocations: 231.8 kB / 0.6284 GB, free: 12.5 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005077/0.6245, allocations: 2.539 MB / 0.6309 GB, free: 9.961 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02874/0.6533, allocations: 11.83 MB / 0.6424 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08377/0.7371, allocations: 55.89 MB / 0.697 GB, free: 4.762 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01305/0.7502, allocations: 4.636 MB / 0.7015 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004585/0.7548, allocations: 2.9 MB / 0.7044 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002196/0.7551, allocations: 37.55 kB / 0.7044 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.34e-05/0.7552, allocations: 59.48 kB / 0.7045 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=186): time 4.799e-06/0.7552, allocations: 0 / 0.7045 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of matching and sorting (n=204): time 0.4346/1.19, allocations: 23.12 MB / 0.727 GB, free: 158.6 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001086/1.19, allocations: 256 kB / 0.7273 GB, free: 158.3 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009633/1.2, allocations: 6.673 MB / 0.7338 GB, free: 156 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0004562/1.2, allocations: 56.98 kB / 0.7338 GB, free: 155.9 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002296/1.202, allocations: 4.487 MB / 0.7382 GB, free: 152.5 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008003/1.203, allocations: 0.8197 MB / 0.739 GB, free: 151.9 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001677/1.205, allocations: 1.665 MB / 0.7407 GB, free: 151.1 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.326e-05/1.205, allocations: 309 kB / 0.7409 GB, free: 150.8 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003353/1.208, allocations: 2.887 MB / 0.7438 GB, free: 149.8 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005134/1.213, allocations: 7.795 MB / 0.7514 GB, free: 142.3 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01051/1.224, allocations: 11.43 MB / 0.7625 GB, free: 129.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001235/1.224, allocations: 52 kB / 0.7626 GB, free: 129.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1053) (initialization): time 0.01805/1.242, allocations: 11.91 MB / 0.7742 GB, free: 117.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.168e-05/1.242, allocations: 76.19 kB / 0.7743 GB, free: 117.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001252/1.242, allocations: 176 kB / 0.7745 GB, free: 117.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003821/1.246, allocations: 1.768 MB / 0.7762 GB, free: 115.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00453/1.251, allocations: 1.842 MB / 0.778 GB, free: 113.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01153/1.262, allocations: 12.61 MB / 0.7903 GB, free: 100.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007787/1.27, allocations: 455.3 kB / 0.7907 GB, free: 100 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001238/1.271, allocations: 491.5 kB / 0.7912 GB, free: 99.54 MB / 0.5606 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.005016/1.276, allocations: 2.972 MB / 0.7941 GB, free: 96.55 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001611/1.278, allocations: 0.5322 MB / 0.7946 GB, free: 96.01 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007953/1.286, allocations: 4.872 MB / 0.7994 GB, free: 91.11 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-05/1.286, allocations: 20 kB / 0.7994 GB, free: 91.09 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.098e-05/1.286, allocations: 12 kB / 0.7994 GB, free: 91.08 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.727e-05/1.286, allocations: 11.97 kB / 0.7994 GB, free: 91.07 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02117/1.307, allocations: 11.06 MB / 0.8102 GB, free: 79.97 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.849e-05/1.307, allocations: 4 kB / 0.8102 GB, free: 79.96 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00145/1.309, allocations: 323.5 kB / 0.8105 GB, free: 79.65 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003735/1.313, allocations: 1.493 MB / 0.812 GB, free: 78.14 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003105/1.313, allocations: 39.66 kB / 0.812 GB, free: 78.11 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01087/1.324, allocations: 11.7 MB / 0.8235 GB, free: 66 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/1.324, allocations: 0 / 0.8235 GB, free: 66 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0113/1.335, allocations: 7.966 MB / 0.8312 GB, free: 58 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002846/1.338, allocations: 0.5995 MB / 0.8318 GB, free: 57.37 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001072/1.339, allocations: 32 kB / 0.8319 GB, free: 57.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002026/1.341, allocations: 147.7 kB / 0.832 GB, free: 57.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004536/1.342, allocations: 121.3 kB / 0.8321 GB, free: 57.08 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001482/1.342, allocations: 55.98 kB / 0.8322 GB, free: 57.02 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.006372/1.348, allocations: 4.257 MB / 0.8363 GB, free: 52.78 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.01e-07/1.348, allocations: 0 / 0.8363 GB, free: 52.78 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.008992/1.357, allocations: 1.453 MB / 0.8377 GB, free: 51.33 MB / 0.5606 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.0006007/1.358, allocations: 169.5 kB / 0.8379 GB, free: 51.16 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01002/1.368, allocations: 7.112 MB / 0.8448 GB, free: 44.07 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.749e-06/1.368, allocations: 192 / 0.8448 GB, free: 44.07 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002799/1.371, allocations: 2.29 MB / 0.8471 GB, free: 41.73 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004756/1.376, allocations: 0.7592 MB / 0.8478 GB, free: 40.99 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02234/1.398, allocations: 13.55 MB / 0.8611 GB, free: 27.41 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004659/1.403, allocations: 4.531 MB / 0.8655 GB, free: 22.85 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.005297/1.408, allocations: 2.476 MB / 0.8679 GB, free: 20.37 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001045/1.409, allocations: 351.4 kB / 0.8682 GB, free: 20.02 MB / 0.5606 GB Notification: Performance of SimCode: time 1.513e-06/1.409, allocations: 0 / 0.8682 GB, free: 20.02 MB / 0.5606 GB Notification: Performance of Templates: time 0.1019/1.511, allocations: 53.4 MB / 0.9204 GB, free: 14.93 MB / 0.6075 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