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.001682/0.001682, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.002073/0.002073, allocations: 217.2 kB / 23.75 MB, free: 4.668 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.45/1.45, allocations: 230.6 MB / 257.5 MB, free: 8.008 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.2198/0.2198, allocations: 44.91 MB / 358.8 MB, free: 6.301 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.002025/0.002025, allocations: 67.89 kB / 0.4931 GB, free: 10.76 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3033/0.3054, allocations: 65.47 MB / 0.557 GB, free: 7.547 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001631/0.307, allocations: 0.5006 MB / 0.5575 GB, free: 7.172 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003092/0.3073, allocations: 99.67 kB / 0.5576 GB, free: 7.102 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.707e-05/0.3073, allocations: 4 kB / 0.5576 GB, free: 7.098 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.481e-05/0.3073, allocations: 0 / 0.5576 GB, free: 7.098 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001964/0.3075, allocations: 16.02 kB / 0.5576 GB, free: 7.086 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.008e-05/0.3076, allocations: 5.391 kB / 0.5576 GB, free: 7.082 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.582e-05/0.3076, allocations: 11.08 kB / 0.5576 GB, free: 7.074 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.995e-05/0.3077, allocations: 1.156 kB / 0.5576 GB, free: 7.074 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.833e-05/0.3077, allocations: 10.03 kB / 0.5576 GB, free: 7.066 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.081e-05/0.3077, allocations: 5 kB / 0.5576 GB, free: 7.062 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.058e-05/0.3077, allocations: 1.219 kB / 0.5576 GB, free: 7.062 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.66e-05/0.3078, allocations: 17.64 kB / 0.5577 GB, free: 7.055 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.326e-06/0.3078, allocations: 5.25 kB / 0.5577 GB, free: 7.051 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.785e-05/0.3078, allocations: 8.953 kB / 0.5577 GB, free: 7.043 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 8.165e-05/0.3079, allocations: 20.48 kB / 0.5577 GB, free: 7.031 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.3079, allocations: 0 / 0.5577 GB, free: 7.031 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.3079, allocations: 0.9375 kB / 0.5577 GB, free: 7.031 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.3079, allocations: 0 / 0.5577 GB, free: 7.031 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.0003325/0.3082, allocations: 248.5 kB / 0.5579 GB, free: 6.762 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.3083, allocations: 9.938 kB / 0.5579 GB, free: 6.762 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.455e-05/0.3083, allocations: 30.75 kB / 0.558 GB, free: 6.723 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.256e-05/0.3083, allocations: 1.75 kB / 0.558 GB, free: 6.723 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001143/0.3085, allocations: 108.3 kB / 0.5581 GB, free: 6.594 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.3085, allocations: 5.25 kB / 0.5581 GB, free: 6.59 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.232e-05/0.3085, allocations: 1.406 kB / 0.5581 GB, free: 6.59 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001002/0.3086, allocations: 38.28 kB / 0.5581 GB, free: 6.551 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.3086, allocations: 4.75 kB / 0.5581 GB, free: 6.547 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.889e-06/0.3086, allocations: 4 kB / 0.5581 GB, free: 6.543 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.004e-06/0.3086, allocations: 5.141 kB / 0.5581 GB, free: 6.539 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.15e-05/0.3087, allocations: 4 kB / 0.5581 GB, free: 6.539 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001794/0.3088, allocations: 132.7 kB / 0.5583 GB, free: 6.371 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002174/0.309, allocations: 39.27 kB / 0.5583 GB, free: 6.336 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.403e-05/0.3091, allocations: 9.297 kB / 0.5583 GB, free: 6.328 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003322/0.3094, allocations: 37.94 kB / 0.5583 GB, free: 6.309 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.057e-05/0.3094, allocations: 46.5 kB / 0.5584 GB, free: 6.254 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.3094, allocations: 0 / 0.5584 GB, free: 6.254 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.001266/0.3107, allocations: 181.3 kB / 0.5586 GB, free: 6.07 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.036e-05/0.3108, allocations: 55.41 kB / 0.5586 GB, free: 6.004 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.699e-05/0.3108, allocations: 97.86 kB / 0.5587 GB, free: 5.898 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.913e-05/0.3108, allocations: 25.7 kB / 0.5587 GB, free: 5.867 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.974e-05/0.3109, allocations: 80.14 kB / 0.5588 GB, free: 5.785 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.918e-05/0.3109, allocations: 19.89 kB / 0.5588 GB, free: 5.766 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.712e-05/0.311, allocations: 13.72 kB / 0.5588 GB, free: 5.746 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.3111, allocations: 314.8 kB / 0.5591 GB, free: 5.43 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.977e-05/0.3112, allocations: 15.98 kB / 0.5592 GB, free: 5.414 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.038e-05/0.3113, allocations: 28.09 kB / 0.5592 GB, free: 5.387 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001428/0.3114, allocations: 40.83 kB / 0.5592 GB, free: 5.344 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.92e-07/0.3114, allocations: 0 / 0.5592 GB, free: 5.344 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002022/0.3116, allocations: 85.55 kB / 0.5593 GB, free: 5.254 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.3116, allocations: 4 kB / 0.5593 GB, free: 5.25 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.3116, allocations: 3.938 kB / 0.5593 GB, free: 5.246 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.3116, allocations: 3.984 kB / 0.5593 GB, free: 5.242 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001239/0.3118, allocations: 19.98 kB / 0.5593 GB, free: 5.223 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.3118, allocations: 0 / 0.5593 GB, free: 5.223 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.53e-05/0.3119, allocations: 4 kB / 0.5593 GB, free: 5.219 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.592e-06/0.3119, allocations: 0 / 0.5593 GB, free: 5.219 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 9.423e-05/0.312, allocations: 117.8 kB / 0.5594 GB, free: 5.094 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.449e-05/0.312, allocations: 7.891 kB / 0.5595 GB, free: 5.086 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002645/0.3122, allocations: 97.38 kB / 0.5595 GB, free: 4.98 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.3122, allocations: 4 kB / 0.5596 GB, free: 4.977 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.3122, allocations: 0 / 0.5596 GB, free: 4.977 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.3122, allocations: 3.984 kB / 0.5596 GB, free: 4.973 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007449/0.313, allocations: 330.3 kB / 0.5599 GB, free: 4.598 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.313, allocations: 4 kB / 0.5599 GB, free: 4.594 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.864e-05/0.3131, allocations: 11.98 kB / 0.5599 GB, free: 4.582 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.3131, allocations: 0 / 0.5599 GB, free: 4.582 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.734e-06/0.3131, allocations: 4 kB / 0.5599 GB, free: 4.578 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.3131, allocations: 0 / 0.5599 GB, free: 4.578 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.3131, allocations: 0 / 0.5599 GB, free: 4.578 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002581/0.3134, allocations: 192.2 kB / 0.5601 GB, free: 4.371 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.638e-06/0.3134, allocations: 3.953 kB / 0.5601 GB, free: 4.367 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.312e-05/0.3134, allocations: 0 / 0.5601 GB, free: 4.367 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.3135, allocations: 11.98 kB / 0.5601 GB, free: 4.355 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.76e-05/0.3135, allocations: 4 kB / 0.5601 GB, free: 4.352 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.053e-06/0.3135, allocations: 3.984 kB / 0.5601 GB, free: 4.348 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.47e-05/0.3136, allocations: 75.28 kB / 0.5602 GB, free: 4.273 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3136, allocations: 8.094 kB / 0.5602 GB, free: 4.266 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002301/0.3138, allocations: 4 kB / 0.5602 GB, free: 4.262 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.0005952/0.3144, allocations: 0.7096 MB / 0.5609 GB, free: 3.52 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002074/0.3146, allocations: 51.95 kB / 0.5609 GB, free: 3.469 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.3146, allocations: 0 / 0.5609 GB, free: 3.469 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.138e-05/0.3147, allocations: 23.92 kB / 0.5609 GB, free: 3.445 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00021/0.3149, allocations: 8.031 kB / 0.561 GB, free: 3.438 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005613/0.3155, allocations: 171.4 kB / 0.5611 GB, free: 3.227 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003152/0.3158, allocations: 0.6807 MB / 0.5618 GB, free: 2.52 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 3.917e-05/0.3158, allocations: 4 kB / 0.5618 GB, free: 2.516 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.18e-05/0.3158, allocations: 7.438 kB / 0.5618 GB, free: 2.508 MB / 398.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3158, allocations: 4 kB / 0.5618 GB, free: 2.504 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02509/0.3409, allocations: 1.603 MB / 0.5634 GB, free: 1.031 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.48, allocations: 8 kB / 0.5634 GB, free: 1.023 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.410747792993789]