Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001083/0.001083, allocations: 179.5 kB / 16.41 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.566/1.566, allocations: 205.4 MB / 222.5 MB, free: 9.117 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007743/0.0007744, allocations: 92.92 kB / 270.9 MB, free: 8.359 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3741/0.3741, allocations: 43.56 MB / 362.7 MB, free: 52.11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003945/0.000395, allocations: 8 kB / 431.4 MB, free: 6.164 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1535/0.1539, allocations: 58.84 MB / 490.2 MB, free: 11.24 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3): time 0.3357/0.4896, allocations: 81.36 MB / 0.5582 GB, free: 8.66 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.04691/0.5365, allocations: 16.62 MB / 0.5744 GB, free: 13.31 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02446/0.5611, allocations: 377.5 kB / 0.5748 GB, free: 13.26 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01936/0.5805, allocations: 4.282 MB / 0.579 GB, free: 11.74 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.05261/0.6331, allocations: 12.42 MB / 0.5911 GB, free: 3.367 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008574/0.6417, allocations: 0.9245 MB / 0.592 GB, free: 2.441 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.04778/0.6895, allocations: 35.9 MB / 0.627 GB, free: 14.5 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0149/0.7045, allocations: 7.27 MB / 0.6341 GB, free: 7.191 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006143/0.7107, allocations: 1.946 MB / 0.636 GB, free: 5.238 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006047/0.7168, allocations: 3.073 MB / 0.639 GB, free: 2.156 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002124/0.719, allocations: 236 kB / 0.6393 GB, free: 1.926 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004191/0.7232, allocations: 1.116 MB / 0.6404 GB, free: 0.8086 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004673/0.7279, allocations: 2.684 MB / 0.643 GB, free: 14.11 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003166/0.7311, allocations: 1.306 MB / 0.6443 GB, free: 12.8 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01249/0.7436, allocations: 8.802 MB / 0.6529 GB, free: 3.977 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.7437, allocations: 0 / 0.6529 GB, free: 3.977 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.515e-06/0.7437, allocations: 0 / 0.6529 GB, free: 3.977 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0005414/0.7442, allocations: 0 / 0.6529 GB, free: 3.977 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2377 * Number of variables: 2377 Notification: Performance of Generate backend data structure: time 0.01789/0.7622, allocations: 6.265 MB / 0.659 GB, free: 13.63 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/0.7622, allocations: 12.03 kB / 0.659 GB, free: 13.62 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0135/0.7757, allocations: 2.842 MB / 0.6618 GB, free: 10.76 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01162/0.7874, allocations: 4.195 MB / 0.6659 GB, free: 6.508 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004932/0.788, allocations: 386.8 kB / 0.6662 GB, free: 6.129 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002537/0.7905, allocations: 499.7 kB / 0.6667 GB, free: 5.641 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3106/1.101, allocations: 16.4 MB / 0.6827 GB, free: 136.1 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000197/1.101, allocations: 63.78 kB / 0.6828 GB, free: 136.1 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007714/1.102, allocations: 235.6 kB / 0.683 GB, free: 136 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005412/1.108, allocations: 3.153 MB / 0.6861 GB, free: 135.4 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02749/1.135, allocations: 14.23 MB / 0.7 GB, free: 131.1 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07784/1.213, allocations: 59.14 MB / 0.7577 GB, free: 88.07 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01597/1.229, allocations: 7.164 MB / 0.7647 GB, free: 80.77 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005753/1.235, allocations: 4.491 MB / 0.7691 GB, free: 76.27 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02126/1.256, allocations: 15.43 MB / 0.7842 GB, free: 60.81 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.812e-05/1.256, allocations: 68.52 kB / 0.7843 GB, free: 60.73 MB / 490.7 MB Notification: Performance of pre-optimization done (n=306): time 5.32e-06/1.256, allocations: 0 / 0.7843 GB, free: 60.73 MB / 490.7 MB Notification: Performance of matching and sorting (n=348): time 0.0809/1.337, allocations: 32.75 MB / 0.8162 GB, free: 27.82 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.597e-05/1.337, allocations: 214.2 kB / 0.8164 GB, free: 27.56 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006637/1.344, allocations: 5.328 MB / 0.8216 GB, free: 22.25 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00106/1.345, allocations: 77.7 kB / 0.8217 GB, free: 22.16 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002165/1.347, allocations: 4.336 MB / 0.826 GB, free: 17.82 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001706/1.349, allocations: 1.278 MB / 0.8272 GB, free: 16.55 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004327/1.349, allocations: 171.4 kB / 0.8274 GB, free: 16.39 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003593/1.35, allocations: 0.6615 MB / 0.828 GB, free: 15.72 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005127/1.355, allocations: 3.893 MB / 0.8318 GB, free: 11.82 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007571/1.362, allocations: 8.381 MB / 0.84 GB, free: 1.234 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009923/1.372, allocations: 5.591 MB / 0.8455 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001959/1.373, allocations: 44 kB / 0.8455 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1104) (initialization): time 0.03491/1.408, allocations: 14.19 MB / 0.8594 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002892/1.408, allocations: 72 kB / 0.8594 GB, free: 13.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003819/1.408, allocations: 152 kB / 0.8596 GB, free: 13.12 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006926/1.415, allocations: 2.28 MB / 0.8618 GB, free: 10.84 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008451/1.424, allocations: 1.985 MB / 0.8637 GB, free: 8.848 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3076/1.731, allocations: 13.48 MB / 0.8769 GB, free: 149.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007995/1.739, allocations: 0.5023 MB / 0.8774 GB, free: 149.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002061/1.742, allocations: 490.1 kB / 0.8779 GB, free: 149.2 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 708 * Number of states: 0 () * Number of discrete variables: 51 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[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 (1032): * Single equations (assignments): 1027 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007521/1.749, allocations: 3.089 MB / 0.8809 GB, free: 149 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001509/1.751, allocations: 0.496 MB / 0.8814 GB, free: 149 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01389/1.765, allocations: 8.38 MB / 0.8895 GB, free: 146.1 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-05/1.765, allocations: 36.77 kB / 0.8896 GB, free: 146.1 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.874e-05/1.765, allocations: 8.719 kB / 0.8896 GB, free: 146.1 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-05/1.765, allocations: 19.45 kB / 0.8896 GB, free: 146.1 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02784/1.793, allocations: 17.13 MB / 0.9063 GB, free: 140.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.263e-05/1.793, allocations: 2.781 kB / 0.9063 GB, free: 140.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00316/1.796, allocations: 0.6163 MB / 0.9069 GB, free: 140.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005178/1.801, allocations: 2.037 MB / 0.9089 GB, free: 139.8 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005949/1.802, allocations: 65.19 kB / 0.909 GB, free: 139.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0174/1.819, allocations: 12.71 MB / 0.9214 GB, free: 133.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/1.819, allocations: 5.062 kB / 0.9214 GB, free: 133.5 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01937/1.838, allocations: 13.12 MB / 0.9342 GB, free: 128.8 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002691/1.841, allocations: 1.137 MB / 0.9353 GB, free: 128.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006854/1.842, allocations: 59.53 kB / 0.9354 GB, free: 128.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002466/1.844, allocations: 262.4 kB / 0.9356 GB, free: 128.2 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005368/1.845, allocations: 204.7 kB / 0.9358 GB, free: 128.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002382/1.845, allocations: 85.58 kB / 0.9359 GB, free: 128.2 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.005236/1.85, allocations: 3.333 MB / 0.9392 GB, free: 127.1 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3e-07/1.85, allocations: 0 / 0.9392 GB, free: 127.1 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.009444/1.86, allocations: 1.691 MB / 0.9408 GB, free: 126.7 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.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 (294): * Single equations (assignments): 289 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006912/1.861, allocations: 206.6 kB / 0.941 GB, free: 126.5 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01402/1.875, allocations: 9.5 MB / 0.9503 GB, free: 118 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.907e-06/1.875, allocations: 0 / 0.9503 GB, free: 118 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.006409/1.881, allocations: 4.091 MB / 0.9543 GB, free: 113.9 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005191/1.886, allocations: 0.6358 MB / 0.9549 GB, free: 113.3 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0277/1.914, allocations: 19.1 MB / 0.9736 GB, free: 94.34 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006126/1.92, allocations: 4.774 MB / 0.9782 GB, free: 89.54 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00225/1.923, allocations: 443.3 kB / 0.9787 GB, free: 89.1 MB / 0.5105 GB Notification: Performance of SimCode: time 8.42e-07/1.923, allocations: 0 / 0.9787 GB, free: 89.1 MB / 0.5105 GB Notification: Performance of Templates: time 0.4173/2.34, allocations: 148.9 MB / 1.124 GB, free: 125.3 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameForcesAndTorques3/FrameForcesAndTorques3.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches