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.001471/0.001472, allocations: 113 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001425/0.001424, allocations: 212.9 kB / 19.4 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.256/1.256, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1897/0.1897, allocations: 46.09 MB / 344.9 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001349, allocations: 75.88 kB / 482 MB, free: 4.074 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3008/0.3022, allocations: 62.44 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldTorques): time 0.01564/0.3179, allocations: 15.41 MB / 0.5467 GB, free: 1.504 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01085/0.3287, allocations: 5.051 MB / 0.5516 GB, free: 13.21 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002942/0.3317, allocations: 103.7 kB / 0.5517 GB, free: 13.11 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008726/0.3405, allocations: 4.988 MB / 0.5566 GB, free: 8.109 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006678/0.3472, allocations: 2.598 MB / 0.5592 GB, free: 5.504 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002779/0.35, allocations: 1.232 MB / 0.5604 GB, free: 4.27 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01087/0.3609, allocations: 7.967 MB / 0.5681 GB, free: 12.29 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008114/0.369, allocations: 5.977 MB / 0.574 GB, free: 6.219 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004805/0.3739, allocations: 2.531 MB / 0.5764 GB, free: 3.68 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0055/0.3794, allocations: 3.454 MB / 0.5798 GB, free: 220 kB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001872/0.3813, allocations: 0.5352 MB / 0.5803 GB, free: 15.68 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003965/0.3853, allocations: 1.557 MB / 0.5819 GB, free: 14.12 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004067/0.3894, allocations: 3.152 MB / 0.5849 GB, free: 10.96 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005233/0.3946, allocations: 3.476 MB / 0.5883 GB, free: 7.465 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01251/0.4072, allocations: 10.83 MB / 0.5989 GB, free: 12.59 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.815e-06/0.4072, allocations: 0 / 0.5989 GB, free: 12.59 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.424e-06/0.4072, allocations: 0 / 0.5989 GB, free: 12.59 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003483/0.4076, allocations: 0 / 0.5989 GB, free: 12.59 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.01678/0.4244, allocations: 7.529 MB / 0.6063 GB, free: 4.98 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.134e-05/0.4245, allocations: 8.031 kB / 0.6063 GB, free: 4.973 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01324/0.4377, allocations: 3.057 MB / 0.6093 GB, free: 1.902 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01037/0.4481, allocations: 4.837 MB / 0.614 GB, free: 12.98 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003315/0.4485, allocations: 361.7 kB / 0.6143 GB, free: 12.63 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001817/0.4503, allocations: 495.7 kB / 0.6148 GB, free: 12.14 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0281/0.4784, allocations: 14.28 MB / 0.6287 GB, free: 12.84 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003275/0.4788, allocations: 75.3 kB / 0.6288 GB, free: 12.76 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001586/0.4804, allocations: 231.8 kB / 0.629 GB, free: 12.54 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004262/0.4847, allocations: 2.539 MB / 0.6315 GB, free: 9.992 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02381/0.5085, allocations: 11.83 MB / 0.6431 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06907/0.5776, allocations: 55.89 MB / 0.6977 GB, free: 4.797 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01141/0.5891, allocations: 4.637 MB / 0.7022 GB, free: 4 kB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003879/0.593, allocations: 2.904 MB / 0.705 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001873/0.5932, allocations: 37.56 kB / 0.7051 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.936e-05/0.5933, allocations: 63.44 kB / 0.7051 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=186): time 6.893e-06/0.5933, allocations: 0 / 0.7051 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of matching and sorting (n=204): time 0.2938/0.8871, allocations: 23.12 MB / 0.7277 GB, free: 158.7 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001421/0.8873, allocations: 260 kB / 0.7279 GB, free: 158.4 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008767/0.8961, allocations: 6.676 MB / 0.7345 GB, free: 156.1 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0004117/0.8965, allocations: 53.2 kB / 0.7345 GB, free: 156 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002183/0.8987, allocations: 4.482 MB / 0.7389 GB, free: 152.5 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007676/0.8995, allocations: 0.8212 MB / 0.7397 GB, free: 152 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001636/0.9011, allocations: 1.664 MB / 0.7413 GB, free: 151.2 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.2e-05/0.9012, allocations: 308.9 kB / 0.7416 GB, free: 150.9 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003055/0.9042, allocations: 2.897 MB / 0.7444 GB, free: 149.9 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004574/0.9088, allocations: 7.794 MB / 0.752 GB, free: 142.4 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008587/0.9174, allocations: 11.42 MB / 0.7632 GB, free: 129.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001001/0.9176, allocations: 52 kB / 0.7632 GB, free: 129.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1053) (initialization): time 0.01677/0.9343, allocations: 11.91 MB / 0.7749 GB, free: 117.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.183e-05/0.9344, allocations: 82.5 kB / 0.775 GB, free: 117.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001293/0.9346, allocations: 172 kB / 0.7751 GB, free: 117.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003761/0.9384, allocations: 1.776 MB / 0.7769 GB, free: 115.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004753/0.9431, allocations: 1.836 MB / 0.7786 GB, free: 113.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01062/0.9538, allocations: 12.61 MB / 0.791 GB, free: 100.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005738/0.9595, allocations: 462.9 kB / 0.7914 GB, free: 100.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009346/0.9605, allocations: 490.5 kB / 0.7919 GB, free: 99.6 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.00383/0.9643, allocations: 2.972 MB / 0.7948 GB, free: 96.61 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009929/0.9653, allocations: 0.5322 MB / 0.7953 GB, free: 96.07 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00693/0.9723, allocations: 4.864 MB / 0.8 GB, free: 91.18 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.194e-05/0.9723, allocations: 24 kB / 0.8001 GB, free: 91.16 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.528e-05/0.9723, allocations: 8 kB / 0.8001 GB, free: 91.15 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.927e-05/0.9724, allocations: 7.969 kB / 0.8001 GB, free: 91.14 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01559/0.988, allocations: 11.07 MB / 0.8109 GB, free: 80.03 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.129e-05/0.988, allocations: 0 / 0.8109 GB, free: 80.03 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00132/0.9893, allocations: 319.5 kB / 0.8112 GB, free: 79.72 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003305/0.9927, allocations: 1.495 MB / 0.8127 GB, free: 78.21 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001748/0.9928, allocations: 35.98 kB / 0.8127 GB, free: 78.18 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009583/1.002, allocations: 11.7 MB / 0.8241 GB, free: 66.06 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/1.002, allocations: 0 / 0.8241 GB, free: 66.06 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009709/1.012, allocations: 7.964 MB / 0.8319 GB, free: 58.06 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001612/1.014, allocations: 0.5995 MB / 0.8325 GB, free: 57.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007835/1.015, allocations: 40 kB / 0.8325 GB, free: 57.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001886/1.017, allocations: 139.7 kB / 0.8327 GB, free: 57.26 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003314/1.017, allocations: 121.3 kB / 0.8328 GB, free: 57.14 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001359/1.017, allocations: 51.98 kB / 0.8328 GB, free: 57.09 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.005153/1.022, allocations: 4.253 MB / 0.837 GB, free: 52.85 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.7e-07/1.022, allocations: 0 / 0.837 GB, free: 52.85 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006482/1.029, allocations: 1.461 MB / 0.8384 GB, free: 51.39 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.0004623/1.029, allocations: 169.7 kB / 0.8386 GB, free: 51.22 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008491/1.038, allocations: 7.106 MB / 0.8455 GB, free: 44.13 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.652e-06/1.038, allocations: 2.906 kB / 0.8455 GB, free: 44.13 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002504/1.04, allocations: 2.29 MB / 0.8477 GB, free: 41.8 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003936/1.044, allocations: 0.7673 MB / 0.8485 GB, free: 41.05 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0181/1.062, allocations: 14.1 MB / 0.8623 GB, free: 26.92 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004001/1.066, allocations: 4.493 MB / 0.8666 GB, free: 22.39 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001278/1.068, allocations: 407.4 kB / 0.867 GB, free: 21.99 MB / 0.5606 GB Notification: Performance of SimCode: time 1.683e-06/1.068, allocations: 0 / 0.867 GB, free: 21.99 MB / 0.5606 GB Notification: Performance of Templates: time 0.3759/1.444, allocations: 165.8 MB / 1.029 GB, free: 144.5 MB / 0.6231 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/WorldTorques/WorldTorques.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches