Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldTorques.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Forces.WorldTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008311/0.0008311, allocations: 98.08 kB / 18.01 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000885/0.0008851, allocations: 178.2 kB / 18.91 MB, free: 4.871 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.32/1.32, allocations: 223.3 MB / 242.9 MB, free: 228 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1964/0.1964, allocations: 44.24 MB / 338.3 MB, free: 2.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003185/0.0003185, allocations: 8 kB / 411 MB, free: 27.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.118, allocations: 61.92 MB / 472.9 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldTorques): time 0.3243/0.4423, allocations: 97.39 MB / 0.5569 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.04722/0.4896, allocations: 18.99 MB / 0.5755 GB, free: 11.36 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02188/0.5115, allocations: 430.9 kB / 0.5759 GB, free: 10.93 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002564/0.5141, allocations: 0.6062 MB / 0.5765 GB, free: 10.32 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007371/0.5215, allocations: 2.468 MB / 0.5789 GB, free: 7.848 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00279/0.5244, allocations: 1.026 MB / 0.5799 GB, free: 6.82 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01412/0.5385, allocations: 11.49 MB / 0.5911 GB, free: 11.3 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01178/0.5503, allocations: 8.121 MB / 0.599 GB, free: 3.082 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003748/0.5541, allocations: 1.856 MB / 0.6009 GB, free: 1.219 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005106/0.5593, allocations: 3.235 MB / 0.604 GB, free: 13.97 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001137/0.5604, allocations: 224 kB / 0.6042 GB, free: 13.75 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003028/0.5635, allocations: 1.33 MB / 0.6055 GB, free: 12.42 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00314/0.5666, allocations: 2.859 MB / 0.6083 GB, free: 9.555 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004507/0.5712, allocations: 3.145 MB / 0.6114 GB, free: 6.383 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01047/0.5817, allocations: 8.662 MB / 0.6198 GB, free: 13.7 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.5817, allocations: 0 / 0.6198 GB, free: 13.7 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.5817, allocations: 0 / 0.6198 GB, free: 13.7 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0004118/0.5821, allocations: 0 / 0.6198 GB, free: 13.7 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: 2215 * Number of variables: 2215 Notification: Performance of Generate backend data structure: time 0.01558/0.5977, allocations: 6.33 MB / 0.626 GB, free: 7.281 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.115e-05/0.5978, allocations: 16.03 kB / 0.626 GB, free: 7.266 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01637/0.6142, allocations: 3.182 MB / 0.6292 GB, free: 4.07 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01119/0.6254, allocations: 4.884 MB / 0.6339 GB, free: 15.1 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003759/0.6258, allocations: 369.8 kB / 0.6343 GB, free: 14.74 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001842/0.6277, allocations: 0.496 MB / 0.6348 GB, free: 14.25 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0314/0.6591, allocations: 14.89 MB / 0.6493 GB, free: 14.34 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003142/0.6595, allocations: 79.31 kB / 0.6494 GB, free: 14.26 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001406/0.6609, allocations: 231.8 kB / 0.6496 GB, free: 14.03 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005201/0.6661, allocations: 2.719 MB / 0.6523 GB, free: 11.3 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02649/0.6926, allocations: 12.35 MB / 0.6643 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3579/1.051, allocations: 57.43 MB / 0.7204 GB, free: 151.3 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01277/1.063, allocations: 4.661 MB / 0.7249 GB, free: 150.6 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003914/1.067, allocations: 2.903 MB / 0.7278 GB, free: 150.6 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001339/1.068, allocations: 37.69 kB / 0.7278 GB, free: 150.6 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.082e-05/1.068, allocations: 61 kB / 0.7279 GB, free: 150.6 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=186): time 4.809e-06/1.068, allocations: 0 / 0.7279 GB, free: 150.6 MB / 0.5294 GB Notification: Performance of matching and sorting (n=204): time 0.06574/1.133, allocations: 23.31 MB / 0.7506 GB, free: 142 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.36e-05/1.133, allocations: 262.5 kB / 0.7509 GB, free: 141.7 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01226/1.146, allocations: 6.729 MB / 0.7575 GB, free: 138.3 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.000618/1.146, allocations: 53.08 kB / 0.7575 GB, free: 138.3 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003681/1.15, allocations: 4.617 MB / 0.762 GB, free: 134.1 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.00131/1.151, allocations: 0.8176 MB / 0.7628 GB, free: 133.3 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001706/1.153, allocations: 0.7204 MB / 0.7635 GB, free: 132.6 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 5.653e-05/1.153, allocations: 304.6 kB / 0.7638 GB, free: 132.3 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004454/1.158, allocations: 2.915 MB / 0.7667 GB, free: 129.4 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006848/1.165, allocations: 7.863 MB / 0.7743 GB, free: 119.3 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01123/1.176, allocations: 11.54 MB / 0.7856 GB, free: 105.6 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001863/1.176, allocations: 52 kB / 0.7857 GB, free: 105.6 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1062) (initialization): time 0.02228/1.198, allocations: 11.98 MB / 0.7974 GB, free: 93.59 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002819/1.199, allocations: 85.91 kB / 0.7974 GB, free: 93.51 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003573/1.199, allocations: 176 kB / 0.7976 GB, free: 93.34 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00522/1.204, allocations: 1.779 MB / 0.7993 GB, free: 91.55 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006361/1.211, allocations: 1.86 MB / 0.8012 GB, free: 89.68 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01264/1.223, allocations: 11.76 MB / 0.8127 GB, free: 77.54 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007722/1.231, allocations: 467.4 kB / 0.8131 GB, free: 77.08 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001621/1.233, allocations: 493.4 kB / 0.8136 GB, free: 76.6 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 (996): * Single equations (assignments): 990 * 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.006419/1.239, allocations: 3.063 MB / 0.8166 GB, free: 73.52 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001538/1.241, allocations: 0.536 MB / 0.8171 GB, free: 72.98 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009433/1.25, allocations: 4.873 MB / 0.8218 GB, free: 68.09 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.744e-05/1.25, allocations: 24.78 kB / 0.8219 GB, free: 68.06 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.029e-05/1.25, allocations: 8.625 kB / 0.8219 GB, free: 68.05 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.618e-05/1.25, allocations: 7.969 kB / 0.8219 GB, free: 68.05 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02227/1.273, allocations: 11.28 MB / 0.8329 GB, free: 56.74 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-05/1.273, allocations: 4 kB / 0.8329 GB, free: 56.74 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00152/1.274, allocations: 323.5 kB / 0.8332 GB, free: 56.42 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003933/1.278, allocations: 1.497 MB / 0.8347 GB, free: 54.91 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003199/1.279, allocations: 41.55 kB / 0.8347 GB, free: 54.88 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01084/1.289, allocations: 10.84 MB / 0.8453 GB, free: 43.64 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/1.289, allocations: 4.25 kB / 0.8453 GB, free: 43.63 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01193/1.301, allocations: 7.975 MB / 0.8531 GB, free: 35.62 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001931/1.303, allocations: 0.6305 MB / 0.8537 GB, free: 34.97 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001636/1.305, allocations: 38.27 kB / 0.8537 GB, free: 34.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003135/1.308, allocations: 151.8 kB / 0.8539 GB, free: 34.79 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005097/1.309, allocations: 121.2 kB / 0.854 GB, free: 34.67 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000214/1.309, allocations: 52 kB / 0.8541 GB, free: 34.62 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.007512/1.316, allocations: 4.289 MB / 0.8582 GB, free: 30.34 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2e-07/1.317, allocations: 0 / 0.8582 GB, free: 30.34 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.008569/1.325, allocations: 1.496 MB / 0.8597 GB, free: 28.85 MB / 0.5294 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.0007026/1.326, allocations: 168.7 kB / 0.8599 GB, free: 28.68 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01038/1.336, allocations: 7.119 MB / 0.8668 GB, free: 21.56 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.316e-06/1.336, allocations: 4.688 kB / 0.8668 GB, free: 21.55 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003091/1.339, allocations: 2.296 MB / 0.8691 GB, free: 19.23 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007164/1.347, allocations: 0.7346 MB / 0.8698 GB, free: 18.5 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02748/1.374, allocations: 17.59 MB / 0.887 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009237/1.383, allocations: 4.627 MB / 0.8915 GB, free: 12.2 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001855/1.385, allocations: 403.4 kB / 0.8919 GB, free: 11.8 MB / 0.545 GB Notification: Performance of SimCode: time 1.172e-06/1.385, allocations: 0 / 0.8919 GB, free: 11.8 MB / 0.545 GB Notification: Performance of Templates: time 0.5045/1.89, allocations: 168.1 MB / 1.056 GB, free: 85.82 MB / 0.5606 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldTorques.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldTorques.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldTorques.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldTorques.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldTorques.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldTorques -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Forces.WorldTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches