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.001929/0.001929, allocations: 107.4 kB / 20.48 MB, free: 1.262 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.00265/0.00265, allocations: 215.1 kB / 23.78 MB, free: 4.438 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.491/1.491, allocations: 230.5 MB / 257.5 MB, free: 7.742 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.2166/0.2166, allocations: 46.95 MB / 360.9 MB, free: 3.879 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.002322/0.002322, allocations: 83.88 kB / 0.4962 GB, free: 7.5 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2986/0.3009, allocations: 66.08 MB / 0.5608 GB, free: 3.992 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001602/0.3025, allocations: 0.4944 MB / 0.5612 GB, free: 3.504 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003288/0.3028, allocations: 103.7 kB / 0.5613 GB, free: 3.402 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.772e-05/0.3029, allocations: 0 / 0.5613 GB, free: 3.402 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.504e-05/0.3029, allocations: 3.938 kB / 0.5613 GB, free: 3.398 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002045/0.3031, allocations: 11.98 kB / 0.5614 GB, free: 3.387 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.854e-05/0.3031, allocations: 7.938 kB / 0.5614 GB, free: 3.379 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.42e-05/0.3032, allocations: 4 kB / 0.5614 GB, free: 3.375 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.637e-05/0.3032, allocations: 3.984 kB / 0.5614 GB, free: 3.371 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.806e-05/0.3032, allocations: 7.984 kB / 0.5614 GB, free: 3.363 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.168e-05/0.3033, allocations: 3.938 kB / 0.5614 GB, free: 3.359 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.038e-05/0.3033, allocations: 0 / 0.5614 GB, free: 3.359 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.112e-05/0.3034, allocations: 23.98 kB / 0.5614 GB, free: 3.336 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.266e-05/0.3034, allocations: 0 / 0.5614 GB, free: 3.336 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.545e-05/0.3034, allocations: 3.984 kB / 0.5614 GB, free: 3.332 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 8.899e-05/0.3035, allocations: 21.73 kB / 0.5614 GB, free: 3.312 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.3035, allocations: 0 / 0.5614 GB, free: 3.312 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3035, allocations: 4 kB / 0.5614 GB, free: 3.309 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.3035, allocations: 0 / 0.5614 GB, free: 3.309 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.0003088/0.3038, allocations: 250.4 kB / 0.5617 GB, free: 3.031 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.3038, allocations: 8.031 kB / 0.5617 GB, free: 3.023 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.682e-05/0.3039, allocations: 34.69 kB / 0.5617 GB, free: 2.98 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.009e-05/0.3039, allocations: 4.938 kB / 0.5617 GB, free: 2.977 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.377e-05/0.304, allocations: 106.5 kB / 0.5618 GB, free: 2.848 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.304, allocations: 384 / 0.5618 GB, free: 2.848 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.811e-05/0.304, allocations: 4.375 kB / 0.5618 GB, free: 2.844 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.801e-05/0.3041, allocations: 34.25 kB / 0.5619 GB, free: 2.805 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.3041, allocations: 7.938 kB / 0.5619 GB, free: 2.797 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.732e-06/0.3041, allocations: 0 / 0.5619 GB, free: 2.797 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.3041, allocations: 0 / 0.5619 GB, free: 2.797 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.476e-05/0.3042, allocations: 11.94 kB / 0.5619 GB, free: 2.785 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001553/0.3043, allocations: 128.7 kB / 0.562 GB, free: 2.617 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001836/0.3045, allocations: 38.55 kB / 0.562 GB, free: 2.57 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.66e-05/0.3045, allocations: 12.86 kB / 0.5621 GB, free: 2.555 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003274/0.3048, allocations: 36.05 kB / 0.5621 GB, free: 2.52 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.597e-05/0.3049, allocations: 34.56 kB / 0.5621 GB, free: 2.477 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.3049, allocations: 0 / 0.5621 GB, free: 2.477 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.001293/0.3062, allocations: 189.3 kB / 0.5623 GB, free: 2.285 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.223e-05/0.3062, allocations: 51.41 kB / 0.5623 GB, free: 2.223 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.035e-05/0.3063, allocations: 97.86 kB / 0.5624 GB, free: 2.117 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.3063, allocations: 25.7 kB / 0.5625 GB, free: 2.086 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.597e-05/0.3063, allocations: 84.14 kB / 0.5625 GB, free: 2 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.856e-05/0.3064, allocations: 11.91 kB / 0.5626 GB, free: 1.988 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.141e-05/0.3064, allocations: 21.7 kB / 0.5626 GB, free: 1.961 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.3065, allocations: 310.8 kB / 0.5629 GB, free: 1.648 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.51e-05/0.3066, allocations: 19.98 kB / 0.5629 GB, free: 1.629 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.625e-05/0.3067, allocations: 27.91 kB / 0.5629 GB, free: 1.602 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001572/0.3069, allocations: 49.16 kB / 0.563 GB, free: 1.551 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.3069, allocations: 3.938 kB / 0.563 GB, free: 1.547 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002099/0.3071, allocations: 77.59 kB / 0.563 GB, free: 1.465 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.3071, allocations: 4 kB / 0.5631 GB, free: 1.461 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.3071, allocations: 0 / 0.5631 GB, free: 1.461 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.3071, allocations: 4 kB / 0.5631 GB, free: 1.457 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001263/0.3072, allocations: 11.98 kB / 0.5631 GB, free: 1.445 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.3072, allocations: 0 / 0.5631 GB, free: 1.445 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.025e-05/0.3073, allocations: 11.98 kB / 0.5631 GB, free: 1.434 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.195e-05/0.3073, allocations: 4 kB / 0.5631 GB, free: 1.43 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.186e-05/0.3074, allocations: 113.8 kB / 0.5632 GB, free: 1.309 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.455e-05/0.3074, allocations: 7.891 kB / 0.5632 GB, free: 1.301 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000269/0.3077, allocations: 93.23 kB / 0.5633 GB, free: 1.199 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.3077, allocations: 288 / 0.5633 GB, free: 1.199 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.3077, allocations: 4 kB / 0.5633 GB, free: 1.195 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.3077, allocations: 0 / 0.5633 GB, free: 1.195 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007151/0.3084, allocations: 326.3 kB / 0.5636 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.3084, allocations: 0 / 0.5636 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001047/0.3085, allocations: 19.98 kB / 0.5636 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.3085, allocations: 0 / 0.5636 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.3085, allocations: 0 / 0.5636 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.3085, allocations: 0 / 0.5636 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.3085, allocations: 11.97 kB / 0.5636 GB, free: 0.793 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002521/0.3088, allocations: 180.4 kB / 0.5638 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.977e-06/0.3088, allocations: 7.953 kB / 0.5638 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.228e-05/0.3088, allocations: 3.938 kB / 0.5638 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001069/0.3089, allocations: 7.984 kB / 0.5638 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.618e-05/0.3089, allocations: 7.984 kB / 0.5638 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.22e-06/0.3089, allocations: 0 / 0.5638 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.967e-05/0.309, allocations: 75.28 kB / 0.5639 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.309, allocations: 4.094 kB / 0.5639 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002301/0.3092, allocations: 12 kB / 0.5639 GB, free: 492 kB / 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.0006243/0.3098, allocations: 0.7093 MB / 0.5646 GB, free: 15.74 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002211/0.3101, allocations: 43.95 kB / 0.5647 GB, free: 15.7 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.3101, allocations: 3.938 kB / 0.5647 GB, free: 15.69 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.671e-05/0.3101, allocations: 31.98 kB / 0.5647 GB, free: 15.66 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002056/0.3104, allocations: 0 / 0.5647 GB, free: 15.66 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005512/0.3109, allocations: 171.4 kB / 0.5648 GB, free: 15.45 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.497e-05/0.311, allocations: 63.34 kB / 0.5649 GB, free: 15.37 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.921e-05/0.311, allocations: 4 kB / 0.5649 GB, free: 15.36 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.794e-05/0.311, allocations: 12.5 kB / 0.5649 GB, free: 15.35 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.311, allocations: 0 / 0.5649 GB, free: 15.35 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02772/0.3388, allocations: 2.101 MB / 0.567 GB, free: 13.34 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.72/11.05, allocations: 7.969 kB / 0.567 GB, free: 13.34 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: 14.049218974018004]