Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001744/0.001744, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002115/0.002115, allocations: 214.3 kB / 23.73 MB, free: 4.16 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.445/1.445, allocations: 230.6 MB / 257.5 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2396/0.2396, allocations: 46.96 MB / 360.9 MB, free: 4.027 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_1_0_ModelicaTest_Fluid_TestUtilities_TestRegStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegStep,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestUtilities_TestRegStep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002037/0.002037, allocations: 71.89 kB / 0.4961 GB, free: 7.723 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3028/0.3049, allocations: 66.03 MB / 0.5606 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001541/0.3064, allocations: 0.5018 MB / 0.5611 GB, free: 3.707 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003302/0.3067, allocations: 99.72 kB / 0.5612 GB, free: 3.609 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.583e-05/0.3067, allocations: 0 / 0.5612 GB, free: 3.609 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.137e-05/0.3068, allocations: 0 / 0.5612 GB, free: 3.609 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002057/0.307, allocations: 19.92 kB / 0.5612 GB, free: 3.59 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.58e-05/0.307, allocations: 0 / 0.5612 GB, free: 3.59 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.487e-05/0.307, allocations: 7.984 kB / 0.5612 GB, free: 3.582 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.308e-05/0.3071, allocations: 3.984 kB / 0.5612 GB, free: 3.578 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.867e-05/0.3071, allocations: 7.938 kB / 0.5612 GB, free: 3.57 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.317e-05/0.3071, allocations: 7.938 kB / 0.5612 GB, free: 3.562 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.418e-06/0.3071, allocations: 0 / 0.5612 GB, free: 3.562 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.896e-05/0.3072, allocations: 19.98 kB / 0.5612 GB, free: 3.543 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.44e-05/0.3072, allocations: 7.984 kB / 0.5612 GB, free: 3.535 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.297e-05/0.3072, allocations: 0 / 0.5612 GB, free: 3.535 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 8.741e-05/0.3073, allocations: 25.73 kB / 0.5613 GB, free: 3.512 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.3073, allocations: 0 / 0.5613 GB, free: 3.512 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3073, allocations: 0 / 0.5613 GB, free: 3.512 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.3073, allocations: 0 / 0.5613 GB, free: 3.512 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.0002975/0.3076, allocations: 242.4 kB / 0.5615 GB, free: 3.242 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.3077, allocations: 12.03 kB / 0.5615 GB, free: 3.23 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.596e-05/0.3077, allocations: 34.75 kB / 0.5615 GB, free: 3.188 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.036e-05/0.3077, allocations: 0.9375 kB / 0.5615 GB, free: 3.188 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001047/0.3078, allocations: 110.5 kB / 0.5616 GB, free: 3.055 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.217e-06/0.3079, allocations: 384 / 0.5616 GB, free: 3.055 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.587e-05/0.3079, allocations: 384 / 0.5616 GB, free: 3.055 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.338e-05/0.308, allocations: 42.19 kB / 0.5617 GB, free: 3.008 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.308, allocations: 3.938 kB / 0.5617 GB, free: 3.004 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.462e-06/0.308, allocations: 0 / 0.5617 GB, free: 3.004 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.537e-06/0.308, allocations: 4 kB / 0.5617 GB, free: 3 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.231e-05/0.308, allocations: 4 kB / 0.5617 GB, free: 2.996 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001503/0.3082, allocations: 128.7 kB / 0.5618 GB, free: 2.828 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001728/0.3083, allocations: 38.55 kB / 0.5618 GB, free: 2.781 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.744e-05/0.3084, allocations: 12.86 kB / 0.5619 GB, free: 2.766 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003006/0.3087, allocations: 32.05 kB / 0.5619 GB, free: 2.734 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.217e-05/0.3087, allocations: 46.48 kB / 0.5619 GB, free: 2.68 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.262e-06/0.3087, allocations: 0 / 0.5619 GB, free: 2.68 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.001259/0.31, allocations: 193.6 kB / 0.5621 GB, free: 2.484 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.231e-05/0.31, allocations: 51.41 kB / 0.5622 GB, free: 2.422 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.169e-05/0.3101, allocations: 89.86 kB / 0.5623 GB, free: 2.324 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.789e-05/0.3101, allocations: 33.7 kB / 0.5623 GB, free: 2.285 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.625e-05/0.3101, allocations: 80.14 kB / 0.5624 GB, free: 2.203 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.6e-05/0.3102, allocations: 7.906 kB / 0.5624 GB, free: 2.195 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.062e-05/0.3102, allocations: 25.64 kB / 0.5624 GB, free: 2.164 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.3103, allocations: 315 kB / 0.5627 GB, free: 1.848 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.954e-05/0.3104, allocations: 19.98 kB / 0.5627 GB, free: 1.828 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.106e-05/0.3105, allocations: 23.97 kB / 0.5627 GB, free: 1.805 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001512/0.3106, allocations: 44.83 kB / 0.5628 GB, free: 1.758 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.3106, allocations: 0 / 0.5628 GB, free: 1.758 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001983/0.3108, allocations: 81.55 kB / 0.5629 GB, free: 1.672 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.3109, allocations: 4 kB / 0.5629 GB, free: 1.668 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.3109, allocations: 4.25 kB / 0.5629 GB, free: 1.664 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.3109, allocations: 0 / 0.5629 GB, free: 1.664 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001248/0.311, allocations: 19.98 kB / 0.5629 GB, free: 1.645 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.311, allocations: 3.984 kB / 0.5629 GB, free: 1.641 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.142e-05/0.3111, allocations: 4 kB / 0.5629 GB, free: 1.637 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.408e-06/0.3111, allocations: 4 kB / 0.5629 GB, free: 1.633 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.826e-05/0.3112, allocations: 109.8 kB / 0.563 GB, free: 1.516 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.642e-05/0.3112, allocations: 11.88 kB / 0.563 GB, free: 1.504 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00026/0.3115, allocations: 93.12 kB / 0.5631 GB, free: 1.402 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.3115, allocations: 4 kB / 0.5631 GB, free: 1.398 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.3115, allocations: 0 / 0.5631 GB, free: 1.398 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.3115, allocations: 0 / 0.5631 GB, free: 1.398 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006914/0.3122, allocations: 322.4 kB / 0.5634 GB, free: 1.031 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.3122, allocations: 8.031 kB / 0.5634 GB, free: 1.023 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.295e-05/0.3123, allocations: 11.98 kB / 0.5634 GB, free: 1.012 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.3123, allocations: 0 / 0.5634 GB, free: 1.012 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.3123, allocations: 4 kB / 0.5634 GB, free: 1.008 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.3123, allocations: 0 / 0.5634 GB, free: 1.008 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3123, allocations: 0 / 0.5634 GB, free: 1.008 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002498/0.3125, allocations: 180.3 kB / 0.5636 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.364e-06/0.3125, allocations: 7.891 kB / 0.5636 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.632e-05/0.3126, allocations: 7.984 kB / 0.5636 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.778e-05/0.3127, allocations: 8 kB / 0.5636 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.313e-05/0.3127, allocations: 7.922 kB / 0.5636 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.663e-06/0.3127, allocations: 4 kB / 0.5636 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.671e-05/0.3127, allocations: 75.28 kB / 0.5637 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3127, allocations: 0 / 0.5637 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002285/0.3129, allocations: 15.94 kB / 0.5637 GB, free: 0.6875 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.0005878/0.3135, allocations: 0.7134 MB / 0.5644 GB, free: 15.94 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002093/0.3137, allocations: 55.98 kB / 0.5645 GB, free: 15.89 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.3137, allocations: 0 / 0.5645 GB, free: 15.89 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.851e-05/0.3138, allocations: 19.92 kB / 0.5645 GB, free: 15.87 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002125/0.314, allocations: 11.98 kB / 0.5645 GB, free: 15.86 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005748/0.3146, allocations: 163.4 kB / 0.5647 GB, free: 15.65 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.657e-05/0.3147, allocations: 59.34 kB / 0.5647 GB, free: 15.57 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.313e-05/0.3147, allocations: 8.062 kB / 0.5647 GB, free: 15.57 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.4e-05/0.3147, allocations: 11.44 kB / 0.5647 GB, free: 15.55 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3147, allocations: 0 / 0.5647 GB, free: 15.55 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02776/0.3425, allocations: 2.014 MB / 0.5667 GB, free: 13.68 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.65/10.99, allocations: 4.062 kB / 0.5667 GB, free: 13.67 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Fluid_TestUtilities_TestRegStep_fmu --startTime=0 --stopTime=1.3 --stepSize=0.000259896 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Fluid_TestUtilities_TestRegStep.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat","/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_4.1.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: 13.883637045044452]