Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001364/0.001364, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001626/0.001626, allocations: 218 kB / 22.99 MB, free: 4.973 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.402/1.402, allocations: 207.7 MB / 233.8 MB, free: 9.793 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2225/0.2225, allocations: 44.26 MB / 330.3 MB, free: 9.398 MB / 270.1 MB " [Timeout remaining time 180] 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.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_3_2_3_ModelicaTest_MultiBody_Parts_PointMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.PointMass,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_PointMass",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002371/0.002371, allocations: 75.89 kB / 467.5 MB, free: 4.371 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.13, allocations: 61.04 MB / 0.5161 GB, free: 7.207 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.01024/0.1402, allocations: 6.079 MB / 0.5221 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006102/0.1463, allocations: 2.272 MB / 0.5243 GB, free: 14.81 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001219/0.1475, allocations: 35.88 kB / 0.5243 GB, free: 14.78 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002694/0.1502, allocations: 1.016 MB / 0.5253 GB, free: 13.76 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002866/0.1531, allocations: 0.8752 MB / 0.5262 GB, free: 12.88 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001005/0.1541, allocations: 299.2 kB / 0.5265 GB, free: 12.59 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003292/0.1574, allocations: 1.904 MB / 0.5283 GB, free: 10.68 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001931/0.1593, allocations: 1.088 MB / 0.5294 GB, free: 9.566 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001457/0.1608, allocations: 0.7316 MB / 0.5301 GB, free: 8.832 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002172/0.1629, allocations: 1.027 MB / 0.5311 GB, free: 7.801 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004708/0.1634, allocations: 132 kB / 0.5312 GB, free: 7.672 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001421/0.1648, allocations: 0.6278 MB / 0.5318 GB, free: 7.043 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001081/0.1659, allocations: 0.9618 MB / 0.5328 GB, free: 6.078 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001264/0.1672, allocations: 0.8068 MB / 0.5336 GB, free: 5.266 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004527/0.1717, allocations: 3.761 MB / 0.5372 GB, free: 1.488 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1717, allocations: 0 / 0.5372 GB, free: 1.488 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1717, allocations: 0 / 0.5372 GB, free: 1.488 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.031e-05/0.1717, allocations: 3.938 kB / 0.5372 GB, free: 1.484 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: 949 * Number of variables: 949 Notification: Performance of Generate backend data structure: time 0.2154/0.3871, allocations: 2.655 MB / 0.5398 GB, free: 27.58 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.323e-05/0.3872, allocations: 9.344 kB / 0.5398 GB, free: 27.58 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006028/0.3878, allocations: 459.2 kB / 0.5403 GB, free: 27.52 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005391/0.3931, allocations: 1.581 MB / 0.5418 GB, free: 27.34 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002515/0.3957, allocations: 1.035 MB / 0.5428 GB, free: 27.07 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.874e-05/0.3958, allocations: 120.4 kB / 0.5429 GB, free: 27.04 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003168/0.3961, allocations: 153.2 kB / 0.5431 GB, free: 27.01 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008864/0.4049, allocations: 6.188 MB / 0.5491 GB, free: 24.07 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.505e-05/0.405, allocations: 28.09 kB / 0.5492 GB, free: 24.06 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000218/0.4052, allocations: 84.06 kB / 0.5492 GB, free: 24 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002423/0.4076, allocations: 1.442 MB / 0.5507 GB, free: 23.76 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00952/0.4172, allocations: 5.376 MB / 0.5559 GB, free: 22.12 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02376/0.4409, allocations: 23.88 MB / 0.5792 GB, free: 3.562 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003718/0.4446, allocations: 1.795 MB / 0.581 GB, free: 2.672 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009583/0.4456, allocations: 0.8912 MB / 0.5818 GB, free: 2.223 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002138/0.4458, allocations: 85.88 kB / 0.5819 GB, free: 2.199 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.347e-05/0.4458, allocations: 46.72 kB / 0.582 GB, free: 2.148 MB / 414.1 MB Notification: Performance of pre-optimization done (n=96): time 3.426e-06/0.4458, allocations: 1.344 kB / 0.582 GB, free: 2.148 MB / 414.1 MB Notification: Performance of matching and sorting (n=106): time 0.02283/0.4687, allocations: 8.404 MB / 0.5902 GB, free: 10.93 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001171/0.4688, allocations: 140.5 kB / 0.5903 GB, free: 10.76 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004343/0.4731, allocations: 2.811 MB / 0.5931 GB, free: 7.926 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001371/0.4733, allocations: 41.7 kB / 0.5931 GB, free: 7.879 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001684/0.475, allocations: 2.116 MB / 0.5952 GB, free: 5.742 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005331/0.4755, allocations: 460.6 kB / 0.5956 GB, free: 5.289 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001249/0.4767, allocations: 0.8734 MB / 0.5965 GB, free: 4.402 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.4769, allocations: 301.1 kB / 0.5967 GB, free: 4.105 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002062/0.4789, allocations: 1.339 MB / 0.5981 GB, free: 2.762 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004439/0.4834, allocations: 4.104 MB / 0.6021 GB, free: 13.25 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007137/0.4905, allocations: 5.943 MB / 0.6079 GB, free: 5.926 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.043e-05/0.4906, allocations: 28 kB / 0.6079 GB, free: 5.898 MB / 446.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.01007/0.5007, allocations: 5.493 MB / 0.6133 GB, free: 408 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001037/0.5008, allocations: 48 kB / 0.6133 GB, free: 360 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001489/0.5009, allocations: 100 kB / 0.6134 GB, free: 260 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001149/0.5021, allocations: 461 kB / 0.6138 GB, free: 15.8 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002854/0.5049, allocations: 0.9747 MB / 0.6148 GB, free: 14.82 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004462/0.5094, allocations: 3.539 MB / 0.6182 GB, free: 11.17 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002601/0.512, allocations: 231.7 kB / 0.6185 GB, free: 10.95 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005301/0.5125, allocations: 272 kB / 0.6187 GB, free: 10.68 MB / 462.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.002164/0.5147, allocations: 1.366 MB / 0.6201 GB, free: 9.301 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004602/0.5152, allocations: 226.5 kB / 0.6203 GB, free: 9.078 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002645/0.5178, allocations: 1.326 MB / 0.6216 GB, free: 7.738 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001279/0.5179, allocations: 17.2 kB / 0.6216 GB, free: 7.723 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.108e-05/0.5179, allocations: 4 kB / 0.6216 GB, free: 7.719 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.014e-05/0.5179, allocations: 3.984 kB / 0.6216 GB, free: 7.715 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008444/0.5264, allocations: 4.001 MB / 0.6255 GB, free: 3.656 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.2e-05/0.5264, allocations: 11.94 kB / 0.6255 GB, free: 3.645 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006632/0.5271, allocations: 139.8 kB / 0.6256 GB, free: 3.508 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008887/0.528, allocations: 312.1 kB / 0.6259 GB, free: 3.203 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.391e-05/0.528, allocations: 20 kB / 0.626 GB, free: 3.184 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003745/0.5318, allocations: 2.943 MB / 0.6288 GB, free: 132 kB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.5318, allocations: 0 / 0.6288 GB, free: 132 kB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0047/0.5365, allocations: 3.076 MB / 0.6318 GB, free: 13.03 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001141/0.5376, allocations: 354.2 kB / 0.6322 GB, free: 12.68 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004654/0.5381, allocations: 19.98 kB / 0.6322 GB, free: 12.66 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001032/0.5391, allocations: 43.94 kB / 0.6322 GB, free: 12.62 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001546/0.5393, allocations: 56.33 kB / 0.6323 GB, free: 12.56 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.054e-05/0.5394, allocations: 28 kB / 0.6323 GB, free: 12.54 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003066/0.5424, allocations: 1.633 MB / 0.6339 GB, free: 10.89 MB / 478.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5424, allocations: 0 / 0.6339 GB, free: 10.89 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003704/0.5461, allocations: 0.6054 MB / 0.6345 GB, free: 10.29 MB / 478.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.005352/0.5515, allocations: 3.691 MB / 0.6381 GB, free: 6.566 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005389/0.5569, allocations: 3.111 MB / 0.6411 GB, free: 3.465 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.329e-06/0.5569, allocations: 0 / 0.6411 GB, free: 3.465 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001224/0.5581, allocations: 0.8019 MB / 0.6419 GB, free: 2.645 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001632/0.5597, allocations: 217.4 kB / 0.6421 GB, free: 2.441 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04497/0.6047, allocations: 28.42 MB / 0.6699 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002785/0.6075, allocations: 1.604 MB / 0.6715 GB, free: 0.6602 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003186/0.6107, allocations: 1.399 MB / 0.6728 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001623/0.6123, allocations: 1.015 MB / 0.6738 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of SimCode: time 1.102e-06/0.6123, allocations: 0 / 0.6738 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09175/0.7041, allocations: 38.29 MB / 0.7112 GB, free: 7.902 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.48/15.18, allocations: 12 kB / 0.7112 GB, free: 7.891 MB / 0.545 GB " [Timeout remaining time 645] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_MultiBody_Parts_PointMass.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/PointMass/PointMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 18.156786074861884]