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.001554/0.001555, allocations: 113.4 kB / 17.86 MB, free: 5.629 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.002098/0.002098, allocations: 201.9 kB / 18.77 MB, free: 4.715 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.677/1.677, allocations: 222.9 MB / 242.4 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2448/0.2448, allocations: 44.17 MB / 336.8 MB, free: 2.996 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001998/0.001998, allocations: 69.98 kB / 408.4 MB, free: 27.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1596/0.1616, allocations: 60.82 MB / 469.2 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldTorques): time 0.3942/0.5558, allocations: 99.67 MB / 0.5555 GB, free: 9.57 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05783/0.6137, allocations: 19.06 MB / 0.5741 GB, free: 9.238 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02758/0.6414, allocations: 434.9 kB / 0.5745 GB, free: 8.812 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009984/0.6514, allocations: 5.036 MB / 0.5795 GB, free: 3.766 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007999/0.6595, allocations: 2.458 MB / 0.5819 GB, free: 1.301 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00347/0.663, allocations: 1.147 MB / 0.583 GB, free: 156 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01553/0.6786, allocations: 11.49 MB / 0.5942 GB, free: 4.641 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009119/0.6877, allocations: 5.939 MB / 0.6 GB, free: 14.64 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005175/0.693, allocations: 2.266 MB / 0.6022 GB, free: 12.37 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006284/0.6993, allocations: 3.766 MB / 0.6059 GB, free: 8.59 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001988/0.7013, allocations: 392 kB / 0.6063 GB, free: 8.207 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004374/0.7057, allocations: 1.49 MB / 0.6077 GB, free: 6.715 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005063/0.7108, allocations: 3.109 MB / 0.6107 GB, free: 3.598 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007583/0.7184, allocations: 3.433 MB / 0.6141 GB, free: 148 kB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01266/0.7311, allocations: 8.868 MB / 0.6228 GB, free: 7.254 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.256e-06/0.7312, allocations: 0 / 0.6228 GB, free: 7.254 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.7312, allocations: 0 / 0.6228 GB, free: 7.254 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0005859/0.7318, allocations: 4 kB / 0.6228 GB, free: 7.25 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.02534/0.7571, allocations: 7.706 MB / 0.6303 GB, free: 15.46 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/0.7572, allocations: 16.03 kB / 0.6303 GB, free: 15.44 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01542/0.7726, allocations: 3.108 MB / 0.6333 GB, free: 12.32 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01215/0.7848, allocations: 4.876 MB / 0.6381 GB, free: 7.363 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003385/0.7852, allocations: 369.9 kB / 0.6385 GB, free: 7 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00203/0.7873, allocations: 500 kB / 0.6389 GB, free: 6.512 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03102/0.8183, allocations: 14.87 MB / 0.6535 GB, free: 6.621 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002645/0.8186, allocations: 75.36 kB / 0.6535 GB, free: 6.547 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009129/0.8195, allocations: 231.8 kB / 0.6537 GB, free: 6.32 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004735/0.8243, allocations: 2.723 MB / 0.6564 GB, free: 3.594 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02662/0.8509, allocations: 12.3 MB / 0.6684 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3922/1.243, allocations: 57.38 MB / 0.7245 GB, free: 153.1 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02116/1.264, allocations: 4.644 MB / 0.729 GB, free: 152.4 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006513/1.271, allocations: 2.907 MB / 0.7318 GB, free: 151.9 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002095/1.271, allocations: 38.88 kB / 0.7319 GB, free: 151.9 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.946e-05/1.271, allocations: 55.38 kB / 0.7319 GB, free: 151.9 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=186): time 8.095e-06/1.271, allocations: 0 / 0.7319 GB, free: 151.9 MB / 0.5294 GB Notification: Performance of matching and sorting (n=204): time 0.08309/1.354, allocations: 23.31 MB / 0.7547 GB, free: 142.2 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.443e-05/1.355, allocations: 254.5 kB / 0.7549 GB, free: 141.9 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01388/1.368, allocations: 6.736 MB / 0.7615 GB, free: 138 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0006286/1.369, allocations: 57.7 kB / 0.7616 GB, free: 137.9 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003654/1.373, allocations: 4.614 MB / 0.7661 GB, free: 133.3 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.00136/1.374, allocations: 0.8204 MB / 0.7669 GB, free: 132.5 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003456/1.378, allocations: 1.689 MB / 0.7685 GB, free: 130.8 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 7.232e-05/1.378, allocations: 305.1 kB / 0.7688 GB, free: 130.5 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004415/1.382, allocations: 2.905 MB / 0.7716 GB, free: 127.6 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005011/1.387, allocations: 7.858 MB / 0.7793 GB, free: 117.5 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00961/1.397, allocations: 11.52 MB / 0.7906 GB, free: 103.7 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001355/1.397, allocations: 52 kB / 0.7906 GB, free: 103.7 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1062) (initialization): time 0.02068/1.418, allocations: 12 MB / 0.8023 GB, free: 91.65 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001026/1.418, allocations: 76 kB / 0.8024 GB, free: 91.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001662/1.418, allocations: 178.3 kB / 0.8026 GB, free: 91.4 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004015/1.422, allocations: 1.775 MB / 0.8043 GB, free: 89.62 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005383/1.427, allocations: 1.86 MB / 0.8061 GB, free: 87.76 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01138/1.439, allocations: 11.74 MB / 0.8176 GB, free: 75.62 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007459/1.446, allocations: 471 kB / 0.818 GB, free: 75.17 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001405/1.448, allocations: 492 kB / 0.8185 GB, free: 74.69 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.005237/1.453, allocations: 3.056 MB / 0.8215 GB, free: 71.62 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001263/1.454, allocations: 0.536 MB / 0.822 GB, free: 71.08 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007707/1.462, allocations: 4.872 MB / 0.8268 GB, free: 66.19 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.769e-05/1.462, allocations: 27.98 kB / 0.8268 GB, free: 66.16 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.248e-05/1.462, allocations: 8 kB / 0.8268 GB, free: 66.15 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.5e-05/1.462, allocations: 7.969 kB / 0.8268 GB, free: 66.14 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01847/1.481, allocations: 11.26 MB / 0.8378 GB, free: 54.86 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.647e-05/1.481, allocations: 0 / 0.8378 GB, free: 54.86 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001432/1.482, allocations: 327.5 kB / 0.8381 GB, free: 54.54 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003623/1.486, allocations: 1.49 MB / 0.8396 GB, free: 53.04 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002466/1.486, allocations: 39.98 kB / 0.8396 GB, free: 53 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01031/1.496, allocations: 10.84 MB / 0.8502 GB, free: 41.76 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.898e-06/1.496, allocations: 4.031 kB / 0.8502 GB, free: 41.76 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01086/1.507, allocations: 7.956 MB / 0.858 GB, free: 33.77 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001865/1.509, allocations: 0.6111 MB / 0.8586 GB, free: 33.13 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008749/1.51, allocations: 35.44 kB / 0.8586 GB, free: 33.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001942/1.512, allocations: 143.7 kB / 0.8587 GB, free: 32.96 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004229/1.512, allocations: 133.2 kB / 0.8589 GB, free: 32.83 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001488/1.513, allocations: 48 kB / 0.8589 GB, free: 32.79 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.006016/1.519, allocations: 4.293 MB / 0.8631 GB, free: 28.5 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.4e-07/1.519, allocations: 0 / 0.8631 GB, free: 28.5 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.008836/1.528, allocations: 1.491 MB / 0.8646 GB, free: 27.02 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.0006783/1.528, allocations: 177.5 kB / 0.8647 GB, free: 26.84 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01017/1.538, allocations: 7.12 MB / 0.8717 GB, free: 19.72 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.146e-06/1.538, allocations: 0 / 0.8717 GB, free: 19.72 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002752/1.541, allocations: 2.285 MB / 0.8739 GB, free: 17.41 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005332/1.547, allocations: 0.7299 MB / 0.8746 GB, free: 16.68 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02487/1.571, allocations: 17.46 MB / 0.8917 GB, free: 15.18 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007563/1.579, allocations: 4.635 MB / 0.8962 GB, free: 10.51 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001678/1.581, allocations: 411.4 kB / 0.8966 GB, free: 10.11 MB / 0.545 GB Notification: Performance of SimCode: time 8.51e-07/1.581, allocations: 0 / 0.8966 GB, free: 10.11 MB / 0.545 GB Notification: Performance of Templates: time 0.4688/2.05, allocations: 169.4 MB / 1.062 GB, free: 75.09 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