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.001499/0.001499, allocations: 101.5 kB / 17.85 MB, free: 5.66 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.001637/0.001637, allocations: 194 kB / 18.77 MB, free: 4.742 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.801/1.801, allocations: 222.9 MB / 242.4 MB, free: 15.43 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.2053/0.2053, allocations: 44.16 MB / 336.8 MB, free: 3.012 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 67.08 kB / 408.4 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1185, allocations: 60.83 MB / 469.2 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces2): time 0.3492/0.4678, allocations: 99.69 MB / 0.5555 GB, free: 9.559 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0484/0.5163, allocations: 19.05 MB / 0.5741 GB, free: 9.25 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02266/0.539, allocations: 431 kB / 0.5745 GB, free: 8.828 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009568/0.5486, allocations: 5.034 MB / 0.5795 GB, free: 3.781 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007406/0.5561, allocations: 2.448 MB / 0.5819 GB, free: 1.324 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003662/0.5598, allocations: 1.158 MB / 0.583 GB, free: 168 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01398/0.5738, allocations: 11.45 MB / 0.5942 GB, free: 4.695 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009218/0.5831, allocations: 5.915 MB / 0.5999 GB, free: 14.71 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005475/0.5886, allocations: 2.258 MB / 0.6021 GB, free: 12.45 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006178/0.5948, allocations: 3.746 MB / 0.6058 GB, free: 8.691 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002046/0.5969, allocations: 388 kB / 0.6062 GB, free: 8.312 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004266/0.6012, allocations: 1.494 MB / 0.6076 GB, free: 6.82 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004521/0.6058, allocations: 3.109 MB / 0.6107 GB, free: 3.703 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00657/0.6124, allocations: 3.417 MB / 0.614 GB, free: 272 kB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01191/0.6243, allocations: 8.837 MB / 0.6226 GB, free: 7.406 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.319e-05/0.6244, allocations: 7.938 kB / 0.6226 GB, free: 7.398 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.6244, allocations: 7.875 kB / 0.6227 GB, free: 7.391 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.000489/0.6249, allocations: 0 / 0.6227 GB, free: 7.391 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.02178/0.6467, allocations: 7.667 MB / 0.6301 GB, free: 15.64 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.931e-05/0.6468, allocations: 8.031 kB / 0.6301 GB, free: 15.63 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01516/0.6619, allocations: 3.112 MB / 0.6332 GB, free: 12.5 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0116/0.6736, allocations: 4.872 MB / 0.6379 GB, free: 7.551 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003811/0.674, allocations: 373.9 kB / 0.6383 GB, free: 7.184 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002084/0.6761, allocations: 0.4922 MB / 0.6388 GB, free: 6.691 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03138/0.7075, allocations: 14.82 MB / 0.6533 GB, free: 6.855 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004098/0.708, allocations: 75.36 kB / 0.6533 GB, free: 6.781 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001945/0.7099, allocations: 235.8 kB / 0.6535 GB, free: 6.551 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004945/0.7149, allocations: 2.727 MB / 0.6562 GB, free: 3.82 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0258/0.7407, allocations: 12.23 MB / 0.6682 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3336/1.074, allocations: 57.16 MB / 0.724 GB, free: 153.2 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01278/1.087, allocations: 4.693 MB / 0.7286 GB, free: 152.5 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003808/1.091, allocations: 2.945 MB / 0.7314 GB, free: 151.9 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001523/1.091, allocations: 40.84 kB / 0.7315 GB, free: 151.9 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.864e-05/1.091, allocations: 59.34 kB / 0.7315 GB, free: 151.9 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=190): time 8.106e-06/1.091, allocations: 0 / 0.7315 GB, free: 151.9 MB / 0.5294 GB Notification: Performance of matching and sorting (n=208): time 0.06346/1.155, allocations: 23.42 MB / 0.7544 GB, free: 142.2 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001208/1.155, allocations: 254.9 kB / 0.7546 GB, free: 141.9 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01235/1.167, allocations: 6.787 MB / 0.7613 GB, free: 137.9 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0005717/1.168, allocations: 55.02 kB / 0.7613 GB, free: 137.9 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003078/1.171, allocations: 4.59 MB / 0.7658 GB, free: 133.3 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001103/1.172, allocations: 0.836 MB / 0.7666 GB, free: 132.5 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004226/1.176, allocations: 1.691 MB / 0.7683 GB, free: 130.8 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 5.05e-05/1.176, allocations: 301.1 kB / 0.7686 GB, free: 130.5 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004318/1.181, allocations: 2.903 MB / 0.7714 GB, free: 127.5 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00691/1.188, allocations: 7.852 MB / 0.7791 GB, free: 117.4 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0102/1.198, allocations: 11.52 MB / 0.7903 GB, free: 103.7 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001827/1.198, allocations: 55.94 kB / 0.7904 GB, free: 103.7 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1066) (initialization): time 0.02074/1.219, allocations: 11.96 MB / 0.802 GB, free: 91.67 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002185/1.219, allocations: 80.19 kB / 0.8021 GB, free: 91.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002756/1.22, allocations: 180 kB / 0.8023 GB, free: 91.41 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004806/1.224, allocations: 1.763 MB / 0.804 GB, free: 89.64 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006057/1.23, allocations: 1.934 MB / 0.8059 GB, free: 87.71 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01193/1.242, allocations: 11.53 MB / 0.8172 GB, free: 75.81 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007249/1.25, allocations: 451.2 kB / 0.8176 GB, free: 75.37 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001645/1.251, allocations: 492 kB / 0.8181 GB, free: 74.89 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.006253/1.258, allocations: 3.058 MB / 0.821 GB, free: 71.82 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001496/1.259, allocations: 0.5398 MB / 0.8216 GB, free: 71.27 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009288/1.268, allocations: 4.85 MB / 0.8263 GB, free: 66.4 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.351e-05/1.269, allocations: 24 kB / 0.8263 GB, free: 66.38 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.636e-05/1.269, allocations: 8 kB / 0.8263 GB, free: 66.37 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.732e-05/1.269, allocations: 11.91 kB / 0.8264 GB, free: 66.36 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02139/1.29, allocations: 11.23 MB / 0.8373 GB, free: 55.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.312e-05/1.29, allocations: 7.938 kB / 0.8373 GB, free: 55.09 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002093/1.292, allocations: 399.4 kB / 0.8377 GB, free: 54.7 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004021/1.296, allocations: 1.463 MB / 0.8391 GB, free: 53.23 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000432/1.297, allocations: 43.92 kB / 0.8392 GB, free: 53.18 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01062/1.307, allocations: 10.63 MB / 0.8496 GB, free: 42.16 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/1.307, allocations: 3.938 kB / 0.8496 GB, free: 42.15 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01201/1.319, allocations: 7.935 MB / 0.8573 GB, free: 34.19 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002245/1.322, allocations: 0.6188 MB / 0.8579 GB, free: 33.54 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001825/1.324, allocations: 35.98 kB / 0.858 GB, free: 33.51 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00324/1.327, allocations: 131.8 kB / 0.8581 GB, free: 33.38 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006528/1.327, allocations: 117.2 kB / 0.8582 GB, free: 33.27 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003206/1.328, allocations: 55.98 kB / 0.8582 GB, free: 33.21 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.008147/1.336, allocations: 4.314 MB / 0.8625 GB, free: 28.91 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9.11e-07/1.336, allocations: 0 / 0.8625 GB, free: 28.91 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.009183/1.345, allocations: 1.509 MB / 0.8639 GB, free: 27.41 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.0008153/1.346, allocations: 166 kB / 0.8641 GB, free: 27.24 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.009906/1.356, allocations: 7.091 MB / 0.871 GB, free: 20.15 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.862e-06/1.356, allocations: 0 / 0.871 GB, free: 20.15 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002956/1.359, allocations: 2.266 MB / 0.8732 GB, free: 17.85 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006268/1.365, allocations: 0.739 MB / 0.8739 GB, free: 17.11 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02552/1.391, allocations: 17.42 MB / 0.891 GB, free: 15.65 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008008/1.399, allocations: 4.606 MB / 0.8955 GB, free: 11.02 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001715/1.401, allocations: 415.4 kB / 0.8959 GB, free: 10.61 MB / 0.545 GB Notification: Performance of SimCode: time 1.122e-06/1.401, allocations: 0 / 0.8959 GB, free: 10.61 MB / 0.545 GB Notification: Performance of Templates: time 0.4415/1.842, allocations: 169.2 MB / 1.061 GB, free: 75.73 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