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.0008756/0.0008756, allocations: 175 kB / 16.72 MB, free: 5.082 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.214/1.214, allocations: 205.4 MB / 222.9 MB, free: 9.031 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.0007418/0.0007416, allocations: 89.16 kB / 271.2 MB, free: 8.258 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.2937/0.2937, allocations: 43.56 MB / 363.1 MB, free: 51.9 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004354/0.0004354, allocations: 15.98 kB / 432 MB, free: 5.598 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1101, allocations: 58.85 MB / 490.8 MB, free: 10.67 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForcesAndTorques): time 0.2405/0.3506, allocations: 96.44 MB / 0.5735 GB, free: 13.58 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.03957/0.3902, allocations: 19.14 MB / 0.5922 GB, free: 0.4961 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01747/0.4077, allocations: 454.2 kB / 0.5926 GB, free: 184 kB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01708/0.4248, allocations: 5.072 MB / 0.5976 GB, free: 12.83 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03768/0.4626, allocations: 14.73 MB / 0.6119 GB, free: 14.05 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006286/0.4689, allocations: 1.038 MB / 0.613 GB, free: 13.01 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.04381/0.5127, allocations: 37.16 MB / 0.6492 GB, free: 7.812 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01284/0.5256, allocations: 9.935 MB / 0.6589 GB, free: 13.79 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004105/0.5297, allocations: 2.265 MB / 0.6612 GB, free: 11.51 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005525/0.5353, allocations: 3.606 MB / 0.6647 GB, free: 7.895 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001224/0.5366, allocations: 272 kB / 0.6649 GB, free: 7.629 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003081/0.5396, allocations: 1.198 MB / 0.6661 GB, free: 6.43 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00338/0.543, allocations: 3.199 MB / 0.6692 GB, free: 3.223 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.2364/0.7794, allocations: 3.471 MB / 0.6726 GB, free: 44.66 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01112/0.7906, allocations: 10.21 MB / 0.6826 GB, free: 44.04 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.7906, allocations: 3.531 kB / 0.6826 GB, free: 44.04 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.7906, allocations: 0 / 0.6826 GB, free: 44.04 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004055/0.791, allocations: 0 / 0.6826 GB, free: 44.04 MB / 490.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.0161/0.8071, allocations: 7.211 MB / 0.6896 GB, free: 40.9 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.8072, allocations: 8.719 kB / 0.6896 GB, free: 40.9 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01249/0.8197, allocations: 3.058 MB / 0.6926 GB, free: 40.38 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009335/0.8291, allocations: 4.876 MB / 0.6974 GB, free: 39.47 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002992/0.8294, allocations: 452.8 kB / 0.6978 GB, free: 39.46 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001612/0.831, allocations: 0.5836 MB / 0.6984 GB, free: 39.46 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03215/0.8632, allocations: 18.47 MB / 0.7164 GB, free: 36.5 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002031/0.8634, allocations: 68.86 kB / 0.7165 GB, free: 36.49 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000764/0.8642, allocations: 281.4 kB / 0.7168 GB, free: 36.49 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004827/0.869, allocations: 3.541 MB / 0.7202 GB, free: 36.05 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02727/0.8963, allocations: 15.63 MB / 0.7355 GB, free: 32.89 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08164/0.978, allocations: 70.29 MB / 0.8041 GB, free: 7.414 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02121/0.9992, allocations: 8.452 MB / 0.8124 GB, free: 0.6719 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006677/1.006, allocations: 4.981 MB / 0.8173 GB, free: 13.63 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0192/1.025, allocations: 11.86 MB / 0.8288 GB, free: 3.293 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.899e-05/1.025, allocations: 73.17 kB / 0.8289 GB, free: 3.215 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=347): time 6.172e-06/1.025, allocations: 3 kB / 0.8289 GB, free: 3.215 MB / 0.5261 GB Notification: Performance of matching and sorting (n=389): time 0.09276/1.118, allocations: 38.89 MB / 0.8669 GB, free: 12.16 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001303/1.118, allocations: 252.9 kB / 0.8671 GB, free: 11.86 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01074/1.129, allocations: 7.386 MB / 0.8743 GB, free: 4.496 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0008849/1.13, allocations: 89.53 kB / 0.8744 GB, free: 4.406 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.003415/1.133, allocations: 5.202 MB / 0.8795 GB, free: 15.23 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.001801/1.135, allocations: 1.453 MB / 0.8809 GB, free: 13.79 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005843/1.136, allocations: 200 kB / 0.8811 GB, free: 13.59 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0005669/1.136, allocations: 0.7401 MB / 0.8818 GB, free: 12.85 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00668/1.143, allocations: 4.432 MB / 0.8862 GB, free: 8.41 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.207/1.35, allocations: 10.05 MB / 0.896 GB, free: 234 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01795/1.368, allocations: 15.57 MB / 0.9112 GB, free: 224.8 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002477/1.368, allocations: 57.59 kB / 0.9112 GB, free: 224.8 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1343) (initialization): time 0.03083/1.399, allocations: 16.4 MB / 0.9273 GB, free: 219.2 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001728/1.399, allocations: 88.41 kB / 0.9273 GB, free: 219.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002928/1.4, allocations: 197.6 kB / 0.9275 GB, free: 219.2 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00574/1.405, allocations: 2.321 MB / 0.9298 GB, free: 218.8 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009289/1.415, allocations: 2.436 MB / 0.9322 GB, free: 218.5 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01546/1.43, allocations: 13.48 MB / 0.9453 GB, free: 211.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009005/1.439, allocations: 0.5981 MB / 0.9459 GB, free: 211.7 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002047/1.441, allocations: 0.5879 MB / 0.9465 GB, free: 211.6 MB / 0.5886 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 (1261): * Single equations (assignments): 1254 * 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 {(3,100.0%) 22,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007951/1.449, allocations: 3.622 MB / 0.95 GB, free: 210 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00114/1.451, allocations: 0.638 MB / 0.9507 GB, free: 210 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0139/1.464, allocations: 9.18 MB / 0.9596 GB, free: 206.7 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.526e-05/1.465, allocations: 39.73 kB / 0.9597 GB, free: 206.7 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.893e-05/1.465, allocations: 9.812 kB / 0.9597 GB, free: 206.7 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.403e-05/1.465, allocations: 19.38 kB / 0.9597 GB, free: 206.7 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03092/1.496, allocations: 19.36 MB / 0.9786 GB, free: 188.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.807e-05/1.496, allocations: 8 kB / 0.9786 GB, free: 188.7 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003163/1.499, allocations: 0.7077 MB / 0.9793 GB, free: 188 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004662/1.503, allocations: 2.038 MB / 0.9813 GB, free: 185.9 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007013/1.504, allocations: 79.98 kB / 0.9814 GB, free: 185.9 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01341/1.518, allocations: 12.73 MB / 0.9938 GB, free: 173 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.765e-06/1.518, allocations: 15.31 kB / 0.9938 GB, free: 173 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01867/1.536, allocations: 14.28 MB / 1.008 GB, free: 158.7 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003965/1.54, allocations: 1.367 MB / 1.009 GB, free: 157.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001153/1.541, allocations: 77.31 kB / 1.009 GB, free: 157.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002926/1.544, allocations: 259.6 kB / 1.009 GB, free: 157 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006043/1.545, allocations: 246.8 kB / 1.01 GB, free: 156.7 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002753/1.545, allocations: 110.1 kB / 1.01 GB, free: 156.6 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.006963/1.552, allocations: 4.739 MB / 1.014 GB, free: 151.9 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.3e-07/1.552, allocations: 0 / 1.014 GB, free: 151.9 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.009005/1.561, allocations: 1.941 MB / 1.016 GB, free: 150 MB / 0.5886 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.0007674/1.562, allocations: 227.2 kB / 1.016 GB, free: 149.7 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.01443/1.577, allocations: 10.75 MB / 1.027 GB, free: 139 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.284e-05/1.577, allocations: 4 kB / 1.027 GB, free: 139 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.005897/1.583, allocations: 4.313 MB / 1.031 GB, free: 134.7 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01164/1.594, allocations: 0.7948 MB / 1.032 GB, free: 133.9 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03142/1.626, allocations: 22.13 MB / 1.054 GB, free: 111.7 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007797/1.633, allocations: 5.452 MB / 1.059 GB, free: 106.2 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002656/1.636, allocations: 0.5306 MB / 1.059 GB, free: 105.6 MB / 0.5886 GB Notification: Performance of SimCode: time 8.02e-07/1.636, allocations: 0 / 1.059 GB, free: 105.6 MB / 0.5886 GB Notification: Performance of Templates: time 0.4124/2.049, allocations: 174.4 MB / 1.23 GB, free: 172.9 MB / 0.5886 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/jenkins/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