Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces.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.WorldForces,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.WorldForces") translateModel(ModelicaTest.MultiBody.Forces.WorldForces,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.WorldForces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002238/0.002244, allocations: 188.3 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.134/2.134, allocations: 205.4 MB / 222.5 MB, free: 13.85 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.00115/0.001149, allocations: 90.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.2782/0.2782, allocations: 43.56 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004537/0.0004537, allocations: 16 kB / 431.4 MB, free: 20.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1147, allocations: 58.86 MB / 490.2 MB, free: 9.336 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces): time 0.4625/0.5773, allocations: 97.05 MB / 0.5735 GB, free: 5.895 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.06425/0.6416, allocations: 21.48 MB / 0.5945 GB, free: 1.559 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02223/0.6639, allocations: 486.9 kB / 0.595 GB, free: 1.082 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01803/0.682, allocations: 4.903 MB / 0.5997 GB, free: 12.15 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.05499/0.737, allocations: 13.77 MB / 0.6132 GB, free: 14.36 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008188/0.7452, allocations: 1.065 MB / 0.6142 GB, free: 13.29 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.1054/0.8507, allocations: 39.96 MB / 0.6532 GB, free: 5.289 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01732/0.8681, allocations: 8.057 MB / 0.6611 GB, free: 13.17 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00494/0.8731, allocations: 1.884 MB / 0.663 GB, free: 11.28 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005918/0.879, allocations: 2.636 MB / 0.6655 GB, free: 8.637 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001947/0.881, allocations: 272 kB / 0.6658 GB, free: 8.371 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004317/0.8854, allocations: 1.011 MB / 0.6668 GB, free: 7.359 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005716/0.8912, allocations: 3.051 MB / 0.6698 GB, free: 4.301 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00347/0.8947, allocations: 1.551 MB / 0.6713 GB, free: 2.738 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01755/0.9123, allocations: 10.4 MB / 0.6814 GB, free: 8.312 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.9123, allocations: 0 / 0.6814 GB, free: 8.312 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.697e-06/0.9124, allocations: 4 kB / 0.6814 GB, free: 8.309 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000482/0.9129, allocations: 0 / 0.6814 GB, free: 8.309 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: 2705 * Number of variables: 2705 Notification: Performance of Generate backend data structure: time 0.02901/0.9419, allocations: 7.848 MB / 0.6891 GB, free: 384 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.987e-05/0.942, allocations: 8.031 kB / 0.6891 GB, free: 376 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1266/1.069, allocations: 11.31 MB / 0.7002 GB, free: 5.023 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0204/1.089, allocations: 5.903 MB / 0.7059 GB, free: 15.04 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007267/1.09, allocations: 439.2 kB / 0.7063 GB, free: 14.61 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002897/1.093, allocations: 0.5816 MB / 0.7069 GB, free: 14.03 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6848/1.778, allocations: 17.74 MB / 0.7242 GB, free: 181.4 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005306/1.778, allocations: 80.5 kB / 0.7243 GB, free: 181.4 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002527/1.781, allocations: 279.9 kB / 0.7246 GB, free: 181.4 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01138/1.792, allocations: 3.43 MB / 0.7279 GB, free: 180.8 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0736/1.866, allocations: 14.7 MB / 0.7423 GB, free: 175.9 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1758/2.042, allocations: 68.59 MB / 0.8093 GB, free: 112.9 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04414/2.086, allocations: 7.289 MB / 0.8164 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000551/2.086, allocations: 61.14 kB / 0.8164 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.503e-05/2.087, allocations: 68.62 kB / 0.8165 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=307): time 1.247e-05/2.087, allocations: 0 / 0.8165 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of matching and sorting (n=340): time 0.2119/2.299, allocations: 33.22 MB / 0.8489 GB, free: 71.77 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001453/2.299, allocations: 299.4 kB / 0.8492 GB, free: 71.42 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02428/2.323, allocations: 7.832 MB / 0.8569 GB, free: 63.62 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001283/2.324, allocations: 69.7 kB / 0.8569 GB, free: 63.54 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.006272/2.331, allocations: 5.07 MB / 0.8619 GB, free: 58.48 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002842/2.334, allocations: 1.281 MB / 0.8631 GB, free: 57.21 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001849/2.336, allocations: 199.9 kB / 0.8633 GB, free: 57.01 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.001021/2.337, allocations: 0.7118 MB / 0.864 GB, free: 56.29 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01409/2.351, allocations: 3.79 MB / 0.8677 GB, free: 52.49 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01907/2.37, allocations: 9.363 MB / 0.8769 GB, free: 40.36 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01826/2.388, allocations: 5.825 MB / 0.8826 GB, free: 34.54 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001513/2.388, allocations: 56 kB / 0.8826 GB, free: 34.48 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1244) (initialization): time 0.0376/2.426, allocations: 13.92 MB / 0.8962 GB, free: 20.54 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.000133/2.426, allocations: 92.94 kB / 0.8963 GB, free: 20.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002441/2.426, allocations: 196 kB / 0.8965 GB, free: 20.26 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006451/2.433, allocations: 1.567 MB / 0.898 GB, free: 18.68 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01429/2.447, allocations: 2.277 MB / 0.9002 GB, free: 16.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02203/2.469, allocations: 12.68 MB / 0.9126 GB, free: 3.336 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01088/2.48, allocations: 0.5501 MB / 0.9132 GB, free: 2.785 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002027/2.482, allocations: 0.5663 MB / 0.9137 GB, free: 2.219 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 896 * Number of states: 0 () * Number of discrete variables: 63 (forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[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],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],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 (1169): * Single equations (assignments): 1163 * 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%) 13,(1,100.0%) 14,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.3539/2.836, allocations: 3.581 MB / 0.9172 GB, free: 159.8 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001938/2.838, allocations: 0.6457 MB / 0.9178 GB, free: 159.8 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02312/2.861, allocations: 6.999 MB / 0.9247 GB, free: 158.4 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.527e-05/2.862, allocations: 37.83 kB / 0.9247 GB, free: 158.4 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.452e-05/2.862, allocations: 8.891 kB / 0.9247 GB, free: 158.4 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001138/2.862, allocations: 17.64 kB / 0.9247 GB, free: 158.4 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04936/2.911, allocations: 16.07 MB / 0.9404 GB, free: 152.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.731e-05/2.911, allocations: 3.938 kB / 0.9404 GB, free: 152.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006391/2.918, allocations: 0.6274 MB / 0.941 GB, free: 152.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005865/2.924, allocations: 1.246 MB / 0.9423 GB, free: 152.2 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008772/2.924, allocations: 64.17 kB / 0.9423 GB, free: 152.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02135/2.946, allocations: 11.65 MB / 0.9537 GB, free: 145.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/2.946, allocations: 0.7031 kB / 0.9537 GB, free: 145.3 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03/2.976, allocations: 11.77 MB / 0.9652 GB, free: 140.6 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004946/2.981, allocations: 1.262 MB / 0.9664 GB, free: 140.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00219/2.983, allocations: 59.83 kB / 0.9665 GB, free: 140.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006113/2.989, allocations: 210 kB / 0.9667 GB, free: 140.1 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001355/2.991, allocations: 193.8 kB / 0.9669 GB, free: 140.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004725/2.991, allocations: 99.39 kB / 0.967 GB, free: 140.1 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01157/3.003, allocations: 5.042 MB / 0.9719 GB, free: 136 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7.51e-07/3.003, allocations: 0 / 0.9719 GB, free: 136 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01178/3.015, allocations: 1.83 MB / 0.9737 GB, free: 134.2 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.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 (286): * Single equations (assignments): 280 * 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 {(4,75.0%) 18,(1,100.0%) 11,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001374/3.016, allocations: 222.9 kB / 0.9739 GB, free: 134 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02168/3.038, allocations: 9.478 MB / 0.9831 GB, free: 124.6 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.775e-06/3.038, allocations: 7.203 kB / 0.9831 GB, free: 124.6 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00911/3.047, allocations: 3.66 MB / 0.9867 GB, free: 120.9 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006933/3.054, allocations: 0.8238 MB / 0.9875 GB, free: 120.1 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04563/3.1, allocations: 21.11 MB / 1.008 GB, free: 99.19 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01126/3.111, allocations: 5.609 MB / 1.014 GB, free: 93.55 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003711/3.115, allocations: 0.515 MB / 1.014 GB, free: 93.03 MB / 0.5105 GB Notification: Performance of SimCode: time 1.383e-06/3.115, allocations: 0 / 1.014 GB, free: 93.03 MB / 0.5105 GB Notification: Performance of Templates: time 0.7031/3.818, allocations: 196.9 MB / 1.206 GB, free: 82.83 MB / 0.5262 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/WorldForces/WorldForces.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches