Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_DifferentiationOfForces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_DifferentiationOfForces",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 112.4 kB / 16.41 MB, free: 6.488 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.00114/0.00114, allocations: 187.5 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.373/1.373, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2006/0.2006, allocations: 43.53 MB / 314.1 MB, free: 464 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 67.89 kB / 441.3 MB, free: 6.172 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1075, allocations: 57.79 MB / 499.1 MB, free: 12.31 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.01179/0.1194, allocations: 11.23 MB / 0.4984 GB, free: 1.027 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008009/0.1274, allocations: 4.062 MB / 0.5023 GB, free: 12.95 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002273/0.1297, allocations: 59.88 kB / 0.5024 GB, free: 12.89 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006196/0.136, allocations: 2.827 MB / 0.5052 GB, free: 10.06 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005662/0.1417, allocations: 1.946 MB / 0.5071 GB, free: 8.105 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001876/0.1436, allocations: 0.7018 MB / 0.5077 GB, free: 7.402 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005564/0.1492, allocations: 4.183 MB / 0.5118 GB, free: 3.211 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004741/0.154, allocations: 3.886 MB / 0.5156 GB, free: 15.26 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002572/0.1566, allocations: 1.596 MB / 0.5172 GB, free: 13.66 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003121/0.1597, allocations: 2.251 MB / 0.5194 GB, free: 11.4 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001209/0.161, allocations: 372 kB / 0.5197 GB, free: 11.04 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002651/0.1636, allocations: 1.237 MB / 0.5209 GB, free: 9.797 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002459/0.1661, allocations: 2.057 MB / 0.5229 GB, free: 7.734 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00359/0.1697, allocations: 2.455 MB / 0.5253 GB, free: 5.266 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2327/0.4024, allocations: 8.092 MB / 0.5332 GB, free: 14.88 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.167e-05/0.4024, allocations: 1.078 kB / 0.5332 GB, free: 14.88 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.466e-06/0.4024, allocations: 1.156 kB / 0.5332 GB, free: 14.88 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003619/0.4028, allocations: 0 / 0.5332 GB, free: 14.88 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1645 * Number of variables: 1645 Notification: Performance of Generate backend data structure: time 0.01851/0.4213, allocations: 5.241 MB / 0.5384 GB, free: 12.75 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.085e-05/0.4214, allocations: 13.7 kB / 0.5384 GB, free: 12.74 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001676/0.4231, allocations: 0.7779 MB / 0.5391 GB, free: 12.66 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08613/0.5092, allocations: 7.162 MB / 0.5461 GB, free: 12.27 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009064/0.5183, allocations: 3.147 MB / 0.5492 GB, free: 11.64 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002334/0.5186, allocations: 251.5 kB / 0.5494 GB, free: 11.64 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001101/0.5197, allocations: 339.3 kB / 0.5498 GB, free: 11.63 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01563/0.5354, allocations: 10.38 MB / 0.5599 GB, free: 8.406 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001057/0.5355, allocations: 52.03 kB / 0.56 GB, free: 8.398 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004049/0.5359, allocations: 160.7 kB / 0.5601 GB, free: 8.328 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002818/0.5387, allocations: 2.095 MB / 0.5622 GB, free: 7.539 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0129/0.5516, allocations: 8.6 MB / 0.5706 GB, free: 2.566 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04466/0.5963, allocations: 38.3 MB / 0.608 GB, free: 11.79 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005675/0.602, allocations: 2.995 MB / 0.6109 GB, free: 8.676 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002295/0.6044, allocations: 1.688 MB / 0.6125 GB, free: 6.98 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003791/0.6048, allocations: 338.1 kB / 0.6129 GB, free: 6.605 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.883e-05/0.6048, allocations: 59.3 kB / 0.6129 GB, free: 6.539 MB / 462.1 MB Notification: Performance of pre-optimization done (n=176): time 4.428e-06/0.6048, allocations: 4 kB / 0.6129 GB, free: 6.535 MB / 462.1 MB Notification: Performance of matching and sorting (n=194): time 0.03489/0.6397, allocations: 14.16 MB / 0.6267 GB, free: 8.312 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001733/0.6399, allocations: 209.2 kB / 0.6269 GB, free: 8.066 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006976/0.6469, allocations: 3.858 MB / 0.6307 GB, free: 4.227 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003505/0.6473, allocations: 53.7 kB / 0.6308 GB, free: 4.168 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00231/0.6496, allocations: 3.342 MB / 0.634 GB, free: 0.8516 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009058/0.6505, allocations: 0.7733 MB / 0.6348 GB, free: 92 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002132/0.6527, allocations: 1.223 MB / 0.636 GB, free: 14.86 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001029/0.6528, allocations: 301.1 kB / 0.6363 GB, free: 14.56 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003472/0.6563, allocations: 2.155 MB / 0.6384 GB, free: 12.4 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005519/0.6618, allocations: 5.833 MB / 0.6441 GB, free: 4.801 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009583/0.6714, allocations: 8.633 MB / 0.6525 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001158/0.6716, allocations: 37.09 kB / 0.6525 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of matching and sorting (n=783) (initialization): time 0.01386/0.6854, allocations: 8.004 MB / 0.6603 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001137/0.6856, allocations: 60.78 kB / 0.6604 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001873/0.6858, allocations: 132.2 kB / 0.6605 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009779/0.6868, allocations: 436.6 kB / 0.6609 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00446/0.6912, allocations: 1.419 MB / 0.6623 GB, free: 1.062 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004045/0.6953, allocations: 3.613 MB / 0.6659 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004319/0.6996, allocations: 347.7 kB / 0.6662 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000775/0.7004, allocations: 367.8 kB / 0.6665 GB, free: 12.62 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 591 * Number of states: 0 () * Number of discrete variables: 30 (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 (745): * Single equations (assignments): 741 * 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.003564/0.704, allocations: 2.24 MB / 0.6687 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007271/0.7047, allocations: 363.5 kB / 0.6691 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005084/0.7098, allocations: 2.886 MB / 0.6719 GB, free: 7.109 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.947e-05/0.7099, allocations: 20 kB / 0.6719 GB, free: 7.09 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.068e-05/0.7099, allocations: 4 kB / 0.6719 GB, free: 7.086 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.719e-05/0.7099, allocations: 11.97 kB / 0.6719 GB, free: 7.074 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01482/0.7247, allocations: 7.775 MB / 0.6795 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.626e-05/0.7248, allocations: 4 kB / 0.6795 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001804/0.7266, allocations: 343.5 kB / 0.6799 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008035/0.7274, allocations: 247.5 kB / 0.6801 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002366/0.7277, allocations: 51.91 kB / 0.6801 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003502/0.7312, allocations: 3.164 MB / 0.6832 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.7312, allocations: 5.203 kB / 0.6832 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008742/0.74, allocations: 5.499 MB / 0.6886 GB, free: 5.836 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002019/0.742, allocations: 0.643 MB / 0.6892 GB, free: 5.172 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008568/0.7429, allocations: 39.92 kB / 0.6893 GB, free: 5.133 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001857/0.7448, allocations: 107.9 kB / 0.6894 GB, free: 5.027 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003336/0.7451, allocations: 133.1 kB / 0.6895 GB, free: 4.898 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001477/0.7453, allocations: 55.97 kB / 0.6896 GB, free: 4.844 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004166/0.7494, allocations: 2.409 MB / 0.6919 GB, free: 2.453 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.3e-07/0.7495, allocations: 0 / 0.6919 GB, free: 2.453 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005417/0.7549, allocations: 0.9895 MB / 0.6929 GB, free: 1.465 MB / 0.5294 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 (164): * Single equations (assignments): 160 * 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.009031/0.7639, allocations: 6.143 MB / 0.6989 GB, free: 11.3 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.008942/0.7729, allocations: 5.178 MB / 0.7039 GB, free: 6.137 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/0.7729, allocations: 4 kB / 0.7039 GB, free: 6.133 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002805/0.7757, allocations: 1.647 MB / 0.7055 GB, free: 4.473 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003094/0.7789, allocations: 448.5 kB / 0.706 GB, free: 4.043 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07507/0.854, allocations: 44.74 MB / 0.7497 GB, free: 1.547 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2149/1.069, allocations: 3.454 MB / 0.753 GB, free: 213.1 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.004886/1.074, allocations: 1.943 MB / 0.7549 GB, free: 213 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002632/1.076, allocations: 1.987 MB / 0.7569 GB, free: 213 MB / 0.5919 GB Notification: Performance of SimCode: time 1.152e-06/1.076, allocations: 0 / 0.7569 GB, free: 213 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0984/1.175, allocations: 66.28 MB / 0.8216 GB, free: 166.5 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.87/17.04, allocations: 10.73 kB / 0.8216 GB, free: 166.5 MB / 0.5919 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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.00044 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_DifferentiationOfForces.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/DifferentiationOfForces/DifferentiationOfForces.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches