Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.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.001312/0.001312, allocations: 110.1 kB / 19.69 MB, free: 2.188 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.001354/0.001354, allocations: 189 kB / 22.98 MB, free: 5.016 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.325/1.325, allocations: 207.6 MB / 233.7 MB, free: 10.02 MB / 190.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3023/0.3023, allocations: 44.24 MB / 330.2 MB, free: 9.57 MB / 270.1 MB
"
[Timeout remaining time 179]
Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo)
Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3")
translateModel(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") [Timeout 660]
"Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Performance of FrontEnd - loaded program: time 0.002229/0.002229, allocations: 71.89 kB / 467.9 MB, free: 4.07 MB / 334.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1127, allocations: 61.04 MB / 0.5166 GB, free: 6.898 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.00177/0.1144, allocations: 0.5143 MB / 0.5171 GB, free: 6.383 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001887/0.1163, allocations: 1.399 MB / 0.5184 GB, free: 4.961 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 2.319e-05/0.1164, allocations: 4 kB / 0.5184 GB, free: 4.957 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 1.541e-05/0.1164, allocations: 0 / 0.5184 GB, free: 4.957 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 2.441e-05/0.1164, allocations: 0 / 0.5184 GB, free: 4.957 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0006809/0.1171, allocations: 219.9 kB / 0.5186 GB, free: 4.742 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 4.871e-05/0.1171, allocations: 15.98 kB / 0.5187 GB, free: 4.727 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 3.912e-05/0.1172, allocations: 4 kB / 0.5187 GB, free: 4.723 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 1.446e-05/0.1172, allocations: 0 / 0.5187 GB, free: 4.723 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 5.504e-05/0.1172, allocations: 4 kB / 0.5187 GB, free: 4.719 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 1.27e-05/0.1172, allocations: 0 / 0.5187 GB, free: 4.719 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0004504/0.1177, allocations: 275.6 kB / 0.5189 GB, free: 4.449 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 1.329e-05/0.1177, allocations: 3.984 kB / 0.5189 GB, free: 4.445 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 2.738e-05/0.1177, allocations: 15.92 kB / 0.519 GB, free: 4.43 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0002274/0.118, allocations: 139.6 kB / 0.5191 GB, free: 4.293 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.118, allocations: 0 / 0.5191 GB, free: 4.293 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.463e-06/0.118, allocations: 0 / 0.5191 GB, free: 4.293 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 5.039e-06/0.118, allocations: 4 kB / 0.5191 GB, free: 4.289 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: 1
 * Number of variables: 1
Notification: Performance of Generate backend data structure: time 0.0003672/0.1183, allocations: 258.3 kB / 0.5193 GB, free: 4.008 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.1184, allocations: 12.03 kB / 0.5193 GB, free: 3.996 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 2.873e-05/0.1184, allocations: 0.9375 kB / 0.5193 GB, free: 3.996 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001597/0.1186, allocations: 102.5 kB / 0.5194 GB, free: 3.871 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.1186, allocations: 4.375 kB / 0.5194 GB, free: 3.867 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.542e-05/0.1186, allocations: 384 / 0.5194 GB, free: 3.867 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 9.977e-05/0.1187, allocations: 34 kB / 0.5195 GB, free: 3.828 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.1187, allocations: 8 kB / 0.5195 GB, free: 3.82 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.225e-06/0.1187, allocations: 3.938 kB / 0.5195 GB, free: 3.816 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.466e-06/0.1187, allocations: 0 / 0.5195 GB, free: 3.816 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 2.02e-05/0.1187, allocations: 3.938 kB / 0.5195 GB, free: 3.812 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001518/0.1189, allocations: 124.8 kB / 0.5196 GB, free: 3.648 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 4.476e-05/0.1189, allocations: 14.67 kB / 0.5196 GB, free: 3.625 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 1.557e-05/0.119, allocations: 8.859 kB / 0.5196 GB, free: 3.613 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 9.568e-06/0.119, allocations: 4 kB / 0.5196 GB, free: 3.609 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.288e-05/0.119, allocations: 42.44 kB / 0.5197 GB, free: 3.559 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.119, allocations: 0 / 0.5197 GB, free: 3.559 MB / 398.1 MB
Notification: Performance of matching and sorting (n=1): time 0.000126/0.1191, allocations: 37.64 kB / 0.5197 GB, free: 3.516 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.908e-05/0.1192, allocations: 55.39 kB / 0.5198 GB, free: 3.449 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.007e-05/0.1193, allocations: 93.86 kB / 0.5199 GB, free: 3.348 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 1.829e-05/0.1193, allocations: 25.7 kB / 0.5199 GB, free: 3.316 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 4.224e-05/0.1193, allocations: 88.39 kB / 0.52 GB, free: 3.227 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 2.312e-05/0.1193, allocations: 7.938 kB / 0.52 GB, free: 3.219 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.804e-05/0.1194, allocations: 13.72 kB / 0.52 GB, free: 3.199 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001382/0.1195, allocations: 310.8 kB / 0.5203 GB, free: 2.887 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 9.628e-06/0.1195, allocations: 0 / 0.5203 GB, free: 2.887 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 1.09e-05/0.1195, allocations: 7.984 kB / 0.5203 GB, free: 2.879 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 2.579e-05/0.1196, allocations: 8.859 kB / 0.5203 GB, free: 2.867 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1196, allocations: 3.938 kB / 0.5203 GB, free: 2.863 MB / 398.1 MB
Notification: Performance of matching and sorting (n=1) (initialization): time 6.041e-05/0.1196, allocations: 37.77 kB / 0.5203 GB, free: 2.82 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.1196, allocations: 11.94 kB / 0.5204 GB, free: 2.809 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.417e-06/0.1196, allocations: 0 / 0.5204 GB, free: 2.809 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.1197, allocations: 3.984 kB / 0.5204 GB, free: 2.805 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.096e-05/0.1197, allocations: 0 / 0.5204 GB, free: 2.805 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.968e-06/0.1197, allocations: 0 / 0.5204 GB, free: 2.805 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.698e-05/0.1197, allocations: 7.984 kB / 0.5204 GB, free: 2.797 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.091e-06/0.1197, allocations: 0 / 0.5204 GB, free: 2.797 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 (1):
 * Single equations (assignments): 1
 * 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.833e-05/0.1198, allocations: 105.8 kB / 0.5205 GB, free: 2.684 MB / 398.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.198e-05/0.1198, allocations: 7.969 kB / 0.5205 GB, free: 2.676 MB / 398.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001161/0.1199, allocations: 52.78 kB / 0.5205 GB, free: 2.617 MB / 398.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.1199, allocations: 4 kB / 0.5205 GB, free: 2.613 MB / 398.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.1199, allocations: 0 / 0.5205 GB, free: 2.613 MB / 398.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.734e-06/0.1199, allocations: 0 / 0.5205 GB, free: 2.613 MB / 398.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001025/0.12, allocations: 112.8 kB / 0.5206 GB, free: 2.461 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/0.1201, allocations: 7.938 kB / 0.5206 GB, free: 2.453 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.41e-07/0.1201, allocations: 4.031 kB / 0.5206 GB, free: 2.449 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-06/0.1201, allocations: 7.922 kB / 0.5207 GB, free: 2.441 MB / 398.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.54e-06/0.1201, allocations: 0 / 0.5207 GB, free: 2.441 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.1201, allocations: 0 / 0.5207 GB, free: 2.441 MB / 398.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.1201, allocations: 0 / 0.5207 GB, free: 2.441 MB / 398.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 7.968e-05/0.1202, allocations: 57.14 kB / 0.5207 GB, free: 2.367 MB / 398.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 9.758e-06/0.1202, allocations: 11.89 kB / 0.5207 GB, free: 2.355 MB / 398.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.858e-06/0.1202, allocations: 4.031 kB / 0.5207 GB, free: 2.352 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.422e-05/0.1202, allocations: 3.984 kB / 0.5207 GB, free: 2.348 MB / 398.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.719e-05/0.1203, allocations: 7.938 kB / 0.5207 GB, free: 2.34 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-06/0.1203, allocations: 0 / 0.5207 GB, free: 2.34 MB / 398.1 MB
Notification: Performance of sorting global known variables: time 4.084e-05/0.1203, allocations: 79.28 kB / 0.5208 GB, free: 2.262 MB / 398.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.1203, allocations: 3.938 kB / 0.5208 GB, free: 2.258 MB / 398.1 MB
Notification: Performance of remove unused functions: time 0.0002503/0.1205, allocations: 43.88 kB / 0.5209 GB, free: 2.215 MB / 398.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * 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 simulation (1):
 * Single equations (assignments): 0
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 1
 * 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.0002503/0.1208, allocations: 131.2 kB / 0.521 GB, free: 2.074 MB / 398.1 MB
Notification: Performance of simCode: created initialization part: time 7.427e-05/0.1209, allocations: 12.09 kB / 0.521 GB, free: 2.062 MB / 398.1 MB
Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1209, allocations: 0 / 0.521 GB, free: 2.062 MB / 398.1 MB
Notification: Performance of simCode: created simulation system equations: time 3.77e-05/0.1209, allocations: 29.7 kB / 0.521 GB, free: 2.027 MB / 398.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001458/0.1211, allocations: 4 kB / 0.521 GB, free: 2.023 MB / 398.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002024/0.1213, allocations: 84.84 kB / 0.5211 GB, free: 1.914 MB / 398.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003056/0.1216, allocations: 0.6729 MB / 0.5218 GB, free: 1.215 MB / 398.1 MB
Notification: Performance of simCode: alias equations: time 1.808e-05/0.1216, allocations: 12.05 kB / 0.5218 GB, free: 1.203 MB / 398.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.395e-05/0.1216, allocations: 7.438 kB / 0.5218 GB, free: 1.195 MB / 398.1 MB
Notification: Performance of SimCode: time 3.31e-07/0.1216, allocations: 0 / 0.5218 GB, free: 1.195 MB / 398.1 MB
Notification: Performance of Templates: time 0.003704/0.1253, allocations: 1.081 MB / 0.5228 GB, free: 116 kB / 398.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.makefile [Timeout 660]
(rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/Test01RegFun3/Test01RegFun3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.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.693465097807348]