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.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001299/0.001299, allocations: 102 kB / 21.22 MB, free: 0.6562 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001355/0.001355, allocations: 183.9 kB / 24.51 MB, free: 4.016 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.42/1.42, allocations: 225.6 MB / 253.3 MB, free: 13.06 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.2244/0.2244, allocations: 44.91 MB / 353.5 MB, free: 11.82 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo)
Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo)
Running command: translateModel(ModelicaTest.Fluid.TestUtilities.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep")
translateModel(ModelicaTest.Fluid.TestUtilities.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002109/0.002109, allocations: 67.89 kB / 497.7 MB, free: 1.012 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3176/0.3197, allocations: 64.29 MB / 0.5488 GB, free: 13.13 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001579/0.3213, allocations: 0.5069 MB / 0.5493 GB, free: 12.75 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.0003376/0.3216, allocations: 109.9 kB / 0.5494 GB, free: 12.67 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 2.707e-05/0.3216, allocations: 1.312 kB / 0.5494 GB, free: 12.67 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 1.5e-05/0.3216, allocations: 0 / 0.5494 GB, free: 12.67 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0001888/0.3218, allocations: 16.8 kB / 0.5494 GB, free: 12.66 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 1.665e-05/0.3218, allocations: 1.375 kB / 0.5494 GB, free: 12.66 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 4.264e-05/0.3219, allocations: 10.36 kB / 0.5494 GB, free: 12.65 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 4.156e-05/0.3219, allocations: 1.281 kB / 0.5494 GB, free: 12.65 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 1.499e-05/0.3219, allocations: 1.188 kB / 0.5494 GB, free: 12.65 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 4.306e-05/0.322, allocations: 10.53 kB / 0.5494 GB, free: 12.64 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 1.007e-05/0.322, allocations: 0 / 0.5494 GB, free: 12.64 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 8.237e-05/0.3221, allocations: 22.16 kB / 0.5495 GB, free: 12.63 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 1.293e-05/0.3221, allocations: 5.047 kB / 0.5495 GB, free: 12.63 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 1.487e-05/0.3221, allocations: 5.031 kB / 0.5495 GB, free: 12.62 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 8.289e-05/0.3222, allocations: 21.86 kB / 0.5495 GB, free: 12.61 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.3222, allocations: 0 / 0.5495 GB, free: 12.61 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.112e-06/0.3222, allocations: 5.094 kB / 0.5495 GB, free: 12.61 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 9.588e-06/0.3222, allocations: 0 / 0.5495 GB, free: 12.61 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.0003016/0.3225, allocations: 242.6 kB / 0.5497 GB, free: 12.35 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/0.3225, allocations: 10.73 kB / 0.5497 GB, free: 12.35 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 2.683e-05/0.3226, allocations: 5.969 kB / 0.5497 GB, free: 12.34 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001023/0.3227, allocations: 104.8 kB / 0.5498 GB, free: 12.22 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.3227, allocations: 384 / 0.5498 GB, free: 12.22 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.396e-05/0.3227, allocations: 1.5 kB / 0.5498 GB, free: 12.22 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001034/0.3228, allocations: 38.5 kB / 0.5499 GB, free: 12.18 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.3228, allocations: 9.203 kB / 0.5499 GB, free: 12.17 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.3228, allocations: 3.938 kB / 0.5499 GB, free: 12.17 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.764e-06/0.3228, allocations: 1.125 kB / 0.5499 GB, free: 12.17 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 3.335e-05/0.3229, allocations: 8.219 kB / 0.5499 GB, free: 12.16 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000155/0.323, allocations: 124.1 kB / 0.55 GB, free: 12 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001815/0.3232, allocations: 35.55 kB / 0.5501 GB, free: 11.97 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 2.938e-05/0.3232, allocations: 13.06 kB / 0.5501 GB, free: 11.96 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.0003392/0.3236, allocations: 45.62 kB / 0.5501 GB, free: 11.94 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.893e-05/0.3236, allocations: 31.66 kB / 0.5501 GB, free: 11.9 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=3): time 1.362e-06/0.3236, allocations: 0 / 0.5501 GB, free: 11.9 MB / 398.1 MB
Notification: Performance of matching and sorting (n=5): time 0.001344/0.325, allocations: 192.8 kB / 0.5503 GB, free: 11.79 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.872e-05/0.325, allocations: 51.41 kB / 0.5504 GB, free: 11.72 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.347e-05/0.3251, allocations: 91.42 kB / 0.5505 GB, free: 11.62 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.455e-05/0.3251, allocations: 30.8 kB / 0.5505 GB, free: 11.59 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 3.513e-05/0.3251, allocations: 80.14 kB / 0.5506 GB, free: 11.51 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 3.134e-05/0.3252, allocations: 18.62 kB / 0.5506 GB, free: 11.49 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.098e-05/0.3252, allocations: 22.06 kB / 0.5506 GB, free: 11.47 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001308/0.3253, allocations: 320 kB / 0.5509 GB, free: 11.15 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 9.324e-05/0.3254, allocations: 22 kB / 0.5509 GB, free: 11.14 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 7.63e-05/0.3255, allocations: 20.17 kB / 0.551 GB, free: 11.13 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001567/0.3257, allocations: 44.14 kB / 0.551 GB, free: 11.11 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.3257, allocations: 0 / 0.551 GB, free: 11.11 MB / 398.1 MB
Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002085/0.3259, allocations: 74.39 kB / 0.5511 GB, free: 11.05 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.3259, allocations: 9.406 kB / 0.5511 GB, free: 11.05 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.3259, allocations: 5.203 kB / 0.5511 GB, free: 11.05 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.3259, allocations: 4 kB / 0.5511 GB, free: 11.04 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001338/0.326, allocations: 18.92 kB / 0.5511 GB, free: 11.04 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.3261, allocations: 0 / 0.5511 GB, free: 11.04 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.074e-05/0.3261, allocations: 8.281 kB / 0.5511 GB, free: 11.03 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.805e-06/0.3262, allocations: 1.219 kB / 0.5511 GB, free: 11.03 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.639e-05/0.3262, allocations: 118.8 kB / 0.5512 GB, free: 10.91 MB / 398.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.397e-05/0.3263, allocations: 5.531 kB / 0.5512 GB, free: 10.9 MB / 398.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000271/0.3265, allocations: 82.06 kB / 0.5513 GB, free: 10.84 MB / 398.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.3265, allocations: 1.531 kB / 0.5513 GB, free: 10.84 MB / 398.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.3265, allocations: 0 / 0.5513 GB, free: 10.84 MB / 398.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.3265, allocations: 9.453 kB / 0.5513 GB, free: 10.83 MB / 398.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007534/0.3273, allocations: 327.8 kB / 0.5516 GB, free: 10.51 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.624e-06/0.3273, allocations: 5.312 kB / 0.5516 GB, free: 10.5 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001086/0.3274, allocations: 17.92 kB / 0.5517 GB, free: 10.5 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.3274, allocations: 1.625 kB / 0.5517 GB, free: 10.5 MB / 398.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.3274, allocations: 0 / 0.5517 GB, free: 10.5 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.3274, allocations: 5.5 kB / 0.5517 GB, free: 10.49 MB / 398.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3274, allocations: 0 / 0.5517 GB, free: 10.49 MB / 398.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002659/0.3277, allocations: 178 kB / 0.5518 GB, free: 10.33 MB / 398.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 5.911e-06/0.3277, allocations: 3.438 kB / 0.5518 GB, free: 10.33 MB / 398.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.436e-05/0.3277, allocations: 0 / 0.5518 GB, free: 10.33 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001126/0.3278, allocations: 12.3 kB / 0.5518 GB, free: 10.32 MB / 398.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.232e-05/0.3278, allocations: 1.312 kB / 0.5518 GB, free: 10.32 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.617e-06/0.3278, allocations: 5.766 kB / 0.5519 GB, free: 10.32 MB / 398.1 MB
Notification: Performance of sorting global known variables: time 3.877e-05/0.3279, allocations: 80.72 kB / 0.5519 GB, free: 10.24 MB / 398.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.3279, allocations: 0 / 0.5519 GB, free: 10.24 MB / 398.1 MB
Notification: Performance of remove unused functions: time 0.0002403/0.3281, allocations: 12.03 kB / 0.5519 GB, free: 10.23 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.0001315/0.3282, allocations: 102.2 kB / 0.552 GB, free: 10.14 MB / 398.1 MB
Notification: Performance of simCode: created initialization part: time 0.0002315/0.3285, allocations: 59.33 kB / 0.5521 GB, free: 10.11 MB / 398.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3285, allocations: 1.688 kB / 0.5521 GB, free: 10.11 MB / 398.1 MB
Notification: Performance of simCode: created simulation system equations: time 9.101e-05/0.3286, allocations: 21.52 kB / 0.5521 GB, free: 10.1 MB / 398.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002418/0.3288, allocations: 6.219 kB / 0.5521 GB, free: 10.09 MB / 398.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004487/0.3293, allocations: 130.8 kB / 0.5522 GB, free: 9.965 MB / 398.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003147/0.3296, allocations: 0.6819 MB / 0.5529 GB, free: 9.262 MB / 398.1 MB
Notification: Performance of simCode: alias equations: time 4.22e-05/0.3296, allocations: 3.281 kB / 0.5529 GB, free: 9.262 MB / 398.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.895e-05/0.3297, allocations: 13.73 kB / 0.5529 GB, free: 9.25 MB / 398.1 MB
Notification: Performance of SimCode: time 3.51e-07/0.3297, allocations: 4 kB / 0.5529 GB, free: 9.246 MB / 398.1 MB
Notification: Performance of Templates: time 0.003254/0.3329, allocations: 0.6865 MB / 0.5536 GB, free: 8.883 MB / 398.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.makefile [Timeout 660]
(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 & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegStep/TestRegStep.csv","/var/lib/jenkins/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: 4.844958393834531]