Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001706/0.001706, allocations: 110.4 kB / 21.17 MB, free: 0.7852 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002145/0.002145, allocations: 217.4 kB / 24.47 MB, free: 4.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.488/1.488, allocations: 230.2 MB / 257.8 MB, free: 8.508 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2262/0.2262, allocations: 46.89 MB / 361.1 MB, free: 4.652 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") translateModel(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00231/0.00231, allocations: 79.88 kB / 0.4968 GB, free: 8.379 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3031/0.3054, allocations: 65.98 MB / 0.5612 GB, free: 34.47 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.007822/0.3132, allocations: 9.571 MB / 0.5705 GB, free: 27.77 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005741/0.319, allocations: 3.875 MB / 0.5743 GB, free: 25.23 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009634/0.3199, allocations: 57.28 kB / 0.5744 GB, free: 25.22 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004328/0.3242, allocations: 2.796 MB / 0.5771 GB, free: 23.97 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003522/0.3278, allocations: 1.647 MB / 0.5787 GB, free: 23.25 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001441/0.3292, allocations: 0.7256 MB / 0.5794 GB, free: 22.95 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.005034/0.3342, allocations: 3.886 MB / 0.5832 GB, free: 21.48 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003341/0.3376, allocations: 2.555 MB / 0.5857 GB, free: 20.29 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002015/0.3396, allocations: 1.415 MB / 0.5871 GB, free: 19.68 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002836/0.3424, allocations: 2.045 MB / 0.5891 GB, free: 18.91 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006681/0.3431, allocations: 314.3 kB / 0.5894 GB, free: 18.91 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00222/0.3453, allocations: 1.221 MB / 0.5906 GB, free: 18.66 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001697/0.347, allocations: 1.785 MB / 0.5923 GB, free: 17.97 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001931/0.349, allocations: 2.02 MB / 0.5943 GB, free: 16.52 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006501/0.3555, allocations: 6.689 MB / 0.6008 GB, free: 12.13 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.3555, allocations: 0 / 0.6008 GB, free: 12.13 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3555, allocations: 0 / 0.6008 GB, free: 12.13 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001849/0.3556, allocations: 0 / 0.6008 GB, free: 12.13 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1367 * Number of variables: 1367 Notification: Performance of Generate backend data structure: time 0.008928/0.3646, allocations: 4.453 MB / 0.6052 GB, free: 8.965 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.3646, allocations: 8.906 kB / 0.6052 GB, free: 8.965 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01703/0.3816, allocations: 2.466 MB / 0.6076 GB, free: 7.66 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006263/0.3879, allocations: 2.473 MB / 0.61 GB, free: 5.125 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001038/0.388, allocations: 222 kB / 0.6102 GB, free: 4.906 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007203/0.3887, allocations: 299.9 kB / 0.6105 GB, free: 4.613 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01253/0.4013, allocations: 8.724 MB / 0.619 GB, free: 11.25 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001076/0.4014, allocations: 39.69 kB / 0.6191 GB, free: 11.21 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000406/0.4018, allocations: 143.9 kB / 0.6192 GB, free: 11.07 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003081/0.4049, allocations: 1.653 MB / 0.6208 GB, free: 9.41 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01449/0.4194, allocations: 7.211 MB / 0.6279 GB, free: 2.191 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04713/0.4665, allocations: 33.47 MB / 0.6606 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005177/0.4717, allocations: 2.359 MB / 0.6629 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00195/0.4736, allocations: 1.186 MB / 0.664 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000434/0.474, allocations: 331.7 kB / 0.6643 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.027e-05/0.4741, allocations: 51.06 kB / 0.6644 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=122): time 3.747e-06/0.4741, allocations: 3.938 kB / 0.6644 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of matching and sorting (n=140): time 0.03212/0.5062, allocations: 11.64 MB / 0.6758 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001294/0.5063, allocations: 196.6 kB / 0.6759 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006195/0.5125, allocations: 3.59 MB / 0.6794 GB, free: 12 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002759/0.5128, allocations: 53.69 kB / 0.6795 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002787/0.5156, allocations: 2.928 MB / 0.6824 GB, free: 8.984 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007805/0.5164, allocations: 0.5816 MB / 0.6829 GB, free: 8.398 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002001/0.5184, allocations: 1.107 MB / 0.684 GB, free: 7.281 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001658/0.5186, allocations: 317 kB / 0.6843 GB, free: 6.969 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003328/0.5219, allocations: 1.802 MB / 0.6861 GB, free: 5.16 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006306/0.5282, allocations: 5.186 MB / 0.6911 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009893/0.5381, allocations: 7.526 MB / 0.6985 GB, free: 5.07 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.353e-05/0.5382, allocations: 32 kB / 0.6985 GB, free: 5.039 MB / 0.5294 GB Notification: Performance of matching and sorting (n=701) (initialization): time 0.01392/0.5521, allocations: 7.233 MB / 0.7056 GB, free: 13.8 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001012/0.5522, allocations: 56 kB / 0.7056 GB, free: 13.74 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000162/0.5524, allocations: 123.9 kB / 0.7058 GB, free: 13.62 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001817/0.5542, allocations: 0.6763 MB / 0.7064 GB, free: 12.94 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003968/0.5581, allocations: 1.236 MB / 0.7076 GB, free: 11.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005971/0.5641, allocations: 4.339 MB / 0.7119 GB, free: 7.227 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003802/0.5679, allocations: 303.8 kB / 0.7121 GB, free: 6.93 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006821/0.5686, allocations: 332 kB / 0.7125 GB, free: 6.605 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 544 * Number of states: 0 () * Number of discrete variables: 36 (forceAndTorque.torqueArrow.twoHeadedArrow,forceAndTorque.torqueArrow.headAtOrigin,forceAndTorque.forceArrow.twoHeadedArrow,forceAndTorque.forceArrow.headAtOrigin,cutForce.forceArrow.twoHeadedArrow,cutForce.forceArrow.headAtOrigin,forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],cutForce.forceColor[3],cutForce.forceColor[2],cutForce.forceColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.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 (663): * Single equations (assignments): 659 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003596/0.5722, allocations: 1.955 MB / 0.7144 GB, free: 4.637 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000662/0.5729, allocations: 313.9 kB / 0.7147 GB, free: 4.328 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00486/0.5777, allocations: 2.245 MB / 0.7169 GB, free: 2.066 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.298e-05/0.5777, allocations: 16 kB / 0.7169 GB, free: 2.051 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.4e-05/0.5778, allocations: 4 kB / 0.7169 GB, free: 2.047 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.548e-05/0.5778, allocations: 3.984 kB / 0.7169 GB, free: 2.043 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01553/0.5933, allocations: 6.127 MB / 0.7229 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-05/0.5933, allocations: 4 kB / 0.7229 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001176/0.5945, allocations: 211.7 kB / 0.7231 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001556/0.5961, allocations: 0.5079 MB / 0.7236 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001431/0.5962, allocations: 24.36 kB / 0.7236 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005383/0.6016, allocations: 3.926 MB / 0.7274 GB, free: 7.031 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.6016, allocations: 0 / 0.7274 GB, free: 7.031 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007481/0.6091, allocations: 4.416 MB / 0.7317 GB, free: 2.586 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009617/0.61, allocations: 370.9 kB / 0.7321 GB, free: 2.203 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007238/0.6107, allocations: 20 kB / 0.7321 GB, free: 2.184 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002298/0.613, allocations: 79.89 kB / 0.7322 GB, free: 2.105 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004185/0.6135, allocations: 100.5 kB / 0.7323 GB, free: 2.008 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001754/0.6136, allocations: 43.92 kB / 0.7323 GB, free: 1.965 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.006154/0.6198, allocations: 2.225 MB / 0.7345 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6198, allocations: 4.062 kB / 0.7345 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.007873/0.6277, allocations: 0.8476 MB / 0.7353 GB, free: 14.89 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (rev.phi,rev.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 (107): * Single equations (assignments): 103 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006509/0.6283, allocations: 150.8 kB / 0.7355 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01133/0.6396, allocations: 4.142 MB / 0.7395 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/0.6397, allocations: 0 / 0.7395 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003185/0.6428, allocations: 1.174 MB / 0.7407 GB, free: 9.426 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004669/0.6475, allocations: 392.4 kB / 0.741 GB, free: 9.055 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02349/0.671, allocations: 8.151 MB / 0.749 GB, free: 0.8594 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006085/0.6771, allocations: 3.026 MB / 0.752 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.004434/0.6815, allocations: 1.714 MB / 0.7536 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008154/0.6823, allocations: 219.4 kB / 0.7538 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of SimCode: time 1.232e-06/0.6823, allocations: 0 / 0.7538 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of Templates: time 0.3199/1.002, allocations: 28.67 MB / 0.7818 GB, free: 166.8 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.DifferentiationOfForces -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.DifferentiationOfForces_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/DifferentiationOfForces/DifferentiationOfForces.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.849755053874105]