Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces2.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.WorldForces2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces2") translateModel(ModelicaTest.MultiBody.Forces.WorldForces2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001889/0.001889, allocations: 176.2 kB / 16.41 MB, free: 5.727 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.39/1.39, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.000764/0.0007639, allocations: 85.33 kB / 270.9 MB, free: 8.355 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.3626/0.3626, allocations: 43.56 MB / 362.7 MB, free: 52.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003615/0.0003615, allocations: 12 kB / 431.4 MB, free: 6.152 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1264, allocations: 58.84 MB / 490.2 MB, free: 11.22 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces2): time 0.3026/0.4291, allocations: 91.63 MB / 0.5682 GB, free: 1.305 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.04743/0.4766, allocations: 18.44 MB / 0.5862 GB, free: 4.703 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02628/0.5029, allocations: 432.2 kB / 0.5866 GB, free: 4.637 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02388/0.5268, allocations: 4.841 MB / 0.5914 GB, free: 2.855 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.05783/0.5847, allocations: 14.05 MB / 0.6051 GB, free: 4.93 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008521/0.5933, allocations: 1.007 MB / 0.6061 GB, free: 3.922 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.06554/0.6589, allocations: 51.2 MB / 0.6561 GB, free: 0.668 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01376/0.6727, allocations: 7.41 MB / 0.6633 GB, free: 9.215 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005177/0.6779, allocations: 2.136 MB / 0.6654 GB, free: 7.07 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006525/0.6845, allocations: 3.443 MB / 0.6688 GB, free: 3.617 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002107/0.6866, allocations: 244 kB / 0.669 GB, free: 3.379 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004394/0.6911, allocations: 1.124 MB / 0.6701 GB, free: 2.254 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.3334/1.025, allocations: 2.984 MB / 0.673 GB, free: 54.07 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003097/1.028, allocations: 1.369 MB / 0.6743 GB, free: 54.04 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01231/1.04, allocations: 9.198 MB / 0.6833 GB, free: 53.47 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/1.04, allocations: 0.6875 kB / 0.6833 GB, free: 53.47 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.554e-06/1.04, allocations: 0.8125 kB / 0.6833 GB, free: 53.47 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004886/1.041, allocations: 0 / 0.6833 GB, free: 53.47 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: 2370 * Number of variables: 2370 Notification: Performance of Generate backend data structure: time 0.01994/1.06, allocations: 6.69 MB / 0.6899 GB, free: 50.59 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/1.061, allocations: 10.66 kB / 0.6899 GB, free: 50.59 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01731/1.078, allocations: 3.242 MB / 0.693 GB, free: 50.13 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01226/1.09, allocations: 5.064 MB / 0.698 GB, free: 49.35 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003417/1.091, allocations: 389.9 kB / 0.6984 GB, free: 49.34 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00213/1.093, allocations: 0.5171 MB / 0.6989 GB, free: 49.33 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03217/1.125, allocations: 15.76 MB / 0.7143 GB, free: 46.43 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002848/1.125, allocations: 77.33 kB / 0.7143 GB, free: 46.42 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009498/1.126, allocations: 254.5 kB / 0.7146 GB, free: 46.41 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004646/1.131, allocations: 2.925 MB / 0.7174 GB, free: 46.18 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02509/1.156, allocations: 13.13 MB / 0.7303 GB, free: 43.94 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07213/1.228, allocations: 60.39 MB / 0.7892 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01373/1.242, allocations: 6.088 MB / 0.7952 GB, free: 5.504 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004296/1.246, allocations: 3.369 MB / 0.7985 GB, free: 3.508 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001535/1.246, allocations: 51.23 kB / 0.7985 GB, free: 3.477 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.59e-05/1.246, allocations: 58.53 kB / 0.7986 GB, free: 3.43 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=242): time 4.709e-06/1.246, allocations: 0 / 0.7986 GB, free: 3.43 MB / 0.4948 GB Notification: Performance of matching and sorting (n=260): time 0.06526/1.312, allocations: 25.82 MB / 0.8238 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001505/1.312, allocations: 259.9 kB / 0.824 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01202/1.324, allocations: 6.933 MB / 0.8308 GB, free: 6.668 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0008646/1.325, allocations: 65.7 kB / 0.8309 GB, free: 6.598 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.004316/1.329, allocations: 4.795 MB / 0.8355 GB, free: 1.832 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001854/1.331, allocations: 1.016 MB / 0.8365 GB, free: 0.8242 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006362/1.332, allocations: 180 kB / 0.8367 GB, free: 0.6484 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0005548/1.332, allocations: 0.6741 MB / 0.8374 GB, free: 15.96 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005823/1.338, allocations: 3.281 MB / 0.8406 GB, free: 12.68 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009992/1.348, allocations: 8.451 MB / 0.8488 GB, free: 1.762 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009396/1.358, allocations: 5.134 MB / 0.8538 GB, free: 12.79 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001942/1.358, allocations: 56.75 kB / 0.8539 GB, free: 12.74 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1150) (initialization): time 0.03053/1.388, allocations: 13.01 MB / 0.8666 GB, free: 0.8008 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001749/1.389, allocations: 80 kB / 0.8667 GB, free: 0.7227 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003285/1.389, allocations: 184.8 kB / 0.8669 GB, free: 0.543 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005259/1.394, allocations: 1.803 MB / 0.8686 GB, free: 14.73 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008304/1.402, allocations: 2.11 MB / 0.8707 GB, free: 12.8 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01645/1.419, allocations: 11.54 MB / 0.8819 GB, free: 0.9766 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01009/1.429, allocations: 0.4953 MB / 0.8824 GB, free: 492 kB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.2813/1.711, allocations: 0.5084 MB / 0.8829 GB, free: 219.3 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 825 * Number of states: 0 () * Number of discrete variables: 57 (worldForce2.color[3],worldForce2.color[2],worldForce2.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],fixed2.color[3],fixed2.color[2],fixed2.color[1],worldForce1.color[3],worldForce1.color[2],worldForce1.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],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldForce.color[3],worldForce.color[2],worldForce.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],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 (1087): * Single equations (assignments): 1081 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 12,(2,100.0%) 12,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01009/1.721, allocations: 3.213 MB / 0.8861 GB, free: 219.1 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001912/1.723, allocations: 0.5713 MB / 0.8866 GB, free: 219.1 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0122/1.735, allocations: 5.801 MB / 0.8923 GB, free: 219 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.639e-05/1.735, allocations: 29.36 kB / 0.8923 GB, free: 219 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.016e-05/1.735, allocations: 7.188 kB / 0.8923 GB, free: 219 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.291e-05/1.735, allocations: 11.34 kB / 0.8923 GB, free: 219 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02981/1.765, allocations: 12.93 MB / 0.905 GB, free: 214.9 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.16e-05/1.765, allocations: 3 kB / 0.905 GB, free: 214.9 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002541/1.767, allocations: 0.5025 MB / 0.9054 GB, free: 214.9 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004078/1.772, allocations: 1.481 MB / 0.9069 GB, free: 214.6 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003814/1.772, allocations: 46.44 kB / 0.9069 GB, free: 214.6 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01182/1.784, allocations: 10.6 MB / 0.9173 GB, free: 208.2 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/1.784, allocations: 1.156 kB / 0.9173 GB, free: 208.2 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01894/1.803, allocations: 9.424 MB / 0.9265 GB, free: 204.8 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00379/1.807, allocations: 1.06 MB / 0.9275 GB, free: 204.4 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002181/1.809, allocations: 44.69 kB / 0.9276 GB, free: 204.4 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004135/1.813, allocations: 181 kB / 0.9277 GB, free: 204.4 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005944/1.814, allocations: 151.4 kB / 0.9279 GB, free: 204.3 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003113/1.814, allocations: 65.12 kB / 0.928 GB, free: 204.3 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.01086/1.825, allocations: 4.418 MB / 0.9323 GB, free: 202.9 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.024e-06/1.825, allocations: 0 / 0.9323 GB, free: 202.9 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.01278/1.838, allocations: 1.63 MB / 0.9339 GB, free: 202.7 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (Revolute3.phi,Revolute3.w,Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.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 (215): * Single equations (assignments): 209 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 10,(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001286/1.839, allocations: 185.9 kB / 0.934 GB, free: 202.6 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01497/1.854, allocations: 8.057 MB / 0.9419 GB, free: 199.8 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 9.969e-06/1.854, allocations: 0 / 0.9419 GB, free: 199.8 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.004579/1.859, allocations: 2.731 MB / 0.9446 GB, free: 198.5 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008981/1.868, allocations: 0.7429 MB / 0.9453 GB, free: 197.7 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03989/1.908, allocations: 18.27 MB / 0.9631 GB, free: 179.7 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01106/1.919, allocations: 4.853 MB / 0.9679 GB, free: 174.8 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002586/1.921, allocations: 451.4 kB / 0.9683 GB, free: 174.4 MB / 0.573 GB Notification: Performance of SimCode: time 3.206e-06/1.921, allocations: 0 / 0.9683 GB, free: 174.4 MB / 0.573 GB Notification: Performance of Templates: time 0.517/2.438, allocations: 180.5 MB / 1.145 GB, free: 208.4 MB / 0.573 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces2.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces2.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces2 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/WorldForces2/WorldForces2.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches