Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001797/0.001797, allocations: 117.6 kB / 20.32 MB, free: 1.57 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00211/0.00211, allocations: 204.8 kB / 23.6 MB, free: 4.957 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.417/1.417, allocations: 230.4 MB / 257.1 MB, free: 8.047 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2188/0.2188, allocations: 46.93 MB / 360.5 MB, free: 4.223 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegStep,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegStep,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegStep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002456/0.002456, allocations: 83.88 kB / 0.4958 GB, free: 7.906 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3194/0.3218, allocations: 66.08 MB / 0.5603 GB, free: 4.336 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001624/0.3235, allocations: 0.4896 MB / 0.5608 GB, free: 3.852 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.000309/0.3238, allocations: 95.73 kB / 0.5609 GB, free: 3.758 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.926e-05/0.3238, allocations: 0 / 0.5609 GB, free: 3.758 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.616e-05/0.3238, allocations: 0 / 0.5609 GB, free: 3.758 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002027/0.324, allocations: 23.91 kB / 0.5609 GB, free: 3.734 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.591e-05/0.324, allocations: 0 / 0.5609 GB, free: 3.734 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.189e-05/0.3241, allocations: 7.984 kB / 0.5609 GB, free: 3.727 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.995e-05/0.3241, allocations: 0 / 0.5609 GB, free: 3.727 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.74e-05/0.3241, allocations: 7.875 kB / 0.5609 GB, free: 3.719 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.52e-05/0.3242, allocations: 4 kB / 0.5609 GB, free: 3.715 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.948e-06/0.3242, allocations: 4 kB / 0.5609 GB, free: 3.711 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.321e-05/0.3243, allocations: 27.97 kB / 0.561 GB, free: 3.684 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.083e-05/0.3243, allocations: 0 / 0.561 GB, free: 3.684 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.569e-05/0.3243, allocations: 3.984 kB / 0.561 GB, free: 3.68 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 8.483e-05/0.3244, allocations: 21.75 kB / 0.561 GB, free: 3.66 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.3244, allocations: 0 / 0.561 GB, free: 3.66 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3244, allocations: 0 / 0.561 GB, free: 3.66 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.546e-06/0.3244, allocations: 3.938 kB / 0.561 GB, free: 3.656 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002935/0.3247, allocations: 246.4 kB / 0.5612 GB, free: 3.383 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.3247, allocations: 8.031 kB / 0.5612 GB, free: 3.375 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.078e-05/0.3248, allocations: 34.75 kB / 0.5613 GB, free: 3.332 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.248e-05/0.3248, allocations: 8.938 kB / 0.5613 GB, free: 3.324 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.642e-05/0.3249, allocations: 106.5 kB / 0.5614 GB, free: 3.195 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.048e-05/0.3249, allocations: 384 / 0.5614 GB, free: 3.195 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.689e-05/0.3249, allocations: 384 / 0.5614 GB, free: 3.195 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.109e-05/0.325, allocations: 42.17 kB / 0.5614 GB, free: 3.148 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.325, allocations: 3.938 kB / 0.5614 GB, free: 3.145 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.809e-06/0.325, allocations: 8 kB / 0.5614 GB, free: 3.137 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.596e-06/0.325, allocations: 0 / 0.5614 GB, free: 3.137 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.259e-05/0.3251, allocations: 4 kB / 0.5614 GB, free: 3.133 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000153/0.3252, allocations: 128.7 kB / 0.5616 GB, free: 2.965 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001742/0.3254, allocations: 38.61 kB / 0.5616 GB, free: 2.918 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.686e-05/0.3254, allocations: 8.859 kB / 0.5616 GB, free: 2.906 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000317/0.3257, allocations: 43.97 kB / 0.5616 GB, free: 2.863 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.054e-05/0.3258, allocations: 34.56 kB / 0.5617 GB, free: 2.82 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.143e-06/0.3258, allocations: 0 / 0.5617 GB, free: 2.82 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.001221/0.327, allocations: 189.3 kB / 0.5619 GB, free: 2.629 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.579e-05/0.327, allocations: 51.41 kB / 0.5619 GB, free: 2.566 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.853e-05/0.3271, allocations: 97.8 kB / 0.562 GB, free: 2.461 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.976e-05/0.3271, allocations: 29.7 kB / 0.562 GB, free: 2.426 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.382e-05/0.3272, allocations: 80.14 kB / 0.5621 GB, free: 2.344 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.605e-05/0.3272, allocations: 11.89 kB / 0.5621 GB, free: 2.332 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.722e-05/0.3272, allocations: 21.84 kB / 0.5621 GB, free: 2.305 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.3274, allocations: 314.8 kB / 0.5624 GB, free: 1.988 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.381e-05/0.3274, allocations: 19.98 kB / 0.5625 GB, free: 1.969 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.796e-05/0.3275, allocations: 19.97 kB / 0.5625 GB, free: 1.949 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001551/0.3277, allocations: 44.83 kB / 0.5625 GB, free: 1.902 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.51e-07/0.3277, allocations: 0 / 0.5625 GB, free: 1.902 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002134/0.3279, allocations: 81.55 kB / 0.5626 GB, free: 1.816 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.3279, allocations: 10.34 kB / 0.5626 GB, free: 1.809 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.3279, allocations: 0 / 0.5626 GB, free: 1.809 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.3279, allocations: 0 / 0.5626 GB, free: 1.809 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001276/0.328, allocations: 19.97 kB / 0.5626 GB, free: 1.789 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/0.3281, allocations: 0 / 0.5626 GB, free: 1.789 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.99e-05/0.3281, allocations: 4 kB / 0.5626 GB, free: 1.785 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/0.3281, allocations: 4 kB / 0.5626 GB, free: 1.781 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.906e-05/0.3282, allocations: 109.8 kB / 0.5627 GB, free: 1.664 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.806e-05/0.3282, allocations: 12.12 kB / 0.5628 GB, free: 1.652 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002755/0.3285, allocations: 97.12 kB / 0.5628 GB, free: 1.547 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.3285, allocations: 7.938 kB / 0.5629 GB, free: 1.539 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.3285, allocations: 0 / 0.5629 GB, free: 1.539 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.3285, allocations: 3.984 kB / 0.5629 GB, free: 1.535 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000729/0.3293, allocations: 330.4 kB / 0.5632 GB, free: 1.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3293, allocations: 0 / 0.5632 GB, free: 1.16 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.049e-05/0.3293, allocations: 11.98 kB / 0.5632 GB, free: 1.148 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.626e-06/0.3294, allocations: 4 kB / 0.5632 GB, free: 1.145 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.3294, allocations: 0 / 0.5632 GB, free: 1.145 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3294, allocations: 0 / 0.5632 GB, free: 1.145 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.3294, allocations: 0 / 0.5632 GB, free: 1.145 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002541/0.3296, allocations: 184.2 kB / 0.5634 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.628e-06/0.3296, allocations: 8.266 kB / 0.5634 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/0.3296, allocations: 8.031 kB / 0.5634 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.674e-05/0.3297, allocations: 4 kB / 0.5634 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.575e-05/0.3298, allocations: 11.91 kB / 0.5634 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.151e-05/0.3298, allocations: 4 kB / 0.5634 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.043e-05/0.3298, allocations: 75.28 kB / 0.5635 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3298, allocations: 0 / 0.5635 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002315/0.33, allocations: 12 kB / 0.5635 GB, free: 0.8242 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005727/0.3306, allocations: 0.7133 MB / 0.5642 GB, free: 80 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002133/0.3308, allocations: 43.95 kB / 0.5642 GB, free: 36 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3308, allocations: 4 kB / 0.5642 GB, free: 32 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.262e-05/0.3309, allocations: 23.91 kB / 0.5642 GB, free: 8 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002108/0.3311, allocations: 8 kB / 0.5643 GB, free: 0 / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005692/0.3317, allocations: 163.4 kB / 0.5644 GB, free: 15.8 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.352e-05/0.3318, allocations: 63.41 kB / 0.5645 GB, free: 15.71 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.924e-05/0.3318, allocations: 4.312 kB / 0.5645 GB, free: 15.71 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.534e-05/0.3318, allocations: 11.44 kB / 0.5645 GB, free: 15.7 MB / 414.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3318, allocations: 0 / 0.5645 GB, free: 15.7 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02705/0.3589, allocations: 1.586 MB / 0.566 GB, free: 14.21 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.6/10.96, allocations: 11.5 kB / 0.566 GB, free: 14.21 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.csv --start-time 0 --stop-time 1.3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000259896 ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegStep.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegStep/TestRegStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.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: 13.952003305021208]