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.001606/0.001606, allocations: 109.2 kB / 20.43 MB, free: 1.473 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.002007/0.002007, allocations: 213.7 kB / 23.74 MB, free: 4.688 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.446/1.446, allocations: 230.6 MB / 257.5 MB, free: 8.027 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.2128/0.2128, allocations: 44.9 MB / 358.8 MB, free: 6.297 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.002019/0.002019, allocations: 63.91 kB / 0.4931 GB, free: 10.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2977/0.2997, allocations: 65.48 MB / 0.557 GB, free: 7.516 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001717/0.3014, allocations: 498.8 kB / 0.5575 GB, free: 7.152 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003497/0.3018, allocations: 110.2 kB / 0.5576 GB, free: 7.07 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.137e-05/0.3018, allocations: 5.125 kB / 0.5576 GB, free: 7.066 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.417e-05/0.3018, allocations: 0 / 0.5576 GB, free: 7.066 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002277/0.302, allocations: 15.77 kB / 0.5576 GB, free: 7.055 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.79e-05/0.302, allocations: 6.156 kB / 0.5576 GB, free: 7.051 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.75e-05/0.3021, allocations: 2.156 kB / 0.5576 GB, free: 7.051 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.239e-05/0.3021, allocations: 5.672 kB / 0.5576 GB, free: 7.047 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.434e-05/0.3022, allocations: 5.312 kB / 0.5576 GB, free: 7.043 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.678e-05/0.3022, allocations: 6.5 kB / 0.5576 GB, free: 7.039 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.302e-05/0.3022, allocations: 3.984 kB / 0.5576 GB, free: 7.035 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.974e-05/0.3023, allocations: 18.33 kB / 0.5577 GB, free: 7.027 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.758e-06/0.3023, allocations: 0 / 0.5577 GB, free: 7.027 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.939e-05/0.3023, allocations: 9 kB / 0.5577 GB, free: 7.02 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 8.422e-05/0.3024, allocations: 20.67 kB / 0.5577 GB, free: 7.008 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3024, allocations: 1.219 kB / 0.5577 GB, free: 7.008 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.3024, allocations: 4 kB / 0.5577 GB, free: 7.004 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.08e-06/0.3024, allocations: 0 / 0.5577 GB, free: 7.004 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.0003207/0.3028, allocations: 244.1 kB / 0.5579 GB, free: 6.738 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.3028, allocations: 13.64 kB / 0.5579 GB, free: 6.734 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.026e-05/0.3028, allocations: 32.16 kB / 0.558 GB, free: 6.695 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.248e-05/0.3029, allocations: 0.9375 kB / 0.558 GB, free: 6.695 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001041/0.303, allocations: 109 kB / 0.5581 GB, free: 6.566 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/0.303, allocations: 384 / 0.5581 GB, free: 6.566 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.659e-05/0.303, allocations: 2.594 kB / 0.5581 GB, free: 6.566 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.372e-05/0.3031, allocations: 41.5 kB / 0.5581 GB, free: 6.523 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.3031, allocations: 5.062 kB / 0.5581 GB, free: 6.52 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.963e-06/0.3031, allocations: 0 / 0.5581 GB, free: 6.52 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.3031, allocations: 5.062 kB / 0.5581 GB, free: 6.516 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.289e-05/0.3031, allocations: 7.938 kB / 0.5581 GB, free: 6.512 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001579/0.3033, allocations: 127.8 kB / 0.5583 GB, free: 6.348 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001754/0.3035, allocations: 35.73 kB / 0.5583 GB, free: 6.316 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.649e-05/0.3035, allocations: 13.14 kB / 0.5583 GB, free: 6.305 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003298/0.3038, allocations: 37.53 kB / 0.5583 GB, free: 6.289 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.68e-05/0.3039, allocations: 43.48 kB / 0.5584 GB, free: 6.238 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 2.986e-06/0.3039, allocations: 3.984 kB / 0.5584 GB, free: 6.234 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.001277/0.3051, allocations: 186.4 kB / 0.5586 GB, free: 6.062 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.373e-05/0.3052, allocations: 51.41 kB / 0.5586 GB, free: 6 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.576e-05/0.3053, allocations: 97.86 kB / 0.5587 GB, free: 5.895 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.35e-05/0.3053, allocations: 25.7 kB / 0.5587 GB, free: 5.863 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.796e-05/0.3053, allocations: 88.2 kB / 0.5588 GB, free: 5.773 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.567e-05/0.3054, allocations: 7.906 kB / 0.5588 GB, free: 5.766 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.353e-05/0.3054, allocations: 21.7 kB / 0.5588 GB, free: 5.738 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001321/0.3055, allocations: 318.8 kB / 0.5591 GB, free: 5.418 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.132e-05/0.3056, allocations: 15.92 kB / 0.5592 GB, free: 5.402 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.769e-05/0.3057, allocations: 23.97 kB / 0.5592 GB, free: 5.379 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000148/0.3058, allocations: 48.83 kB / 0.5592 GB, free: 5.328 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.3058, allocations: 0 / 0.5592 GB, free: 5.328 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001893/0.306, allocations: 73.61 kB / 0.5593 GB, free: 5.25 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.306, allocations: 8 kB / 0.5593 GB, free: 5.242 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.306, allocations: 0 / 0.5593 GB, free: 5.242 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.3061, allocations: 0 / 0.5593 GB, free: 5.242 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001285/0.3062, allocations: 23.92 kB / 0.5593 GB, free: 5.219 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.3062, allocations: 0 / 0.5593 GB, free: 5.219 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.559e-05/0.3063, allocations: 7.984 kB / 0.5593 GB, free: 5.211 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-06/0.3063, allocations: 4 kB / 0.5593 GB, free: 5.207 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.12e-05/0.3064, allocations: 109.8 kB / 0.5594 GB, free: 5.09 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.55e-05/0.3064, allocations: 11.89 kB / 0.5595 GB, free: 5.078 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002563/0.3066, allocations: 93.42 kB / 0.5595 GB, free: 4.977 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.3066, allocations: 0 / 0.5595 GB, free: 4.977 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.3066, allocations: 4 kB / 0.5596 GB, free: 4.973 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.3066, allocations: 4 kB / 0.5596 GB, free: 4.969 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007334/0.3074, allocations: 326.3 kB / 0.5599 GB, free: 4.598 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.3074, allocations: 3.938 kB / 0.5599 GB, free: 4.594 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001004/0.3075, allocations: 19.92 kB / 0.5599 GB, free: 4.574 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.3075, allocations: 0 / 0.5599 GB, free: 4.574 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.714e-06/0.3075, allocations: 4.031 kB / 0.5599 GB, free: 4.57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.3075, allocations: 4 kB / 0.5599 GB, free: 4.566 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3075, allocations: 0 / 0.5599 GB, free: 4.566 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000267/0.3078, allocations: 176.3 kB / 0.5601 GB, free: 4.375 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.568e-06/0.3078, allocations: 7.953 kB / 0.5601 GB, free: 4.367 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.264e-05/0.3078, allocations: 0 / 0.5601 GB, free: 4.367 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001064/0.3079, allocations: 11.98 kB / 0.5601 GB, free: 4.355 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.508e-05/0.3079, allocations: 4 kB / 0.5601 GB, free: 4.352 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-06/0.3079, allocations: 4 kB / 0.5601 GB, free: 4.348 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.987e-05/0.308, allocations: 79.22 kB / 0.5602 GB, free: 4.27 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.308, allocations: 0 / 0.5602 GB, free: 4.27 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002301/0.3082, allocations: 11.98 kB / 0.5602 GB, free: 4.258 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.0006305/0.3088, allocations: 0.7056 MB / 0.5609 GB, free: 3.52 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001996/0.309, allocations: 51.89 kB / 0.5609 GB, free: 3.469 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.309, allocations: 0 / 0.5609 GB, free: 3.469 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.988e-05/0.3091, allocations: 27.98 kB / 0.5609 GB, free: 3.441 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002141/0.3093, allocations: 4 kB / 0.5609 GB, free: 3.438 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005487/0.3099, allocations: 171.2 kB / 0.5611 GB, free: 3.227 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002963/0.3102, allocations: 0.6768 MB / 0.5618 GB, free: 2.523 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.17e-05/0.3102, allocations: 8.359 kB / 0.5618 GB, free: 2.516 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.46e-05/0.3102, allocations: 11.44 kB / 0.5618 GB, free: 2.504 MB / 398.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3102, allocations: 0 / 0.5618 GB, free: 2.504 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02695/0.3372, allocations: 1.598 MB / 0.5634 GB, free: 1.035 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.36, allocations: 7.875 kB / 0.5634 GB, free: 1.027 MB / 398.1 MB " [Timeout remaining time 649] (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.187344792066142]