Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001736/0.001736, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.001823/0.001823, allocations: 203.3 kB / 20.74 MB, free: 2.316 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.501/1.501, allocations: 230.6 MB / 254.1 MB, free: 15.1 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.222/0.222, allocations: 44.9 MB / 355.1 MB, free: 12.34 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.Parts.PointMass,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_PointMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.PointMass,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_PointMass",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.002743/0.002743, allocations: 71.88 kB / 499.6 MB, free: 11.72 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.1364, allocations: 65.41 MB / 0.5517 GB, free: 10.18 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.008697/0.1451, allocations: 6.803 MB / 0.5584 GB, free: 3.336 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00463/0.1498, allocations: 2.45 MB / 0.5608 GB, free: 0.875 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006615/0.1504, allocations: 31.88 kB / 0.5608 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002191/0.1526, allocations: 1.074 MB / 0.5619 GB, free: 15.76 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001859/0.1545, allocations: 0.8633 MB / 0.5627 GB, free: 14.9 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007473/0.1552, allocations: 307.2 kB / 0.563 GB, free: 14.6 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002423/0.1576, allocations: 1.857 MB / 0.5648 GB, free: 12.74 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00138/0.159, allocations: 1.088 MB / 0.5659 GB, free: 11.63 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001014/0.16, allocations: 0.7238 MB / 0.5666 GB, free: 10.9 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001514/0.1615, allocations: 1.059 MB / 0.5676 GB, free: 9.84 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003025/0.1618, allocations: 128 kB / 0.5677 GB, free: 9.715 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001302/0.1631, allocations: 0.7682 MB / 0.5685 GB, free: 8.945 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009494/0.1641, allocations: 0.9541 MB / 0.5694 GB, free: 7.988 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001158/0.1653, allocations: 1.121 MB / 0.5705 GB, free: 6.859 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004187/0.1694, allocations: 3.73 MB / 0.5741 GB, free: 3.113 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.1694, allocations: 0 / 0.5741 GB, free: 3.113 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1694, allocations: 0 / 0.5741 GB, free: 3.113 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.657e-05/0.1695, allocations: 0 / 0.5741 GB, free: 3.113 MB / 430.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.005052/0.1746, allocations: 2.727 MB / 0.5768 GB, free: 332 kB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.1746, allocations: 12.03 kB / 0.5768 GB, free: 320 kB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006448/0.1752, allocations: 454.4 kB / 0.5773 GB, free: 15.86 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005708/0.181, allocations: 1.578 MB / 0.5788 GB, free: 14.28 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00219/0.1831, allocations: 1.081 MB / 0.5799 GB, free: 13.16 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001248/0.1833, allocations: 123.3 kB / 0.58 GB, free: 13.04 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004367/0.1837, allocations: 163.7 kB / 0.5801 GB, free: 12.88 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01013/0.1938, allocations: 6.174 MB / 0.5862 GB, free: 6.207 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.617e-05/0.1939, allocations: 27.75 kB / 0.5862 GB, free: 6.18 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002553/0.1942, allocations: 79.89 kB / 0.5863 GB, free: 6.102 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002679/0.1968, allocations: 1.441 MB / 0.5877 GB, free: 4.656 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2192/0.416, allocations: 5.395 MB / 0.5929 GB, free: 34.01 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02371/0.4397, allocations: 24.81 MB / 0.6172 GB, free: 16.79 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004459/0.4442, allocations: 2.258 MB / 0.6194 GB, free: 15.66 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001188/0.4454, allocations: 0.8824 MB / 0.6202 GB, free: 15.31 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002861/0.4457, allocations: 319.8 kB / 0.6205 GB, free: 15.02 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.364e-05/0.4457, allocations: 50.64 kB / 0.6206 GB, free: 14.97 MB / 446.1 MB Notification: Performance of pre-optimization done (n=96): time 3.566e-06/0.4457, allocations: 112 / 0.6206 GB, free: 14.97 MB / 446.1 MB Notification: Performance of matching and sorting (n=106): time 0.02175/0.4674, allocations: 8.559 MB / 0.6289 GB, free: 11.32 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.14e-05/0.4675, allocations: 149.1 kB / 0.6291 GB, free: 11.16 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003172/0.4707, allocations: 2.637 MB / 0.6317 GB, free: 9.805 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001656/0.4708, allocations: 41.08 kB / 0.6317 GB, free: 9.762 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009599/0.4718, allocations: 2.108 MB / 0.6338 GB, free: 7.914 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003868/0.4722, allocations: 455.6 kB / 0.6342 GB, free: 7.547 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008923/0.4731, allocations: 0.8697 MB / 0.635 GB, free: 7.043 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.901e-05/0.4731, allocations: 309 kB / 0.6353 GB, free: 6.738 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001479/0.4746, allocations: 1.34 MB / 0.6366 GB, free: 6.102 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002413/0.477, allocations: 4.104 MB / 0.6407 GB, free: 1.539 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006498/0.4835, allocations: 5.93 MB / 0.6464 GB, free: 10.96 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.94e-05/0.4836, allocations: 28 kB / 0.6465 GB, free: 10.93 MB / 462.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.0105/0.4941, allocations: 5.498 MB / 0.6518 GB, free: 5.43 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.442e-05/0.4942, allocations: 48 kB / 0.6519 GB, free: 5.383 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001201/0.4943, allocations: 96 kB / 0.652 GB, free: 5.289 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001162/0.4954, allocations: 470.5 kB / 0.6524 GB, free: 4.828 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003019/0.4985, allocations: 0.9785 MB / 0.6534 GB, free: 3.848 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004679/0.5031, allocations: 3.659 MB / 0.657 GB, free: 60 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003086/0.5062, allocations: 239.6 kB / 0.6572 GB, free: 15.82 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006061/0.5068, allocations: 268 kB / 0.6574 GB, free: 15.56 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.002408/0.5092, allocations: 1.373 MB / 0.6588 GB, free: 14.18 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005553/0.5098, allocations: 226.5 kB / 0.659 GB, free: 13.96 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002844/0.5126, allocations: 1.325 MB / 0.6603 GB, free: 12.62 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.405e-05/0.5127, allocations: 12 kB / 0.6603 GB, free: 12.61 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.199e-05/0.5127, allocations: 4 kB / 0.6603 GB, free: 12.61 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.331e-05/0.5127, allocations: 3.984 kB / 0.6603 GB, free: 12.6 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009089/0.5218, allocations: 4.195 MB / 0.6644 GB, free: 8.363 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.248e-05/0.5218, allocations: 3.984 kB / 0.6644 GB, free: 8.359 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006931/0.5225, allocations: 135.9 kB / 0.6645 GB, free: 8.227 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009572/0.5235, allocations: 320.4 kB / 0.6648 GB, free: 7.914 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.766e-05/0.5236, allocations: 23.62 kB / 0.6649 GB, free: 7.895 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003976/0.5275, allocations: 3.062 MB / 0.6679 GB, free: 4.699 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/0.5275, allocations: 4.031 kB / 0.6679 GB, free: 4.695 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00509/0.5326, allocations: 3.079 MB / 0.6709 GB, free: 1.598 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008011/0.5334, allocations: 283.5 kB / 0.6711 GB, free: 1.301 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005747/0.534, allocations: 19.94 kB / 0.6712 GB, free: 1.281 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001121/0.5351, allocations: 44 kB / 0.6712 GB, free: 1.238 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001982/0.5353, allocations: 60.36 kB / 0.6713 GB, free: 1.18 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.119e-05/0.5354, allocations: 27.75 kB / 0.6713 GB, free: 1.156 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003186/0.5386, allocations: 1.627 MB / 0.6729 GB, free: 15.52 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5386, allocations: 0 / 0.6729 GB, free: 15.52 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003897/0.5425, allocations: 0.5897 MB / 0.6734 GB, free: 14.93 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.00577/0.5483, allocations: 3.704 MB / 0.6771 GB, free: 11.2 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00566/0.5539, allocations: 3.096 MB / 0.6801 GB, free: 8.109 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.602e-06/0.5539, allocations: 1.562 kB / 0.6801 GB, free: 8.109 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001437/0.5554, allocations: 0.8082 MB / 0.6809 GB, free: 7.289 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00227/0.5576, allocations: 211.1 kB / 0.6811 GB, free: 7.09 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04737/0.605, allocations: 28.36 MB / 0.7088 GB, free: 7 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002944/0.608, allocations: 2.167 MB / 0.7109 GB, free: 4.797 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.003117/0.6111, allocations: 1.387 MB / 0.7122 GB, free: 3.402 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001656/0.6127, allocations: 1.019 MB / 0.7132 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of SimCode: time 1.613e-06/0.6127, allocations: 0 / 0.7132 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08732/0.7001, allocations: 38.62 MB / 0.751 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.94/19.64, allocations: 22.47 kB / 0.751 GB, free: 12.01 MB / 0.5606 GB " [Timeout remaining time 640] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.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_0_0_ModelicaTest_MultiBody_Parts_PointMass.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/PointMass/PointMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.781824169214815]