Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.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.001751/0.001751, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001468/0.001468, allocations: 207.9 kB / 23.73 MB, free: 4.387 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.438/1.438, allocations: 230.6 MB / 257.5 MB, free: 7.781 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.2262/0.2262, allocations: 44.94 MB / 358.8 MB, free: 6.039 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.Fluid.TestUtilities.TestRegStep,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegStep,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegStep",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.002043/0.002043, allocations: 67.89 kB / 0.493 GB, free: 10.54 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3286/0.3306, allocations: 65.49 MB / 0.557 GB, free: 7.328 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001878/0.3325, allocations: 496 kB / 0.5574 GB, free: 6.969 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003399/0.3328, allocations: 102.2 kB / 0.5575 GB, free: 6.895 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.539e-05/0.3329, allocations: 5.594 kB / 0.5575 GB, free: 6.891 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.462e-05/0.3329, allocations: 0 / 0.5575 GB, free: 6.891 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001893/0.3331, allocations: 13.52 kB / 0.5575 GB, free: 6.883 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.94e-05/0.3331, allocations: 3.938 kB / 0.5576 GB, free: 6.879 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.52e-05/0.3331, allocations: 11.52 kB / 0.5576 GB, free: 6.871 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.15e-05/0.3332, allocations: 2 kB / 0.5576 GB, free: 6.871 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.693e-05/0.3332, allocations: 3.938 kB / 0.5576 GB, free: 6.867 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.496e-05/0.3332, allocations: 6.484 kB / 0.5576 GB, free: 6.863 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.448e-06/0.3332, allocations: 0 / 0.5576 GB, free: 6.863 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.6e-05/0.3333, allocations: 18.42 kB / 0.5576 GB, free: 6.855 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.077e-05/0.3333, allocations: 5.438 kB / 0.5576 GB, free: 6.852 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.396e-05/0.3333, allocations: 3.938 kB / 0.5576 GB, free: 6.848 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 8.212e-05/0.3334, allocations: 21.27 kB / 0.5576 GB, free: 6.836 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.3334, allocations: 3.984 kB / 0.5576 GB, free: 6.832 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.3334, allocations: 0 / 0.5576 GB, free: 6.832 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.299e-06/0.3334, allocations: 0 / 0.5576 GB, free: 6.832 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.0002807/0.3337, allocations: 241 kB / 0.5579 GB, free: 6.57 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.3337, allocations: 12.06 kB / 0.5579 GB, free: 6.559 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.505e-05/0.3338, allocations: 38.69 kB / 0.5579 GB, free: 6.512 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.768e-05/0.3338, allocations: 0.9375 kB / 0.5579 GB, free: 6.512 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.304e-05/0.3339, allocations: 118.5 kB / 0.558 GB, free: 6.371 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.218e-06/0.3339, allocations: 384 / 0.558 GB, free: 6.371 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.864e-05/0.3339, allocations: 384 / 0.558 GB, free: 6.371 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.531e-05/0.334, allocations: 34.27 kB / 0.5581 GB, free: 6.332 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.678e-05/0.334, allocations: 3.938 kB / 0.5581 GB, free: 6.328 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.851e-06/0.334, allocations: 0 / 0.5581 GB, free: 6.328 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.334, allocations: 7.984 kB / 0.5581 GB, free: 6.32 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.967e-05/0.3341, allocations: 7.938 kB / 0.5581 GB, free: 6.312 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001486/0.3342, allocations: 128.7 kB / 0.5582 GB, free: 6.145 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001691/0.3344, allocations: 38.55 kB / 0.5582 GB, free: 6.098 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.368e-05/0.3344, allocations: 12.86 kB / 0.5582 GB, free: 6.082 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002991/0.3347, allocations: 36.03 kB / 0.5583 GB, free: 6.047 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.715e-05/0.3347, allocations: 38.56 kB / 0.5583 GB, free: 6 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.3347, allocations: 0 / 0.5583 GB, free: 6 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.001214/0.336, allocations: 189.3 kB / 0.5585 GB, free: 5.809 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.564e-05/0.336, allocations: 51.41 kB / 0.5585 GB, free: 5.746 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.206e-05/0.3361, allocations: 97.84 kB / 0.5586 GB, free: 5.641 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.3361, allocations: 29.7 kB / 0.5587 GB, free: 5.605 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.359e-05/0.3361, allocations: 80.14 kB / 0.5587 GB, free: 5.523 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.378e-05/0.3361, allocations: 7.906 kB / 0.5587 GB, free: 5.516 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.055e-05/0.3362, allocations: 17.72 kB / 0.5588 GB, free: 5.492 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.3363, allocations: 322.8 kB / 0.5591 GB, free: 5.168 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.288e-05/0.3364, allocations: 20.11 kB / 0.5591 GB, free: 5.148 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.758e-05/0.3365, allocations: 19.98 kB / 0.5591 GB, free: 5.129 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001466/0.3366, allocations: 48.77 kB / 0.5592 GB, free: 5.078 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.3366, allocations: 0 / 0.5592 GB, free: 5.078 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001975/0.3368, allocations: 77.59 kB / 0.5592 GB, free: 4.996 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.3368, allocations: 8 kB / 0.5592 GB, free: 4.988 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.3368, allocations: 0 / 0.5592 GB, free: 4.988 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.3368, allocations: 4 kB / 0.5592 GB, free: 4.984 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001168/0.337, allocations: 15.98 kB / 0.5593 GB, free: 4.969 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.948e-06/0.337, allocations: 0 / 0.5593 GB, free: 4.969 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.621e-05/0.3371, allocations: 11.98 kB / 0.5593 GB, free: 4.957 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-06/0.3371, allocations: 0 / 0.5593 GB, free: 4.957 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.937e-05/0.3371, allocations: 113.8 kB / 0.5594 GB, free: 4.836 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.479e-05/0.3372, allocations: 7.891 kB / 0.5594 GB, free: 4.828 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002574/0.3374, allocations: 93.48 kB / 0.5595 GB, free: 4.727 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.3374, allocations: 0 / 0.5595 GB, free: 4.727 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.115e-06/0.3374, allocations: 4 kB / 0.5595 GB, free: 4.723 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.3374, allocations: 4 kB / 0.5595 GB, free: 4.719 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006983/0.3381, allocations: 326.6 kB / 0.5598 GB, free: 4.348 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.3381, allocations: 4 kB / 0.5598 GB, free: 4.344 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.343e-05/0.3382, allocations: 19.95 kB / 0.5598 GB, free: 4.324 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.3382, allocations: 0 / 0.5598 GB, free: 4.324 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.3382, allocations: 4.047 kB / 0.5598 GB, free: 4.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/0.3382, allocations: 0 / 0.5598 GB, free: 4.32 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.3382, allocations: 3.984 kB / 0.5598 GB, free: 4.316 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002532/0.3385, allocations: 184.2 kB / 0.56 GB, free: 4.117 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.035e-06/0.3385, allocations: 3.953 kB / 0.56 GB, free: 4.113 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.5e-05/0.3385, allocations: 4 kB / 0.56 GB, free: 4.109 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001173/0.3386, allocations: 11.98 kB / 0.56 GB, free: 4.098 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.507e-05/0.3387, allocations: 0 / 0.56 GB, free: 4.098 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.645e-06/0.3387, allocations: 4 kB / 0.56 GB, free: 4.094 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.841e-05/0.3387, allocations: 79.28 kB / 0.5601 GB, free: 4.016 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3387, allocations: 0 / 0.5601 GB, free: 4.016 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002302/0.3389, allocations: 8 kB / 0.5601 GB, free: 4.008 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.0006105/0.3395, allocations: 0.7132 MB / 0.5608 GB, free: 3.262 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002118/0.3398, allocations: 48.05 kB / 0.5608 GB, free: 3.215 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.141e-06/0.3398, allocations: 4 kB / 0.5609 GB, free: 3.211 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.947e-05/0.3398, allocations: 19.92 kB / 0.5609 GB, free: 3.191 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002128/0.3401, allocations: 11.94 kB / 0.5609 GB, free: 3.18 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005709/0.3406, allocations: 167.4 kB / 0.561 GB, free: 2.973 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.545e-05/0.3407, allocations: 55.36 kB / 0.5611 GB, free: 2.898 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.409e-05/0.3407, allocations: 8.062 kB / 0.5611 GB, free: 2.891 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.79e-05/0.3408, allocations: 15.42 kB / 0.5611 GB, free: 2.875 MB / 398.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3408, allocations: 0 / 0.5611 GB, free: 2.875 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02645/0.3672, allocations: 2.01 MB / 0.5631 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.04/11.41, allocations: 11.94 kB / 0.5631 GB, free: 0.9844 MB / 398.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_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_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegStep.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegStep/TestRegStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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: 14.358914630953223]