Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001233/0.001233, allocations: 124.5 kB / 17.79 MB, free: 5.227 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001377/0.001377, allocations: 207.2 kB / 20.75 MB, free: 2.273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.492/1.492, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2222/0.2222, allocations: 46.93 MB / 357.1 MB, free: 10.29 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Forces_DifferentiationOfForces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Forces_DifferentiationOfForces",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001915/0.001915, allocations: 71.89 kB / 0.4909 GB, free: 7.91 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.1266, allocations: 65.99 MB / 0.5554 GB, free: 5.793 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.01223/0.1389, allocations: 9.538 MB / 0.5647 GB, free: 12.21 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007933/0.1468, allocations: 3.849 MB / 0.5685 GB, free: 8.344 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001324/0.1481, allocations: 63.69 kB / 0.5685 GB, free: 8.281 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005163/0.1533, allocations: 2.792 MB / 0.5712 GB, free: 5.48 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004565/0.1578, allocations: 1.642 MB / 0.5729 GB, free: 3.832 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001897/0.1597, allocations: 0.7251 MB / 0.5736 GB, free: 3.105 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005922/0.1657, allocations: 3.891 MB / 0.5774 GB, free: 15.21 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00409/0.1698, allocations: 3.058 MB / 0.5803 GB, free: 12.08 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002919/0.1727, allocations: 1.417 MB / 0.5817 GB, free: 10.66 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003268/0.1759, allocations: 2.052 MB / 0.5837 GB, free: 8.602 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007523/0.1767, allocations: 312 kB / 0.584 GB, free: 8.297 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002384/0.1791, allocations: 1.225 MB / 0.5852 GB, free: 7.07 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001888/0.181, allocations: 1.792 MB / 0.587 GB, free: 5.273 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002499/0.1835, allocations: 2.082 MB / 0.589 GB, free: 3.18 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.271/0.4545, allocations: 6.852 MB / 0.5957 GB, free: 14.18 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.006e-05/0.4545, allocations: 1.406 kB / 0.5957 GB, free: 14.18 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.4545, allocations: 0 / 0.5957 GB, free: 14.18 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003384/0.4548, allocations: 1.641 kB / 0.5957 GB, free: 14.18 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.01625/0.4711, allocations: 4.582 MB / 0.6002 GB, free: 12.31 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/0.4711, allocations: 10.25 kB / 0.6002 GB, free: 12.31 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001975/0.4731, allocations: 0.6543 MB / 0.6008 GB, free: 12.24 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08646/0.5596, allocations: 7.064 MB / 0.6077 GB, free: 11.89 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007004/0.5666, allocations: 2.683 MB / 0.6103 GB, free: 11.31 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002164/0.5668, allocations: 220.9 kB / 0.6106 GB, free: 11.3 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001424/0.5682, allocations: 292.3 kB / 0.6108 GB, free: 11.3 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01625/0.5844, allocations: 8.66 MB / 0.6193 GB, free: 8.281 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001392/0.5846, allocations: 42.45 kB / 0.6193 GB, free: 8.273 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004876/0.5851, allocations: 136.2 kB / 0.6195 GB, free: 8.211 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002409/0.5875, allocations: 1.66 MB / 0.6211 GB, free: 7.594 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01206/0.5995, allocations: 7.085 MB / 0.628 GB, free: 4.48 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04327/0.6428, allocations: 33.28 MB / 0.6605 GB, free: 3.473 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005011/0.6478, allocations: 2.28 MB / 0.6627 GB, free: 1.055 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001792/0.6496, allocations: 1.125 MB / 0.6638 GB, free: 15.91 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003948/0.65, allocations: 328.1 kB / 0.6641 GB, free: 15.55 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.283e-05/0.6501, allocations: 47.12 kB / 0.6642 GB, free: 15.49 MB / 494.1 MB Notification: Performance of pre-optimization done (n=122): time 3.356e-06/0.6501, allocations: 0 / 0.6642 GB, free: 15.49 MB / 494.1 MB Notification: Performance of matching and sorting (n=140): time 0.02791/0.678, allocations: 10.69 MB / 0.6746 GB, free: 4.75 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001227/0.6781, allocations: 200.5 kB / 0.6748 GB, free: 4.512 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005613/0.6837, allocations: 3.591 MB / 0.6783 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000309/0.684, allocations: 45.7 kB / 0.6784 GB, free: 0.875 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002292/0.6863, allocations: 2.962 MB / 0.6813 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008223/0.6871, allocations: 0.5763 MB / 0.6818 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001514/0.6886, allocations: 1.068 MB / 0.6829 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001329/0.6888, allocations: 309.1 kB / 0.6832 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002845/0.6916, allocations: 1.697 MB / 0.6848 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005741/0.6974, allocations: 5.068 MB / 0.6898 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009557/0.7069, allocations: 7.332 MB / 0.6969 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001013/0.707, allocations: 36 kB / 0.697 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of matching and sorting (n=682) (initialization): time 0.0142/0.7212, allocations: 6.743 MB / 0.7035 GB, free: 4.512 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001449/0.7214, allocations: 62.02 kB / 0.7036 GB, free: 4.453 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002139/0.7216, allocations: 120 kB / 0.7037 GB, free: 4.336 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001179/0.7228, allocations: 433.2 kB / 0.7041 GB, free: 3.91 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004144/0.7269, allocations: 1.209 MB / 0.7053 GB, free: 2.699 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004757/0.7317, allocations: 3.585 MB / 0.7088 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004135/0.7358, allocations: 295.7 kB / 0.7091 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001106/0.7369, allocations: 328 kB / 0.7094 GB, free: 14.37 MB / 0.5294 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 (644): * Single equations (assignments): 640 * 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,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004455/0.7414, allocations: 1.947 MB / 0.7113 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008077/0.7422, allocations: 321.8 kB / 0.7116 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004382/0.7465, allocations: 1.879 MB / 0.7135 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.736e-05/0.7466, allocations: 19.28 kB / 0.7135 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.217e-05/0.7466, allocations: 4 kB / 0.7135 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.761e-05/0.7466, allocations: 7.984 kB / 0.7135 GB, free: 10.17 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01391/0.7605, allocations: 5.754 MB / 0.7191 GB, free: 4.387 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-05/0.7605, allocations: 3.938 kB / 0.7191 GB, free: 4.383 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001129/0.7617, allocations: 215.2 kB / 0.7193 GB, free: 4.176 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008073/0.7625, allocations: 256.6 kB / 0.7196 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000145/0.7626, allocations: 23.98 kB / 0.7196 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003885/0.7665, allocations: 3.173 MB / 0.7227 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.925e-06/0.7665, allocations: 8.016 kB / 0.7227 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00654/0.7731, allocations: 3.959 MB / 0.7266 GB, free: 12.6 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008876/0.7739, allocations: 370.8 kB / 0.7269 GB, free: 12.21 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005694/0.7745, allocations: 20 kB / 0.7269 GB, free: 12.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001382/0.7759, allocations: 71.66 kB / 0.727 GB, free: 12.13 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003062/0.7762, allocations: 100.5 kB / 0.7271 GB, free: 12.03 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001132/0.7763, allocations: 46.75 kB / 0.7271 GB, free: 11.99 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004396/0.7807, allocations: 2.238 MB / 0.7293 GB, free: 9.762 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7807, allocations: 0 / 0.7293 GB, free: 9.762 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004703/0.7854, allocations: 0.8163 MB / 0.7301 GB, free: 8.945 MB / 0.545 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.007084/0.7925, allocations: 4.587 MB / 0.7346 GB, free: 4.336 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.007364/0.7999, allocations: 3.967 MB / 0.7385 GB, free: 384 kB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.7999, allocations: 448 / 0.7385 GB, free: 384 kB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001911/0.8018, allocations: 1.103 MB / 0.7395 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002798/0.8046, allocations: 415.8 kB / 0.7399 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06477/0.8693, allocations: 37.9 MB / 0.7769 GB, free: 3.91 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004692/0.874, allocations: 3.034 MB / 0.7799 GB, free: 0.8516 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.004162/0.8782, allocations: 1.715 MB / 0.7816 GB, free: 15.13 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002636/0.8808, allocations: 1.663 MB / 0.7832 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of SimCode: time 9.22e-07/0.8808, allocations: 0 / 0.7832 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1158/0.9966, allocations: 56.88 MB / 0.8388 GB, free: 4.934 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.69/23.69, allocations: 8 kB / 0.8388 GB, free: 4.926 MB / 0.6544 GB " [Timeout remaining time 636] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000219912 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Forces_DifferentiationOfForces.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/DifferentiationOfForces/DifferentiationOfForces.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 27.172483002999797]