Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001777/0.001777, allocations: 109 kB / 21.23 MB, free: 0.6641 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.002338/0.002338, allocations: 213.9 kB / 24.54 MB, free: 4.02 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.452/1.452, allocations: 230.3 MB / 258 MB, free: 8.184 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.226/0.226, allocations: 46.94 MB / 361.4 MB, free: 4.371 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-beta.om/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: translateModel(ModelicaTest.Fluid.TestUtilities.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_4.1.0-beta.om_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.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegStep") [Timeout 660]
"Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Notification: Performance of FrontEnd - loaded program: time 0.002493/0.002493, allocations: 75.88 kB / 0.4971 GB, free: 7.504 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.311/0.3135, allocations: 66.04 MB / 0.5616 GB, free: 4.504 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001719/0.3152, allocations: 0.5031 MB / 0.5621 GB, free: 4.004 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.0003449/0.3155, allocations: 103.7 kB / 0.5622 GB, free: 3.902 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 3.003e-05/0.3156, allocations: 0 / 0.5622 GB, free: 3.902 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 1.114e-05/0.3156, allocations: 0 / 0.5622 GB, free: 3.902 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0002544/0.3158, allocations: 15.92 kB / 0.5622 GB, free: 3.887 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 2.32e-05/0.3159, allocations: 3.984 kB / 0.5622 GB, free: 3.883 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 5.982e-05/0.3159, allocations: 8 kB / 0.5623 GB, free: 3.875 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 5.966e-05/0.316, allocations: 11.97 kB / 0.5623 GB, free: 3.863 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 1.814e-05/0.316, allocations: 3.938 kB / 0.5623 GB, free: 3.859 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 4.45e-05/0.316, allocations: 3.938 kB / 0.5623 GB, free: 3.855 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 1.141e-05/0.316, allocations: 4 kB / 0.5623 GB, free: 3.852 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 9.009e-05/0.3161, allocations: 19.98 kB / 0.5623 GB, free: 3.832 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 1.059e-05/0.3161, allocations: 0 / 0.5623 GB, free: 3.832 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 1.814e-05/0.3162, allocations: 3.938 kB / 0.5623 GB, free: 3.828 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 8.968e-05/0.3163, allocations: 26.77 kB / 0.5623 GB, free: 3.805 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.3163, allocations: 0 / 0.5623 GB, free: 3.805 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.443e-06/0.3163, allocations: 0 / 0.5623 GB, free: 3.805 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 4.96e-06/0.3163, allocations: 0 / 0.5623 GB, free: 3.805 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.0003344/0.3166, allocations: 250.1 kB / 0.5626 GB, free: 3.531 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.3166, allocations: 8.031 kB / 0.5626 GB, free: 3.523 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.592e-05/0.3167, allocations: 4.938 kB / 0.5626 GB, free: 3.52 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001135/0.3168, allocations: 106.5 kB / 0.5627 GB, free: 3.391 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.3168, allocations: 384 / 0.5627 GB, free: 3.391 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.262e-05/0.3168, allocations: 384 / 0.5627 GB, free: 3.391 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 9.762e-05/0.3169, allocations: 38.25 kB / 0.5627 GB, free: 3.348 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/0.3169, allocations: 8.125 kB / 0.5627 GB, free: 3.34 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.3169, allocations: 3.938 kB / 0.5627 GB, free: 3.336 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.317, allocations: 0 / 0.5627 GB, free: 3.336 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 3.623e-05/0.317, allocations: 4 kB / 0.5627 GB, free: 3.332 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000166/0.3172, allocations: 128.8 kB / 0.5629 GB, free: 3.164 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001837/0.3173, allocations: 30.67 kB / 0.5629 GB, free: 3.125 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 3.231e-05/0.3174, allocations: 12.84 kB / 0.5629 GB, free: 3.109 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.0003566/0.3177, allocations: 31.95 kB / 0.5629 GB, free: 3.078 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/0.3178, allocations: 50.5 kB / 0.563 GB, free: 3.02 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.3178, allocations: 3.938 kB / 0.563 GB, free: 3.016 MB / 398.1 MB
Notification: Performance of matching and sorting (n=5): time 0.001344/0.3191, allocations: 189.3 kB / 0.5632 GB, free: 2.824 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.559e-05/0.3192, allocations: 55.34 kB / 0.5632 GB, free: 2.758 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.044e-05/0.3192, allocations: 97.86 kB / 0.5633 GB, free: 2.652 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 1.923e-05/0.3192, allocations: 25.7 kB / 0.5633 GB, free: 2.621 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 3.868e-05/0.3193, allocations: 80.14 kB / 0.5634 GB, free: 2.539 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 3.337e-05/0.3193, allocations: 15.91 kB / 0.5634 GB, free: 2.523 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.27e-05/0.3194, allocations: 17.7 kB / 0.5634 GB, free: 2.5 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001321/0.3195, allocations: 314.8 kB / 0.5637 GB, free: 2.184 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 8.857e-05/0.3196, allocations: 16.11 kB / 0.5638 GB, free: 2.168 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 7.802e-05/0.3197, allocations: 23.98 kB / 0.5638 GB, free: 2.145 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001634/0.3198, allocations: 44.83 kB / 0.5638 GB, free: 2.098 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.3198, allocations: 0 / 0.5638 GB, free: 2.098 MB / 398.1 MB
Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002215/0.32, allocations: 81.59 kB / 0.5639 GB, free: 2.012 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.3201, allocations: 7.938 kB / 0.5639 GB, free: 2.004 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.3201, allocations: 0 / 0.5639 GB, free: 2.004 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.3201, allocations: 4 kB / 0.5639 GB, free: 2 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001263/0.3202, allocations: 15.98 kB / 0.5639 GB, free: 1.984 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.3202, allocations: 256 / 0.5639 GB, free: 1.984 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.249e-05/0.3203, allocations: 7.984 kB / 0.5639 GB, free: 1.977 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.207e-05/0.3203, allocations: 8 kB / 0.5639 GB, free: 1.969 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 7.941e-05/0.3204, allocations: 105.8 kB / 0.564 GB, free: 1.855 MB / 398.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.519e-05/0.3204, allocations: 7.891 kB / 0.564 GB, free: 1.848 MB / 398.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002861/0.3207, allocations: 97.17 kB / 0.5641 GB, free: 1.742 MB / 398.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.3207, allocations: 0 / 0.5641 GB, free: 1.742 MB / 398.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.3207, allocations: 0 / 0.5641 GB, free: 1.742 MB / 398.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.3207, allocations: 0 / 0.5641 GB, free: 1.742 MB / 398.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007741/0.3215, allocations: 338.6 kB / 0.5645 GB, free: 1.359 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.3215, allocations: 0 / 0.5645 GB, free: 1.359 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000103/0.3216, allocations: 11.98 kB / 0.5645 GB, free: 1.348 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 6.763e-06/0.3216, allocations: 8.031 kB / 0.5645 GB, free: 1.34 MB / 398.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.696e-06/0.3216, allocations: 0 / 0.5645 GB, free: 1.34 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.3216, allocations: 0 / 0.5645 GB, free: 1.34 MB / 398.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.3216, allocations: 3.984 kB / 0.5645 GB, free: 1.336 MB / 398.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002634/0.3219, allocations: 184.3 kB / 0.5647 GB, free: 1.137 MB / 398.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 8.485e-06/0.3219, allocations: 3.953 kB / 0.5647 GB, free: 1.133 MB / 398.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.591e-05/0.3219, allocations: 7.938 kB / 0.5647 GB, free: 1.125 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001131/0.322, allocations: 7.984 kB / 0.5647 GB, free: 1.117 MB / 398.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.623e-05/0.322, allocations: 7.938 kB / 0.5647 GB, free: 1.109 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.322, allocations: 0 / 0.5647 GB, free: 1.109 MB / 398.1 MB
Notification: Performance of sorting global known variables: time 3.639e-05/0.3221, allocations: 79.28 kB / 0.5648 GB, free: 1.031 MB / 398.1 MB
Notification: Performance of sort global known variables: time 9.1e-08/0.3221, allocations: 4.094 kB / 0.5648 GB, free: 1.027 MB / 398.1 MB
Notification: Performance of remove unused functions: time 0.0002429/0.3223, allocations: 19.86 kB / 0.5648 GB, free: 1.008 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.0001387/0.3224, allocations: 95.78 kB / 0.5649 GB, free: 0.9023 MB / 398.1 MB
Notification: Performance of simCode: created initialization part: time 0.000241/0.3227, allocations: 47.89 kB / 0.5649 GB, free: 0.8555 MB / 398.1 MB
Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.3227, allocations: 4 kB / 0.5649 GB, free: 0.8516 MB / 398.1 MB
Notification: Performance of simCode: created simulation system equations: time 9.097e-05/0.3228, allocations: 23.92 kB / 0.5649 GB, free: 0.8281 MB / 398.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002297/0.323, allocations: 10.09 kB / 0.565 GB, free: 0.8203 MB / 398.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004333/0.3234, allocations: 125.9 kB / 0.5651 GB, free: 0.668 MB / 398.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003222/0.3238, allocations: 0.6806 MB / 0.5657 GB, free: 15.96 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 4.697e-05/0.3238, allocations: 12.25 kB / 0.5658 GB, free: 15.95 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.677e-05/0.3238, allocations: 11.44 kB / 0.5658 GB, free: 15.94 MB / 414.1 MB
Notification: Performance of SimCode: time 6.31e-07/0.3238, allocations: 0 / 0.5658 GB, free: 15.94 MB / 414.1 MB
Notification: Performance of Templates: time 0.003249/0.3271, allocations: 0.6768 MB / 0.5664 GB, free: 15.26 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegStep.makefile [Timeout 660]
(rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegStep.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegStep  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegStep/TestRegStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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: 5.026460502296686]