Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001262/0.001262, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.001504/0.001504, allocations: 216.5 kB / 23.75 MB, free: 4.668 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.514/1.514, allocations: 230.6 MB / 257.5 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2289/0.2289, allocations: 44.92 MB / 358.8 MB, free: 6.285 MB / 286.1 MB " [Timeout remaining time 180] 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.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_0_0_ModelicaTest_MultiBody_Forces_DifferentiationOfForces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_DifferentiationOfForces",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00204/0.00204, allocations: 63.91 kB / 0.4931 GB, free: 10.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3552/0.3573, allocations: 65.48 MB / 0.557 GB, free: 7.547 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.01239/0.3697, allocations: 9.587 MB / 0.5664 GB, free: 14.17 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01008/0.3798, allocations: 3.874 MB / 0.5702 GB, free: 10.28 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001876/0.3816, allocations: 59.75 kB / 0.5702 GB, free: 10.22 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00565/0.3873, allocations: 2.804 MB / 0.573 GB, free: 7.41 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004705/0.392, allocations: 1.662 MB / 0.5746 GB, free: 5.742 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001882/0.3939, allocations: 0.7213 MB / 0.5753 GB, free: 5.02 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0062/0.4001, allocations: 3.892 MB / 0.5791 GB, free: 1.121 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004007/0.4041, allocations: 2.762 MB / 0.5818 GB, free: 14.29 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002591/0.4067, allocations: 1.429 MB / 0.5832 GB, free: 12.86 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003402/0.4101, allocations: 2.052 MB / 0.5852 GB, free: 10.8 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007219/0.4108, allocations: 312 kB / 0.5855 GB, free: 10.5 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002296/0.4131, allocations: 1.229 MB / 0.5867 GB, free: 9.266 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001978/0.4151, allocations: 1.796 MB / 0.5884 GB, free: 7.465 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002384/0.4174, allocations: 2.078 MB / 0.5905 GB, free: 5.375 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008827/0.4263, allocations: 6.857 MB / 0.5972 GB, free: 14.49 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.4263, allocations: 0 / 0.5972 GB, free: 14.49 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.4263, allocations: 0 / 0.5972 GB, free: 14.49 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002155/0.4265, allocations: 0 / 0.5972 GB, free: 14.49 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.01185/0.4383, allocations: 4.508 MB / 0.6016 GB, free: 9.93 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.469e-05/0.4384, allocations: 8.031 kB / 0.6016 GB, free: 9.922 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001323/0.4397, allocations: 0.6652 MB / 0.6022 GB, free: 9.246 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08184/0.5216, allocations: 7.063 MB / 0.6091 GB, free: 2.172 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007345/0.5289, allocations: 2.605 MB / 0.6117 GB, free: 15.5 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002385/0.5292, allocations: 221.9 kB / 0.6119 GB, free: 15.29 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001173/0.5303, allocations: 299.8 kB / 0.6122 GB, free: 15 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01617/0.5465, allocations: 8.657 MB / 0.6206 GB, free: 5.695 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001264/0.5466, allocations: 39.64 kB / 0.6207 GB, free: 5.656 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000411/0.547, allocations: 143.9 kB / 0.6208 GB, free: 5.516 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002895/0.5499, allocations: 1.65 MB / 0.6224 GB, free: 3.863 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0139/0.5638, allocations: 7.086 MB / 0.6293 GB, free: 12.77 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04291/0.6067, allocations: 33.14 MB / 0.6617 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004639/0.6114, allocations: 1.832 MB / 0.6635 GB, free: 8.754 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001763/0.6131, allocations: 1.125 MB / 0.6646 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002835/0.6134, allocations: 96.38 kB / 0.6647 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.342e-05/0.6135, allocations: 51.03 kB / 0.6647 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=122): time 3.186e-06/0.6135, allocations: 3.938 kB / 0.6647 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of matching and sorting (n=140): time 0.02685/0.6403, allocations: 10.54 MB / 0.675 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001348/0.6405, allocations: 196.5 kB / 0.6752 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005251/0.6457, allocations: 3.592 MB / 0.6787 GB, free: 9.027 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002845/0.646, allocations: 45.7 kB / 0.6788 GB, free: 8.977 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002304/0.6483, allocations: 2.956 MB / 0.6816 GB, free: 5.992 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007318/0.649, allocations: 0.5738 MB / 0.6822 GB, free: 5.414 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001389/0.6504, allocations: 1.072 MB / 0.6832 GB, free: 4.332 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001265/0.6505, allocations: 309.1 kB / 0.6835 GB, free: 4.027 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002836/0.6534, allocations: 1.7 MB / 0.6852 GB, free: 2.32 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00562/0.659, allocations: 5.06 MB / 0.6901 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009918/0.6689, allocations: 7.343 MB / 0.6973 GB, free: 2.539 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001122/0.669, allocations: 36 kB / 0.6973 GB, free: 2.504 MB / 0.5294 GB Notification: Performance of matching and sorting (n=682) (initialization): time 0.01392/0.683, allocations: 6.741 MB / 0.7039 GB, free: 11.75 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.961e-05/0.683, allocations: 60.94 kB / 0.704 GB, free: 11.7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001331/0.6832, allocations: 123.9 kB / 0.7041 GB, free: 11.57 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001056/0.6842, allocations: 431.8 kB / 0.7045 GB, free: 11.15 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00409/0.6883, allocations: 1.205 MB / 0.7057 GB, free: 9.945 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00468/0.693, allocations: 3.479 MB / 0.7091 GB, free: 6.352 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003537/0.6965, allocations: 291.8 kB / 0.7094 GB, free: 6.066 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006167/0.6972, allocations: 332 kB / 0.7097 GB, free: 5.742 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 (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.003385/0.7005, allocations: 1.956 MB / 0.7116 GB, free: 3.773 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000674/0.7012, allocations: 325.8 kB / 0.7119 GB, free: 3.453 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003774/0.705, allocations: 1.87 MB / 0.7137 GB, free: 1.566 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.418e-05/0.705, allocations: 19.98 kB / 0.7138 GB, free: 1.547 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-05/0.705, allocations: 8 kB / 0.7138 GB, free: 1.539 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.589e-05/0.7051, allocations: 7.969 kB / 0.7138 GB, free: 1.531 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01106/0.7161, allocations: 5.745 MB / 0.7194 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-05/0.7161, allocations: 0 / 0.7194 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001072/0.7172, allocations: 212 kB / 0.7196 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000747/0.7179, allocations: 260.5 kB / 0.7198 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001011/0.718, allocations: 27.98 kB / 0.7199 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003766/0.7218, allocations: 3.055 MB / 0.7228 GB, free: 8.059 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.7218, allocations: 0 / 0.7228 GB, free: 8.059 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006344/0.7282, allocations: 3.974 MB / 0.7267 GB, free: 4.066 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009527/0.7291, allocations: 285.7 kB / 0.727 GB, free: 3.785 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003279/0.7294, allocations: 27.98 kB / 0.727 GB, free: 3.758 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001025/0.7305, allocations: 67.98 kB / 0.7271 GB, free: 3.691 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002628/0.7307, allocations: 100.5 kB / 0.7272 GB, free: 3.594 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.811e-05/0.7308, allocations: 39.98 kB / 0.7272 GB, free: 3.555 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003541/0.7344, allocations: 2.242 MB / 0.7294 GB, free: 1.324 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7344, allocations: 0 / 0.7294 GB, free: 1.324 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004026/0.7384, allocations: 0.8202 MB / 0.7302 GB, free: 0.5039 MB / 0.5606 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.2602/0.9986, allocations: 4.578 MB / 0.7347 GB, free: 154.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00553/1.004, allocations: 3.964 MB / 0.7386 GB, free: 152.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/1.004, allocations: 3.906 kB / 0.7386 GB, free: 152.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00134/1.005, allocations: 1.103 MB / 0.7396 GB, free: 152.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002104/1.008, allocations: 406.2 kB / 0.74 GB, free: 152.3 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04309/1.051, allocations: 37.99 MB / 0.7771 GB, free: 116.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002379/1.053, allocations: 3.041 MB / 0.7801 GB, free: 113.2 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003015/1.056, allocations: 1.706 MB / 0.7818 GB, free: 111.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001629/1.058, allocations: 1.659 MB / 0.7834 GB, free: 109.9 MB / 0.5606 GB Notification: Performance of SimCode: time 1.072e-06/1.058, allocations: 0 / 0.7834 GB, free: 109.9 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09396/1.152, allocations: 61.13 MB / 0.8431 GB, free: 49.13 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.15/25.3, allocations: 18.06 kB / 0.8431 GB, free: 49.12 MB / 0.5606 GB " [Timeout remaining time 635] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.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_0_0_ModelicaTest_MultiBody_Forces_DifferentiationOfForces.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/DifferentiationOfForces/DifferentiationOfForces.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 28.455786468999577]