Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.ForcesAndTorques.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.ForcesAndTorques,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.ForcesAndTorques") translateModel(ModelicaTest.MultiBody.Forces.ForcesAndTorques,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.ForcesAndTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002472/0.002479, allocations: 186.5 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.08/2.08, allocations: 205.4 MB / 222.5 MB, free: 13.86 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.001156/0.001156, allocations: 94.86 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2908/0.2908, allocations: 43.56 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004783/0.0004785, allocations: 12 kB / 431.4 MB, free: 20.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1184, allocations: 58.86 MB / 490.2 MB, free: 9.34 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForcesAndTorques): time 0.5057/0.6242, allocations: 90.97 MB / 0.5676 GB, free: 10.22 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.06123/0.6855, allocations: 20.1 MB / 0.5872 GB, free: 9.016 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0215/0.707, allocations: 451 kB / 0.5876 GB, free: 8.574 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0176/0.7247, allocations: 4.584 MB / 0.5921 GB, free: 3.969 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.05373/0.7785, allocations: 12.89 MB / 0.6047 GB, free: 7.051 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008181/0.7867, allocations: 0.9714 MB / 0.6056 GB, free: 6.078 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.07664/0.8634, allocations: 27.77 MB / 0.6328 GB, free: 10.28 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02037/0.8838, allocations: 8.833 MB / 0.6414 GB, free: 1.371 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004801/0.8887, allocations: 1.814 MB / 0.6432 GB, free: 15.55 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005643/0.8944, allocations: 2.473 MB / 0.6456 GB, free: 13.07 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001857/0.8963, allocations: 276 kB / 0.6458 GB, free: 12.8 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004171/0.9005, allocations: 1.014 MB / 0.6468 GB, free: 11.78 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005472/0.906, allocations: 2.985 MB / 0.6497 GB, free: 8.785 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003214/0.9093, allocations: 1.524 MB / 0.6512 GB, free: 7.25 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01781/0.9271, allocations: 10.34 MB / 0.6613 GB, free: 12.89 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.9272, allocations: 0 / 0.6613 GB, free: 12.89 MB / 474.7 MB Notification: Performance of FrontEnd: time 4.428e-06/0.9272, allocations: 4 kB / 0.6613 GB, free: 12.88 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0004641/0.9277, allocations: 3.938 kB / 0.6613 GB, free: 12.88 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: 2763 * Number of variables: 2763 Notification: Performance of Generate backend data structure: time 0.02841/0.9561, allocations: 7.723 MB / 0.6689 GB, free: 5.07 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.838e-05/0.9562, allocations: 11.97 kB / 0.6689 GB, free: 5.059 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09207/1.048, allocations: 8.454 MB / 0.6771 GB, free: 12.58 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01731/1.066, allocations: 5.155 MB / 0.6822 GB, free: 7.348 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006346/1.066, allocations: 459.5 kB / 0.6826 GB, free: 6.898 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002834/1.069, allocations: 0.5816 MB / 0.6832 GB, free: 6.316 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05603/1.125, allocations: 18.6 MB / 0.7013 GB, free: 2.664 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003672/1.126, allocations: 71.3 kB / 0.7014 GB, free: 2.594 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002182/1.128, allocations: 287.7 kB / 0.7017 GB, free: 2.312 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01112/1.139, allocations: 3.542 MB / 0.7051 GB, free: 14.76 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6869/1.826, allocations: 15.66 MB / 0.7204 GB, free: 177.6 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1314/1.957, allocations: 70.09 MB / 0.7889 GB, free: 129.5 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03839/1.996, allocations: 8.563 MB / 0.7972 GB, free: 121.8 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03023/2.026, allocations: 11.73 MB / 0.8087 GB, free: 110 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.418e-05/2.026, allocations: 82.89 kB / 0.8088 GB, free: 109.9 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=347): time 8.566e-06/2.026, allocations: 3.984 kB / 0.8088 GB, free: 109.9 MB / 0.5105 GB Notification: Performance of matching and sorting (n=389): time 0.2032/2.23, allocations: 38.36 MB / 0.8462 GB, free: 71.27 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001415/2.23, allocations: 248.9 kB / 0.8465 GB, free: 70.97 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02089/2.251, allocations: 7.655 MB / 0.854 GB, free: 63.34 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001153/2.252, allocations: 81.7 kB / 0.854 GB, free: 63.25 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.004276/2.256, allocations: 4.996 MB / 0.8589 GB, free: 58.26 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002371/2.259, allocations: 1.443 MB / 0.8603 GB, free: 56.83 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001452/2.26, allocations: 200 kB / 0.8605 GB, free: 56.64 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0008142/2.261, allocations: 0.7324 MB / 0.8612 GB, free: 55.89 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01093/2.272, allocations: 4.209 MB / 0.8653 GB, free: 51.68 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01464/2.287, allocations: 9.772 MB / 0.8749 GB, free: 39.17 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01471/2.301, allocations: 6.291 MB / 0.881 GB, free: 32.88 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001534/2.302, allocations: 56 kB / 0.8811 GB, free: 32.82 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1305) (initialization): time 0.04457/2.346, allocations: 15.12 MB / 0.8958 GB, free: 17.69 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002332/2.347, allocations: 92.03 kB / 0.8959 GB, free: 17.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003902/2.347, allocations: 196 kB / 0.8961 GB, free: 17.41 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01138/2.358, allocations: 1.836 MB / 0.8979 GB, free: 15.56 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02072/2.379, allocations: 2.39 MB / 0.9002 GB, free: 13.17 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02698/2.406, allocations: 12.41 MB / 0.9124 GB, free: 0.4961 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.3576/2.764, allocations: 0.5663 MB / 0.9129 GB, free: 161.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002506/2.766, allocations: 0.574 MB / 0.9135 GB, free: 161.2 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 890 * Number of states: 0 () * Number of discrete variables: 69 (fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.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],forceAndTorque2.connectionLineColor[3],forceAndTorque2.connectionLineColor[2],forceAndTorque2.connectionLineColor[1],forceAndTorque2.torqueColor[3],forceAndTorque2.torqueColor[2],forceAndTorque2.torqueColor[1],forceAndTorque2.forceColor[3],forceAndTorque2.forceColor[2],forceAndTorque2.forceColor[1],forceAndTorque1.connectionLineColor[3],forceAndTorque1.connectionLineColor[2],forceAndTorque1.connectionLineColor[1],forceAndTorque1.torqueColor[3],forceAndTorque1.torqueColor[2],forceAndTorque1.torqueColor[1],forceAndTorque1.forceColor[3],forceAndTorque1.forceColor[2],forceAndTorque1.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[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 (1223): * Single equations (assignments): 1216 * Array equations: 5 * 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.01095/2.777, allocations: 3.615 MB / 0.917 GB, free: 161.1 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002172/2.78, allocations: 0.6489 MB / 0.9176 GB, free: 161.1 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02888/2.808, allocations: 8.444 MB / 0.9259 GB, free: 158.5 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001076/2.809, allocations: 40.56 kB / 0.9259 GB, free: 158.5 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.028e-05/2.809, allocations: 9.125 kB / 0.9259 GB, free: 158.5 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001294/2.809, allocations: 18.92 kB / 0.926 GB, free: 158.5 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06064/2.869, allocations: 18.64 MB / 0.9442 GB, free: 151.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.127e-05/2.87, allocations: 3.5 kB / 0.9442 GB, free: 151.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007096/2.877, allocations: 0.7119 MB / 0.9449 GB, free: 151.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007375/2.884, allocations: 1.539 MB / 0.9464 GB, free: 151.5 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001158/2.885, allocations: 72.11 kB / 0.9464 GB, free: 151.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02444/2.91, allocations: 11.58 MB / 0.9577 GB, free: 145.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.406e-05/2.91, allocations: 17.8 kB / 0.9578 GB, free: 145.5 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03535/2.945, allocations: 14.84 MB / 0.9723 GB, free: 132.2 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005193/2.951, allocations: 1.353 MB / 0.9736 GB, free: 131 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002653/2.953, allocations: 72 kB / 0.9736 GB, free: 131 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00683/2.96, allocations: 260.4 kB / 0.9739 GB, free: 130.7 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001666/2.962, allocations: 237.9 kB / 0.9741 GB, free: 130.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006862/2.963, allocations: 105.2 kB / 0.9742 GB, free: 130.4 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01199/2.975, allocations: 4.956 MB / 0.9791 GB, free: 125.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.41e-07/2.975, allocations: 0 / 0.9791 GB, free: 125.5 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0124/2.987, allocations: 1.905 MB / 0.9809 GB, free: 123.6 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.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 (329): * Single equations (assignments): 324 * 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.001691/2.989, allocations: 243.7 kB / 0.9812 GB, free: 123.3 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0244/3.013, allocations: 10.27 MB / 0.9912 GB, free: 113.1 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.231e-05/3.013, allocations: 7.125 kB / 0.9912 GB, free: 113.1 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.01171/3.025, allocations: 4.14 MB / 0.9952 GB, free: 109 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006887/3.032, allocations: 0.7793 MB / 0.996 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04927/3.081, allocations: 21.9 MB / 1.017 GB, free: 86.38 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0117/3.093, allocations: 5.651 MB / 1.023 GB, free: 80.7 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00426/3.097, allocations: 0.5236 MB / 1.023 GB, free: 80.17 MB / 0.5105 GB Notification: Performance of SimCode: time 1.873e-06/3.097, allocations: 0 / 1.023 GB, free: 80.17 MB / 0.5105 GB Notification: Performance of Templates: time 0.6782/3.776, allocations: 168.1 MB / 1.188 GB, free: 103.9 MB / 0.5262 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.ForcesAndTorques.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.ForcesAndTorques.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.ForcesAndTorques --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.ForcesAndTorques_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/ForcesAndTorques/ForcesAndTorques.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.ForcesAndTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches