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.00184/0.00184, allocations: 116.5 kB / 20.43 MB, free: 1.301 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.002267/0.002267, allocations: 206.6 kB / 23.74 MB, free: 4.539 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.446/1.446, allocations: 230.5 MB / 257.4 MB, free: 8.023 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.2306/0.2306, allocations: 46.93 MB / 360.8 MB, free: 4.262 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.002234/0.002234, allocations: 83.88 kB / 0.4962 GB, free: 7.773 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3065/0.3087, allocations: 66.09 MB / 0.5607 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001669/0.3104, allocations: 0.4916 MB / 0.5612 GB, free: 3.812 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003389/0.3107, allocations: 99.7 kB / 0.5613 GB, free: 3.715 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.794e-05/0.3107, allocations: 4 kB / 0.5613 GB, free: 3.711 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.847e-05/0.3107, allocations: 3.938 kB / 0.5613 GB, free: 3.707 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002179/0.311, allocations: 19.91 kB / 0.5613 GB, free: 3.688 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.629e-05/0.311, allocations: 4 kB / 0.5613 GB, free: 3.684 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.569e-05/0.311, allocations: 4 kB / 0.5613 GB, free: 3.68 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.348e-05/0.3111, allocations: 7.984 kB / 0.5613 GB, free: 3.672 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.717e-05/0.3111, allocations: 3.938 kB / 0.5613 GB, free: 3.668 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.343e-05/0.3111, allocations: 4 kB / 0.5613 GB, free: 3.664 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.059e-05/0.3111, allocations: 0 / 0.5613 GB, free: 3.664 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.888e-05/0.3112, allocations: 19.92 kB / 0.5614 GB, free: 3.645 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.062e-05/0.3112, allocations: 8 kB / 0.5614 GB, free: 3.637 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.847e-05/0.3112, allocations: 7.922 kB / 0.5614 GB, free: 3.629 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 8.131e-05/0.3113, allocations: 17.8 kB / 0.5614 GB, free: 3.613 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.3113, allocations: 4 kB / 0.5614 GB, free: 3.609 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.3113, allocations: 3.938 kB / 0.5614 GB, free: 3.605 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.596e-06/0.3113, allocations: 0 / 0.5614 GB, free: 3.605 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.0003034/0.3116, allocations: 242.4 kB / 0.5616 GB, free: 3.336 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.3117, allocations: 12.03 kB / 0.5616 GB, free: 3.324 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.365e-05/0.3117, allocations: 34.73 kB / 0.5617 GB, free: 3.281 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.127e-05/0.3117, allocations: 0.9375 kB / 0.5617 GB, free: 3.281 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001005/0.3118, allocations: 106.5 kB / 0.5618 GB, free: 3.152 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.3118, allocations: 8.359 kB / 0.5618 GB, free: 3.145 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.168e-05/0.3119, allocations: 4.375 kB / 0.5618 GB, free: 3.141 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.066e-05/0.312, allocations: 34.25 kB / 0.5618 GB, free: 3.102 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.312, allocations: 3.938 kB / 0.5618 GB, free: 3.098 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.532e-06/0.312, allocations: 0 / 0.5618 GB, free: 3.098 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.312, allocations: 0 / 0.5618 GB, free: 3.098 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.225e-05/0.312, allocations: 7.938 kB / 0.5618 GB, free: 3.09 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001532/0.3122, allocations: 128.7 kB / 0.562 GB, free: 2.922 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001709/0.3123, allocations: 38.67 kB / 0.562 GB, free: 2.875 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.548e-05/0.3124, allocations: 16.84 kB / 0.562 GB, free: 2.855 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003098/0.3127, allocations: 31.95 kB / 0.562 GB, free: 2.824 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.002e-05/0.3127, allocations: 42.5 kB / 0.5621 GB, free: 2.773 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.3127, allocations: 0 / 0.5621 GB, free: 2.773 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.001222/0.3139, allocations: 189.3 kB / 0.5623 GB, free: 2.582 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.748e-05/0.314, allocations: 51.41 kB / 0.5623 GB, free: 2.52 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.105e-05/0.314, allocations: 97.86 kB / 0.5624 GB, free: 2.414 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.3141, allocations: 25.7 kB / 0.5624 GB, free: 2.383 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.384e-05/0.3141, allocations: 80.14 kB / 0.5625 GB, free: 2.301 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.671e-05/0.3141, allocations: 11.91 kB / 0.5625 GB, free: 2.289 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.908e-05/0.3142, allocations: 17.7 kB / 0.5625 GB, free: 2.266 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.3143, allocations: 318.8 kB / 0.5628 GB, free: 1.945 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.988e-05/0.3144, allocations: 19.92 kB / 0.5629 GB, free: 1.926 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.904e-05/0.3145, allocations: 20.11 kB / 0.5629 GB, free: 1.906 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001431/0.3146, allocations: 44.83 kB / 0.5629 GB, free: 1.859 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.3146, allocations: 0 / 0.5629 GB, free: 1.859 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001998/0.3148, allocations: 89.78 kB / 0.563 GB, free: 1.766 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.3148, allocations: 4 kB / 0.563 GB, free: 1.762 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.3148, allocations: 0 / 0.563 GB, free: 1.762 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.3148, allocations: 0 / 0.563 GB, free: 1.762 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001244/0.315, allocations: 23.92 kB / 0.563 GB, free: 1.738 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.315, allocations: 3.938 kB / 0.563 GB, free: 1.734 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.437e-05/0.315, allocations: 7.984 kB / 0.563 GB, free: 1.727 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.315, allocations: 0 / 0.563 GB, free: 1.727 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 8.006e-05/0.3151, allocations: 113.8 kB / 0.5632 GB, free: 1.605 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.397e-05/0.3151, allocations: 7.891 kB / 0.5632 GB, free: 1.598 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002523/0.3154, allocations: 93.17 kB / 0.5633 GB, free: 1.496 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.3154, allocations: 0 / 0.5633 GB, free: 1.496 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.3154, allocations: 4 kB / 0.5633 GB, free: 1.492 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-06/0.3154, allocations: 0 / 0.5633 GB, free: 1.492 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00069/0.3161, allocations: 326.3 kB / 0.5636 GB, free: 1.121 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.3161, allocations: 4.031 kB / 0.5636 GB, free: 1.117 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.467e-05/0.3162, allocations: 16.31 kB / 0.5636 GB, free: 1.102 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.3162, allocations: 3.938 kB / 0.5636 GB, free: 1.098 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.3162, allocations: 4 kB / 0.5636 GB, free: 1.094 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.3162, allocations: 0 / 0.5636 GB, free: 1.094 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3162, allocations: 0 / 0.5636 GB, free: 1.094 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002421/0.3164, allocations: 188.2 kB / 0.5638 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.997e-06/0.3165, allocations: 7.953 kB / 0.5638 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.425e-05/0.3165, allocations: 4 kB / 0.5638 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.3166, allocations: 8.172 kB / 0.5638 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.676e-05/0.3166, allocations: 4 kB / 0.5638 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.362e-06/0.3166, allocations: 4 kB / 0.5638 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.213e-05/0.3166, allocations: 75.28 kB / 0.5639 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.3166, allocations: 0 / 0.5639 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002234/0.3169, allocations: 16.08 kB / 0.5639 GB, free: 0.7734 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.0005845/0.3174, allocations: 0.7093 MB / 0.5646 GB, free: 32 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002229/0.3177, allocations: 51.89 kB / 0.5646 GB, free: 15.98 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.259e-06/0.3177, allocations: 0 / 0.5646 GB, free: 15.98 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.733e-05/0.3178, allocations: 23.98 kB / 0.5647 GB, free: 15.96 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000207/0.318, allocations: 6.125 kB / 0.5647 GB, free: 15.95 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005402/0.3185, allocations: 167.4 kB / 0.5648 GB, free: 15.75 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003118/0.3188, allocations: 0.6807 MB / 0.5655 GB, free: 15.04 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.378e-05/0.3188, allocations: 4 kB / 0.5655 GB, free: 15.04 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.75e-05/0.3189, allocations: 19.42 kB / 0.5655 GB, free: 15.02 MB / 414.1 MB Notification: Performance of SimCode: time 3e-07/0.3189, allocations: 4 kB / 0.5655 GB, free: 15.01 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02514/0.344, allocations: 1.599 MB / 0.5671 GB, free: 13.51 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.66/11, allocations: 10.02 kB / 0.5671 GB, free: 13.51 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.929444091998448]