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.001457/0.001457, allocations: 115.8 kB / 20.43 MB, free: 1.449 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.001569/0.001569, allocations: 216.6 kB / 23.74 MB, free: 4.656 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.465/1.465, allocations: 230.6 MB / 257.5 MB, free: 8.035 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.2316/0.2316, allocations: 46.94 MB / 360.9 MB, free: 4.293 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.002008/0.002008, allocations: 71.89 kB / 0.4962 GB, free: 7.934 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3168/0.3188, allocations: 66.03 MB / 0.5606 GB, free: 4.508 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.009191/0.328, allocations: 6.829 MB / 0.5673 GB, free: 13.64 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005412/0.3334, allocations: 2.467 MB / 0.5697 GB, free: 11.17 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008275/0.3342, allocations: 35.88 kB / 0.5698 GB, free: 11.13 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002523/0.3368, allocations: 1.078 MB / 0.5708 GB, free: 10.05 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002578/0.3393, allocations: 0.8597 MB / 0.5716 GB, free: 9.188 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001011/0.3404, allocations: 307.3 kB / 0.5719 GB, free: 8.887 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003185/0.3435, allocations: 1.869 MB / 0.5738 GB, free: 7.012 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001877/0.3454, allocations: 1.095 MB / 0.5748 GB, free: 5.895 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001267/0.3467, allocations: 0.7122 MB / 0.5755 GB, free: 5.18 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001629/0.3483, allocations: 1.063 MB / 0.5766 GB, free: 4.113 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003326/0.3486, allocations: 128 kB / 0.5767 GB, free: 3.988 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001437/0.3501, allocations: 0.7682 MB / 0.5774 GB, free: 3.219 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001048/0.3511, allocations: 0.954 MB / 0.5784 GB, free: 2.262 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001248/0.3524, allocations: 1.118 MB / 0.5795 GB, free: 1.137 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004627/0.357, allocations: 3.738 MB / 0.5831 GB, free: 13.38 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.357, allocations: 0 / 0.5831 GB, free: 13.38 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.357, allocations: 0 / 0.5831 GB, free: 13.38 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.411e-05/0.3571, allocations: 0 / 0.5831 GB, free: 13.38 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.005226/0.3623, allocations: 2.643 MB / 0.5857 GB, free: 10.7 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.3624, allocations: 8.031 kB / 0.5857 GB, free: 10.69 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006697/0.363, allocations: 458.4 kB / 0.5861 GB, free: 10.23 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005412/0.3684, allocations: 1.586 MB / 0.5877 GB, free: 8.641 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002514/0.371, allocations: 1.015 MB / 0.5887 GB, free: 7.594 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001022/0.3711, allocations: 119.3 kB / 0.5888 GB, free: 7.477 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003521/0.3714, allocations: 159.8 kB / 0.5889 GB, free: 7.32 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01045/0.3819, allocations: 6.178 MB / 0.595 GB, free: 0.6562 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.493e-05/0.3819, allocations: 27.75 kB / 0.595 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002573/0.3822, allocations: 83.88 kB / 0.5951 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002589/0.3848, allocations: 1.445 MB / 0.5965 GB, free: 15.1 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01051/0.3953, allocations: 5.396 MB / 0.6018 GB, free: 9.699 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.033/0.4283, allocations: 24.7 MB / 0.6259 GB, free: 188 kB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004561/0.4329, allocations: 1.805 MB / 0.6276 GB, free: 14.34 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001305/0.4342, allocations: 0.89 MB / 0.6285 GB, free: 13.44 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003008/0.4345, allocations: 95.78 kB / 0.6286 GB, free: 13.34 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.389e-05/0.4345, allocations: 38.56 kB / 0.6286 GB, free: 13.3 MB / 478.1 MB Notification: Performance of pre-optimization done (n=96): time 3.857e-06/0.4345, allocations: 4 kB / 0.6287 GB, free: 13.29 MB / 478.1 MB Notification: Performance of matching and sorting (n=106): time 0.02365/0.4582, allocations: 8.331 MB / 0.6368 GB, free: 4.891 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001076/0.4583, allocations: 152.4 kB / 0.6369 GB, free: 4.711 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00393/0.4622, allocations: 2.632 MB / 0.6395 GB, free: 2.055 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001743/0.4624, allocations: 41.69 kB / 0.6395 GB, free: 2.008 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001654/0.464, allocations: 2.1 MB / 0.6416 GB, free: 15.89 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005204/0.4645, allocations: 460.6 kB / 0.642 GB, free: 15.43 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001171/0.4657, allocations: 0.8734 MB / 0.6429 GB, free: 14.55 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.4659, allocations: 301.1 kB / 0.6432 GB, free: 14.25 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002163/0.468, allocations: 1.332 MB / 0.6445 GB, free: 12.91 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005062/0.4731, allocations: 4.112 MB / 0.6485 GB, free: 7.395 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007623/0.4807, allocations: 5.933 MB / 0.6543 GB, free: 84 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.425e-05/0.4808, allocations: 28 kB / 0.6543 GB, free: 56 kB / 494.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.01069/0.4915, allocations: 5.497 MB / 0.6597 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.517e-05/0.4916, allocations: 50.5 kB / 0.6597 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001151/0.4917, allocations: 99.98 kB / 0.6598 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001157/0.4928, allocations: 464.8 kB / 0.6603 GB, free: 9.941 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0031/0.4959, allocations: 0.9708 MB / 0.6612 GB, free: 8.969 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004676/0.5006, allocations: 3.565 MB / 0.6647 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002675/0.5033, allocations: 227.7 kB / 0.6649 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004888/0.5038, allocations: 280 kB / 0.6652 GB, free: 4.797 MB / 0.4981 GB 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.002066/0.5059, allocations: 1.368 MB / 0.6665 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000428/0.5063, allocations: 234.4 kB / 0.6667 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002578/0.5089, allocations: 1.318 MB / 0.668 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-05/0.5089, allocations: 12 kB / 0.668 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.897e-06/0.5089, allocations: 4 kB / 0.668 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.245e-05/0.5089, allocations: 3.984 kB / 0.668 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008137/0.517, allocations: 4.18 MB / 0.6721 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.197e-06/0.5171, allocations: 0 / 0.6721 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006784/0.5177, allocations: 143.8 kB / 0.6723 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000913/0.5186, allocations: 320.6 kB / 0.6726 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.178e-05/0.5187, allocations: 23.92 kB / 0.6726 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003728/0.5225, allocations: 2.962 MB / 0.6755 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/0.5225, allocations: 3.984 kB / 0.6755 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004656/0.5271, allocations: 3.076 MB / 0.6785 GB, free: 6.941 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006112/0.5277, allocations: 210.3 kB / 0.6787 GB, free: 6.734 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003564/0.5281, allocations: 16 kB / 0.6787 GB, free: 6.719 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008757/0.529, allocations: 47.94 kB / 0.6788 GB, free: 6.672 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001844/0.5291, allocations: 60.33 kB / 0.6788 GB, free: 6.613 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.865e-05/0.5292, allocations: 31.98 kB / 0.6788 GB, free: 6.582 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002884/0.5321, allocations: 1.625 MB / 0.6804 GB, free: 4.945 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2e-07/0.5321, allocations: 0 / 0.6804 GB, free: 4.945 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003521/0.5356, allocations: 0.5897 MB / 0.681 GB, free: 4.355 MB / 0.5137 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 (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.005302/0.5409, allocations: 3.691 MB / 0.6846 GB, free: 0.6289 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005538/0.5465, allocations: 3.102 MB / 0.6876 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/0.5465, allocations: 0 / 0.6876 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00133/0.5478, allocations: 0.809 MB / 0.6884 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001521/0.5493, allocations: 212.5 kB / 0.6886 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0462/0.5955, allocations: 28.42 MB / 0.7164 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002883/0.5984, allocations: 2.159 MB / 0.7185 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003728/0.6022, allocations: 1.391 MB / 0.7198 GB, free: 8.766 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001924/0.6041, allocations: 1.019 MB / 0.7208 GB, free: 7.746 MB / 0.5606 GB Notification: Performance of SimCode: time 1.292e-06/0.6041, allocations: 0 / 0.7208 GB, free: 7.746 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3042/0.9083, allocations: 42.16 MB / 0.762 GB, free: 135.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.26/22.17, allocations: 6.328 kB / 0.762 GB, free: 135.1 MB / 0.5606 GB " [Timeout remaining time 638] (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: 25.28503104700212]