Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass.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.001765/0.001765, 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.002091/0.002091, 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.475/1.475, 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.2256/0.2256, allocations: 46.92 MB / 357.1 MB, free: 10.31 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.Parts.PointMass,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Parts_PointMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.PointMass,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Parts_PointMass",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001971/0.001971, allocations: 63.91 kB / 0.4909 GB, free: 7.977 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.1229, allocations: 65.99 MB / 0.5554 GB, free: 5.859 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.008921/0.1318, allocations: 6.799 MB / 0.562 GB, free: 15.02 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005162/0.137, allocations: 2.45 MB / 0.5644 GB, free: 12.56 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001005/0.138, allocations: 35.88 kB / 0.5644 GB, free: 12.53 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002524/0.1405, allocations: 1.07 MB / 0.5655 GB, free: 11.45 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002402/0.1429, allocations: 0.8636 MB / 0.5663 GB, free: 10.59 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009719/0.1439, allocations: 299.3 kB / 0.5666 GB, free: 10.29 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002866/0.1467, allocations: 1.869 MB / 0.5684 GB, free: 8.422 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001528/0.1483, allocations: 1.08 MB / 0.5695 GB, free: 7.32 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001247/0.1495, allocations: 0.7277 MB / 0.5702 GB, free: 6.59 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001608/0.1511, allocations: 1.059 MB / 0.5712 GB, free: 5.527 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003964/0.1515, allocations: 132 kB / 0.5713 GB, free: 5.398 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001444/0.153, allocations: 0.7643 MB / 0.5721 GB, free: 4.633 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001095/0.1541, allocations: 0.9463 MB / 0.573 GB, free: 3.684 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001368/0.1554, allocations: 1.133 MB / 0.5741 GB, free: 2.543 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004742/0.1602, allocations: 3.726 MB / 0.5778 GB, free: 14.8 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.1602, allocations: 0 / 0.5778 GB, free: 14.8 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1602, allocations: 0 / 0.5778 GB, free: 14.8 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.815e-05/0.1603, allocations: 0 / 0.5778 GB, free: 14.8 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: 949 * Number of variables: 949 Notification: Performance of Generate backend data structure: time 0.005486/0.1658, allocations: 2.723 MB / 0.5804 GB, free: 12.02 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/0.1658, allocations: 12.03 kB / 0.5804 GB, free: 12 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006096/0.1664, allocations: 458.4 kB / 0.5809 GB, free: 11.55 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005573/0.172, allocations: 1.582 MB / 0.5824 GB, free: 9.961 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002021/0.174, allocations: 1.077 MB / 0.5835 GB, free: 8.844 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001004/0.1741, allocations: 119.3 kB / 0.5836 GB, free: 8.727 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003437/0.1745, allocations: 167.7 kB / 0.5837 GB, free: 8.562 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009357/0.1838, allocations: 6.178 MB / 0.5898 GB, free: 1.891 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.412e-05/0.1839, allocations: 31.73 kB / 0.5898 GB, free: 1.859 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002495/0.1841, allocations: 83.89 kB / 0.5899 GB, free: 1.777 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002602/0.1867, allocations: 1.437 MB / 0.5913 GB, free: 344 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2306/0.4173, allocations: 5.392 MB / 0.5966 GB, free: 30.77 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02232/0.4396, allocations: 24.82 MB / 0.6208 GB, free: 12.84 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004169/0.4438, allocations: 2.258 MB / 0.623 GB, free: 11.71 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001012/0.4448, allocations: 0.8759 MB / 0.6238 GB, free: 11.38 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002738/0.4451, allocations: 324.5 kB / 0.6242 GB, free: 11.08 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.706e-05/0.4451, allocations: 45.73 kB / 0.6242 GB, free: 11.03 MB / 446.1 MB Notification: Performance of pre-optimization done (n=96): time 3.006e-06/0.4451, allocations: 1.312 kB / 0.6242 GB, free: 11.03 MB / 446.1 MB Notification: Performance of matching and sorting (n=106): time 0.02107/0.4662, allocations: 8.566 MB / 0.6326 GB, free: 6.836 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.75e-05/0.4662, allocations: 144.3 kB / 0.6327 GB, free: 6.672 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002929/0.4691, allocations: 2.636 MB / 0.6353 GB, free: 5.32 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001571/0.4693, allocations: 37.2 kB / 0.6353 GB, free: 5.281 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008863/0.4702, allocations: 2.109 MB / 0.6374 GB, free: 3.438 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003558/0.4705, allocations: 456.3 kB / 0.6378 GB, free: 3.023 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008798/0.4714, allocations: 0.8728 MB / 0.6387 GB, free: 2.141 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.815e-05/0.4714, allocations: 313 kB / 0.639 GB, free: 1.832 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001508/0.473, allocations: 1.328 MB / 0.6403 GB, free: 0.4961 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004647/0.4776, allocations: 4.108 MB / 0.6443 GB, free: 10.99 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007896/0.4855, allocations: 5.927 MB / 0.6501 GB, free: 3.68 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.466e-05/0.4856, allocations: 32 kB / 0.6501 GB, free: 3.648 MB / 462.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.01207/0.4976, allocations: 5.5 MB / 0.6555 GB, free: 14.15 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.084e-05/0.4977, allocations: 49.03 kB / 0.6555 GB, free: 14.1 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001349/0.4979, allocations: 96 kB / 0.6556 GB, free: 14.01 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001231/0.4991, allocations: 465.1 kB / 0.656 GB, free: 13.55 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003102/0.5022, allocations: 0.9785 MB / 0.657 GB, free: 12.57 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004905/0.5071, allocations: 3.673 MB / 0.6606 GB, free: 8.77 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003133/0.5102, allocations: 223.7 kB / 0.6608 GB, free: 8.551 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007275/0.511, allocations: 272 kB / 0.6611 GB, free: 8.285 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 450 * Number of states: 0 () * Number of discrete variables: 21 (rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[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 (527): * Single equations (assignments): 523 * 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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002612/0.5136, allocations: 1.365 MB / 0.6624 GB, free: 6.91 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005931/0.5142, allocations: 234.4 kB / 0.6626 GB, free: 6.68 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002822/0.517, allocations: 1.318 MB / 0.6639 GB, free: 5.348 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.973e-05/0.517, allocations: 12 kB / 0.6639 GB, free: 5.336 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.298e-05/0.517, allocations: 7.984 kB / 0.6639 GB, free: 5.328 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.346e-05/0.5171, allocations: 3.984 kB / 0.6639 GB, free: 5.324 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007893/0.525, allocations: 4.203 MB / 0.668 GB, free: 1.078 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.155e-06/0.525, allocations: 0.9375 kB / 0.668 GB, free: 1.078 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006472/0.5256, allocations: 135.8 kB / 0.6682 GB, free: 0.9453 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009129/0.5265, allocations: 320.5 kB / 0.6685 GB, free: 0.6289 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.637e-05/0.5266, allocations: 19.44 kB / 0.6685 GB, free: 0.6133 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003709/0.5303, allocations: 3.062 MB / 0.6715 GB, free: 13.42 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.638e-06/0.5303, allocations: 7.281 kB / 0.6715 GB, free: 13.42 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004471/0.5348, allocations: 3.08 MB / 0.6745 GB, free: 10.32 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005636/0.5353, allocations: 283.5 kB / 0.6748 GB, free: 10.02 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002237/0.5356, allocations: 19.94 kB / 0.6748 GB, free: 10 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007631/0.5363, allocations: 48 kB / 0.6748 GB, free: 9.953 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001645/0.5365, allocations: 56.36 kB / 0.6749 GB, free: 9.898 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.992e-05/0.5366, allocations: 27.94 kB / 0.6749 GB, free: 9.871 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002391/0.5389, allocations: 1.628 MB / 0.6765 GB, free: 8.23 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5389, allocations: 0 / 0.6765 GB, free: 8.23 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003044/0.542, allocations: 0.5929 MB / 0.6771 GB, free: 7.641 MB / 494.1 MB 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 (77): * Single equations (assignments): 73 * 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,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004837/0.5468, allocations: 3.698 MB / 0.6807 GB, free: 3.914 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00495/0.5518, allocations: 3.097 MB / 0.6837 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.5518, allocations: 0 / 0.6837 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001184/0.553, allocations: 0.8053 MB / 0.6845 GB, free: 8 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001351/0.5543, allocations: 210.8 kB / 0.6847 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03964/0.594, allocations: 28.36 MB / 0.7124 GB, free: 15.72 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002347/0.5963, allocations: 2.167 MB / 0.7145 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.00296/0.5993, allocations: 1.383 MB / 0.7159 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001484/0.6007, allocations: 1.019 MB / 0.7169 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of SimCode: time 1.062e-06/0.6007, allocations: 3.938 kB / 0.7169 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08886/0.6896, allocations: 38.62 MB / 0.7546 GB, free: 4.754 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.17/19.86, allocations: 11.92 kB / 0.7546 GB, free: 4.742 MB / 0.5606 GB " [Timeout remaining time 640] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass_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_Parts_PointMass.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Parts/PointMass/PointMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass.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: 22.986391703991103]