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.001621/0.001621, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.00191/0.00191, allocations: 212.8 kB / 24.52 MB, free: 3.914 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.457/1.457, allocations: 230.6 MB / 258.3 MB, free: 7.797 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.2144/0.2144, allocations: 44.94 MB / 359.6 MB, free: 6.094 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegStep,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegStep",fmuType="cs",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.001966/0.001966, allocations: 65.62 kB / 0.4938 GB, free: 10.6 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2956/0.2976, allocations: 65.48 MB / 0.5577 GB, free: 7.375 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001757/0.2993, allocations: 0.4887 MB / 0.5582 GB, free: 7.012 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003367/0.2996, allocations: 99.47 kB / 0.5583 GB, free: 6.941 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.809e-05/0.2997, allocations: 0 / 0.5583 GB, free: 6.941 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.152e-05/0.2997, allocations: 0 / 0.5583 GB, free: 6.941 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002148/0.2999, allocations: 21.61 kB / 0.5583 GB, free: 6.926 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.614e-05/0.2999, allocations: 5.375 kB / 0.5583 GB, free: 6.922 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.426e-05/0.3, allocations: 6.422 kB / 0.5583 GB, free: 6.918 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.759e-05/0.3, allocations: 1.094 kB / 0.5583 GB, free: 6.918 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.782e-05/0.3, allocations: 6.094 kB / 0.5583 GB, free: 6.914 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.048e-05/0.3001, allocations: 4.984 kB / 0.5583 GB, free: 6.91 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.086e-05/0.3001, allocations: 1.188 kB / 0.5583 GB, free: 6.91 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.563e-05/0.3002, allocations: 22.45 kB / 0.5584 GB, free: 6.898 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.182e-05/0.3002, allocations: 0 / 0.5584 GB, free: 6.898 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.735e-05/0.3002, allocations: 5 kB / 0.5584 GB, free: 6.895 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 8.758e-05/0.3003, allocations: 21.02 kB / 0.5584 GB, free: 6.883 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.3003, allocations: 4 kB / 0.5584 GB, free: 6.879 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3003, allocations: 0 / 0.5584 GB, free: 6.879 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.816e-06/0.3003, allocations: 4.891 kB / 0.5584 GB, free: 6.875 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.0003238/0.3006, allocations: 240.5 kB / 0.5586 GB, free: 6.613 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.3007, allocations: 9.875 kB / 0.5586 GB, free: 6.613 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.772e-05/0.3007, allocations: 0.9375 kB / 0.5586 GB, free: 6.613 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.493e-05/0.3007, allocations: 38.69 kB / 0.5587 GB, free: 6.566 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.37e-05/0.3007, allocations: 5.859 kB / 0.5587 GB, free: 6.562 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.008e-05/0.3008, allocations: 104.3 kB / 0.5588 GB, free: 6.438 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.067e-06/0.3008, allocations: 1.406 kB / 0.5588 GB, free: 6.438 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.895e-05/0.3009, allocations: 6.375 kB / 0.5588 GB, free: 6.434 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001012/0.301, allocations: 38.05 kB / 0.5588 GB, free: 6.395 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.301, allocations: 0 / 0.5588 GB, free: 6.395 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.487e-06/0.301, allocations: 4.922 kB / 0.5588 GB, free: 6.391 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.301, allocations: 7.938 kB / 0.5588 GB, free: 6.383 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.895e-05/0.301, allocations: 8.828 kB / 0.5588 GB, free: 6.379 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001498/0.3012, allocations: 124.8 kB / 0.5589 GB, free: 6.219 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001885/0.3014, allocations: 39.83 kB / 0.559 GB, free: 6.184 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.567e-05/0.3014, allocations: 8.984 kB / 0.559 GB, free: 6.176 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003297/0.3017, allocations: 52.03 kB / 0.559 GB, free: 6.125 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.396e-05/0.3017, allocations: 34.5 kB / 0.5591 GB, free: 6.082 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.3017, allocations: 0 / 0.5591 GB, free: 6.082 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.001323/0.3031, allocations: 185.4 kB / 0.5593 GB, free: 5.895 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.5e-05/0.3031, allocations: 51.41 kB / 0.5593 GB, free: 5.832 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.1e-05/0.3032, allocations: 101.8 kB / 0.5594 GB, free: 5.723 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.014e-05/0.3032, allocations: 25.7 kB / 0.5594 GB, free: 5.691 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.799e-05/0.3033, allocations: 80.14 kB / 0.5595 GB, free: 5.609 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.733e-05/0.3033, allocations: 11.91 kB / 0.5595 GB, free: 5.598 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.43e-05/0.3033, allocations: 17.72 kB / 0.5595 GB, free: 5.574 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.3035, allocations: 314.8 kB / 0.5598 GB, free: 5.258 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.958e-05/0.3035, allocations: 19.98 kB / 0.5599 GB, free: 5.238 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.468e-05/0.3036, allocations: 28.05 kB / 0.5599 GB, free: 5.211 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001498/0.3038, allocations: 40.83 kB / 0.5599 GB, free: 5.168 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.3038, allocations: 0 / 0.5599 GB, free: 5.168 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002034/0.304, allocations: 81.59 kB / 0.56 GB, free: 5.082 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.304, allocations: 4 kB / 0.56 GB, free: 5.078 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.304, allocations: 0 / 0.56 GB, free: 5.078 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.304, allocations: 0 / 0.56 GB, free: 5.078 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001285/0.3041, allocations: 19.98 kB / 0.56 GB, free: 5.059 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.3041, allocations: 0 / 0.56 GB, free: 5.059 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.079e-05/0.3042, allocations: 11.98 kB / 0.56 GB, free: 5.047 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.3042, allocations: 0 / 0.56 GB, free: 5.047 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.781e-05/0.3043, allocations: 117.7 kB / 0.5601 GB, free: 4.922 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.532e-05/0.3043, allocations: 7.891 kB / 0.5601 GB, free: 4.914 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002688/0.3046, allocations: 97.48 kB / 0.5602 GB, free: 4.809 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.3046, allocations: 4 kB / 0.5602 GB, free: 4.805 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.3046, allocations: 0 / 0.5602 GB, free: 4.805 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.3046, allocations: 0 / 0.5602 GB, free: 4.805 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007185/0.3053, allocations: 326.4 kB / 0.5606 GB, free: 4.434 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.3053, allocations: 3.938 kB / 0.5606 GB, free: 4.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.928e-05/0.3054, allocations: 11.98 kB / 0.5606 GB, free: 4.418 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.3054, allocations: 8.031 kB / 0.5606 GB, free: 4.41 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.3054, allocations: 0 / 0.5606 GB, free: 4.41 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3054, allocations: 0 / 0.5606 GB, free: 4.41 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.3055, allocations: 3.938 kB / 0.5606 GB, free: 4.406 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002502/0.3057, allocations: 180.3 kB / 0.5608 GB, free: 4.211 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.127e-06/0.3057, allocations: 7.953 kB / 0.5608 GB, free: 4.203 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.405e-05/0.3057, allocations: 0 / 0.5608 GB, free: 4.203 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001076/0.3058, allocations: 7.984 kB / 0.5608 GB, free: 4.195 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.178e-05/0.3058, allocations: 0 / 0.5608 GB, free: 4.195 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.166e-06/0.3059, allocations: 8 kB / 0.5608 GB, free: 4.188 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.01e-05/0.3059, allocations: 83.22 kB / 0.5609 GB, free: 4.105 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3059, allocations: 0 / 0.5609 GB, free: 4.105 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002338/0.3061, allocations: 11.94 kB / 0.5609 GB, free: 4.094 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.0005989/0.3067, allocations: 0.7132 MB / 0.5616 GB, free: 3.348 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002055/0.3069, allocations: 47.95 kB / 0.5616 GB, free: 3.301 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3069, allocations: 8.031 kB / 0.5616 GB, free: 3.293 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.039e-05/0.307, allocations: 20.31 kB / 0.5616 GB, free: 3.273 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002159/0.3072, allocations: 6.656 kB / 0.5616 GB, free: 3.27 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00057/0.3078, allocations: 167.4 kB / 0.5618 GB, free: 3.062 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.493e-05/0.3079, allocations: 59.36 kB / 0.5619 GB, free: 2.984 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.283e-05/0.3079, allocations: 8.062 kB / 0.5619 GB, free: 2.977 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.654e-05/0.3079, allocations: 11.52 kB / 0.5619 GB, free: 2.965 MB / 398.1 MB Notification: Performance of SimCode: time 3.6e-07/0.3079, allocations: 0 / 0.5619 GB, free: 2.965 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02/0.3279, allocations: 1.679 MB / 0.5635 GB, free: 1.426 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.13/11.46, allocations: 8.047 kB / 0.5635 GB, free: 1.418 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegStep_fmu --startTime=0 --stopTime=1.3 --stepSize=0.000259896 --timeout=50 --tolerance=1e-06 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.mat","/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.420561733073555]