Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001371/0.001371, allocations: 103.5 kB / 17.98 MB, free: 5.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001147/0.001147, allocations: 193.3 kB / 18.91 MB, free: 4.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.325/1.325, allocations: 222.9 MB / 242.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2044/0.2044, allocations: 44.18 MB / 336.9 MB, free: 2.965 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 59.12 kB / 408.5 MB, free: 27.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09606/0.09729, allocations: 60.83 MB / 469.4 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces2): time 0.3144/0.4118, allocations: 99.69 MB / 0.5557 GB, free: 9.504 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05003/0.4618, allocations: 18.94 MB / 0.5742 GB, free: 9.258 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02004/0.4819, allocations: 430.9 kB / 0.5746 GB, free: 8.836 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009386/0.4913, allocations: 4.862 MB / 0.5794 GB, free: 3.961 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007301/0.4987, allocations: 2.436 MB / 0.5818 GB, free: 1.52 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003142/0.5019, allocations: 1.17 MB / 0.5829 GB, free: 356 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01395/0.5159, allocations: 8.482 MB / 0.5912 GB, free: 7.848 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01162/0.5275, allocations: 6.322 MB / 0.5974 GB, free: 1.473 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005565/0.5332, allocations: 2.601 MB / 0.5999 GB, free: 14.86 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006108/0.5393, allocations: 3.891 MB / 0.6037 GB, free: 10.96 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002289/0.5416, allocations: 0.5469 MB / 0.6042 GB, free: 10.41 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004487/0.5461, allocations: 1.592 MB / 0.6058 GB, free: 8.82 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004856/0.551, allocations: 3.273 MB / 0.609 GB, free: 5.539 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006985/0.558, allocations: 3.613 MB / 0.6125 GB, free: 1.906 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01124/0.5693, allocations: 8.938 MB / 0.6212 GB, free: 8.941 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.5693, allocations: 4 kB / 0.6212 GB, free: 8.938 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.5693, allocations: 0 / 0.6212 GB, free: 8.938 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0004544/0.5698, allocations: 0 / 0.6212 GB, free: 8.938 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2214 * Number of variables: 2214 Notification: Performance of Generate backend data structure: time 0.02155/0.5914, allocations: 7.667 MB / 0.6287 GB, free: 1.188 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/0.5914, allocations: 8.031 kB / 0.6287 GB, free: 1.18 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01524/0.6067, allocations: 3.112 MB / 0.6318 GB, free: 14.05 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.011/0.6177, allocations: 4.868 MB / 0.6365 GB, free: 9.105 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004171/0.6182, allocations: 373.8 kB / 0.6369 GB, free: 8.738 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001942/0.6201, allocations: 0.4922 MB / 0.6374 GB, free: 8.246 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02809/0.6482, allocations: 14.82 MB / 0.6518 GB, free: 8.41 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002074/0.6485, allocations: 79.34 kB / 0.6519 GB, free: 8.332 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006606/0.6491, allocations: 235.8 kB / 0.6521 GB, free: 8.102 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004792/0.6539, allocations: 2.719 MB / 0.6548 GB, free: 5.379 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02551/0.6795, allocations: 12.24 MB / 0.6667 GB, free: 9.109 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2975/0.977, allocations: 57.15 MB / 0.7226 GB, free: 152.9 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01251/0.9896, allocations: 4.693 MB / 0.7271 GB, free: 152.2 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003663/0.9933, allocations: 2.931 MB / 0.73 GB, free: 151.8 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001362/0.9934, allocations: 44.28 kB / 0.73 GB, free: 151.8 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.799e-05/0.9935, allocations: 59.53 kB / 0.7301 GB, free: 151.8 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=190): time 4.588e-06/0.9935, allocations: 0 / 0.7301 GB, free: 151.8 MB / 0.5294 GB Notification: Performance of matching and sorting (n=208): time 0.05592/1.049, allocations: 23.43 MB / 0.753 GB, free: 142.2 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.245e-05/1.05, allocations: 254.7 kB / 0.7532 GB, free: 141.9 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008608/1.058, allocations: 6.777 MB / 0.7598 GB, free: 138.3 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004661/1.059, allocations: 57.7 kB / 0.7599 GB, free: 138.2 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002063/1.061, allocations: 4.596 MB / 0.7644 GB, free: 133.6 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007738/1.062, allocations: 0.8342 MB / 0.7652 GB, free: 132.8 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001721/1.063, allocations: 1.692 MB / 0.7669 GB, free: 131.1 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 4.435e-05/1.063, allocations: 301.1 kB / 0.7671 GB, free: 130.8 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003114/1.066, allocations: 2.897 MB / 0.77 GB, free: 127.9 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00518/1.072, allocations: 7.856 MB / 0.7776 GB, free: 117.8 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009137/1.081, allocations: 11.53 MB / 0.7889 GB, free: 104.1 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001359/1.081, allocations: 48 kB / 0.789 GB, free: 104 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1066) (initialization): time 0.01759/1.099, allocations: 11.97 MB / 0.8006 GB, free: 92.04 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.168e-05/1.099, allocations: 80.19 kB / 0.8007 GB, free: 91.96 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001382/1.099, allocations: 180 kB / 0.8009 GB, free: 91.78 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003882/1.103, allocations: 1.769 MB / 0.8026 GB, free: 90.01 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005562/1.108, allocations: 1.934 MB / 0.8045 GB, free: 88.07 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01192/1.12, allocations: 12.41 MB / 0.8166 GB, free: 75.28 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007371/1.128, allocations: 459.2 kB / 0.8171 GB, free: 74.83 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001379/1.129, allocations: 492 kB / 0.8175 GB, free: 74.35 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 795 * Number of states: 0 () * Number of discrete variables: 63 (worldForce2.arrow.arrowLine.twoHeadedArrow,worldForce2.arrow.headAtOrigin,worldForce1.arrow.arrowLine.twoHeadedArrow,worldForce1.arrow.headAtOrigin,worldForce.arrow.arrowLine.twoHeadedArrow,worldForce.arrow.headAtOrigin,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 (1003): * Single equations (assignments): 997 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,12,100.0%), (2,12,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004714/1.134, allocations: 3.043 MB / 0.8205 GB, free: 71.29 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001224/1.135, allocations: 0.5476 MB / 0.821 GB, free: 70.74 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007423/1.142, allocations: 4.842 MB / 0.8258 GB, free: 65.88 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.626e-05/1.142, allocations: 24 kB / 0.8258 GB, free: 65.85 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.13e-05/1.142, allocations: 4 kB / 0.8258 GB, free: 65.85 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.002e-05/1.143, allocations: 19.95 kB / 0.8258 GB, free: 65.83 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01782/1.16, allocations: 11.24 MB / 0.8368 GB, free: 54.56 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.561e-05/1.16, allocations: 0 / 0.8368 GB, free: 54.56 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00181/1.162, allocations: 399.3 kB / 0.8372 GB, free: 54.17 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003557/1.166, allocations: 1.473 MB / 0.8386 GB, free: 52.69 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002373/1.166, allocations: 36 kB / 0.8386 GB, free: 52.65 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01028/1.176, allocations: 11.49 MB / 0.8499 GB, free: 40.75 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/1.176, allocations: 4.031 kB / 0.8499 GB, free: 40.75 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0103/1.187, allocations: 7.933 MB / 0.8576 GB, free: 32.79 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001613/1.188, allocations: 0.6189 MB / 0.8582 GB, free: 32.14 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007228/1.189, allocations: 32 kB / 0.8582 GB, free: 32.11 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001955/1.191, allocations: 131.9 kB / 0.8584 GB, free: 31.98 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003654/1.191, allocations: 129.2 kB / 0.8585 GB, free: 31.86 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001414/1.192, allocations: 55.94 kB / 0.8585 GB, free: 31.8 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005731/1.197, allocations: 4.321 MB / 0.8628 GB, free: 27.5 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.5e-07/1.197, allocations: 0 / 0.8628 GB, free: 27.5 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.007952/1.205, allocations: 1.505 MB / 0.8642 GB, free: 26 MB / 0.5294 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 (160): * Single equations (assignments): 154 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,10,100.0%), (1,10,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006226/1.206, allocations: 162.6 kB / 0.8644 GB, free: 25.84 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01155/1.217, allocations: 7.962 MB / 0.8722 GB, free: 17.89 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.065e-06/1.218, allocations: 0 / 0.8722 GB, free: 17.89 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002702/1.22, allocations: 2.269 MB / 0.8744 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005177/1.225, allocations: 0.7814 MB / 0.8751 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02585/1.251, allocations: 17.41 MB / 0.8922 GB, free: 13.37 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006811/1.258, allocations: 4.603 MB / 0.8966 GB, free: 8.73 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001754/1.26, allocations: 415.4 kB / 0.897 GB, free: 8.324 MB / 0.545 GB Notification: Performance of SimCode: time 1.192e-06/1.26, allocations: 4 kB / 0.897 GB, free: 8.32 MB / 0.545 GB Notification: Performance of Templates: time 0.4318/1.692, allocations: 169.2 MB / 1.062 GB, free: 74.11 MB / 0.5606 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/WorldForces2/WorldForces2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches