Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.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.001983/0.001983, 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.001857/0.001857, 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.827/1.827, 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.2558/0.2558, allocations: 44.23 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.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38")
translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38") [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.002063/0.002063, allocations: 76.98 kB / 468 MB, free: 3.988 MB / 334.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1838/0.1858, allocations: 61.03 MB / 0.5166 GB, free: 6.82 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.003868/0.1897, allocations: 1.676 MB / 0.5183 GB, free: 5.133 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001593/0.1913, allocations: 0.8156 MB / 0.5191 GB, free: 4.309 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 7.84e-05/0.1914, allocations: 0 / 0.5191 GB, free: 4.309 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0004097/0.1918, allocations: 63.73 kB / 0.5191 GB, free: 4.246 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.000256/0.1921, allocations: 63.75 kB / 0.5192 GB, free: 4.184 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.00027/0.1923, allocations: 87.75 kB / 0.5193 GB, free: 4.098 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0001998/0.1925, allocations: 95.69 kB / 0.5194 GB, free: 4.004 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 5.682e-05/0.1926, allocations: 7.984 kB / 0.5194 GB, free: 3.996 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001194/0.1927, allocations: 51.77 kB / 0.5194 GB, free: 3.945 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001277/0.1928, allocations: 47.72 kB / 0.5195 GB, free: 3.898 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.829e-05/0.1929, allocations: 4 kB / 0.5195 GB, free: 3.895 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 9.389e-05/0.1929, allocations: 35.97 kB / 0.5195 GB, free: 3.859 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 7.363e-05/0.193, allocations: 19.92 kB / 0.5195 GB, free: 3.84 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 6.782e-05/0.1931, allocations: 27.81 kB / 0.5196 GB, free: 3.812 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0002285/0.1933, allocations: 107.5 kB / 0.5197 GB, free: 3.707 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1933, allocations: 0 / 0.5197 GB, free: 3.707 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.633e-06/0.1933, allocations: 0 / 0.5197 GB, free: 3.707 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 1.231e-05/0.1933, allocations: 0 / 0.5197 GB, free: 3.707 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: 4
 * Number of variables: 4
Notification: Performance of Generate backend data structure: time 0.0006281/0.194, allocations: 329.7 kB / 0.52 GB, free: 3.355 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.194, allocations: 8.031 kB / 0.52 GB, free: 3.348 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.424e-05/0.1941, allocations: 12.84 kB / 0.52 GB, free: 3.336 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003106/0.1944, allocations: 146.4 kB / 0.5201 GB, free: 3.168 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.085e-05/0.1944, allocations: 12.3 kB / 0.5201 GB, free: 3.156 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.12e-05/0.1944, allocations: 8.125 kB / 0.5202 GB, free: 3.148 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001723/0.1946, allocations: 45.67 kB / 0.5202 GB, free: 3.098 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.1946, allocations: 0 / 0.5202 GB, free: 3.098 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.1946, allocations: 0 / 0.5202 GB, free: 3.098 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.174e-05/0.1946, allocations: 4 kB / 0.5202 GB, free: 3.094 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 7.94e-05/0.1947, allocations: 19.92 kB / 0.5202 GB, free: 3.074 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003312/0.195, allocations: 156.8 kB / 0.5204 GB, free: 2.879 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001874/0.1952, allocations: 50.61 kB / 0.5204 GB, free: 2.82 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 5.778e-05/0.1953, allocations: 16.8 kB / 0.5204 GB, free: 2.801 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.581e-05/0.1953, allocations: 4 kB / 0.5204 GB, free: 2.797 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001775/0.1955, allocations: 63.39 kB / 0.5205 GB, free: 2.723 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=5): time 1.603e-06/0.1955, allocations: 4 kB / 0.5205 GB, free: 2.719 MB / 398.1 MB
Notification: Performance of matching and sorting (n=5): time 0.0003238/0.1958, allocations: 97.55 kB / 0.5206 GB, free: 2.617 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.443e-05/0.1959, allocations: 55.41 kB / 0.5206 GB, free: 2.551 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003521/0.1962, allocations: 186.1 kB / 0.5208 GB, free: 2.359 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.169e-05/0.1962, allocations: 29.7 kB / 0.5209 GB, free: 2.324 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 7.296e-05/0.1963, allocations: 100.1 kB / 0.5209 GB, free: 2.223 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 3.465e-05/0.1963, allocations: 7.953 kB / 0.521 GB, free: 2.215 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.142e-05/0.1964, allocations: 21.7 kB / 0.521 GB, free: 2.188 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001969/0.1966, allocations: 326.8 kB / 0.5213 GB, free: 1.859 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 5.579e-05/0.1966, allocations: 16 kB / 0.5213 GB, free: 1.844 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 6.077e-05/0.1967, allocations: 25.95 kB / 0.5213 GB, free: 1.812 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001118/0.1968, allocations: 53.64 kB / 0.5214 GB, free: 1.754 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1968, allocations: 0 / 0.5214 GB, free: 1.754 MB / 398.1 MB
Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001776/0.197, allocations: 89.47 kB / 0.5215 GB, free: 1.66 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.197, allocations: 8 kB / 0.5215 GB, free: 1.652 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.197, allocations: 0 / 0.5215 GB, free: 1.652 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.197, allocations: 0 / 0.5215 GB, free: 1.652 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.505e-05/0.1971, allocations: 11.94 kB / 0.5215 GB, free: 1.641 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.279e-05/0.1971, allocations: 7.984 kB / 0.5215 GB, free: 1.633 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.565e-05/0.1972, allocations: 3.938 kB / 0.5215 GB, free: 1.629 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.207e-06/0.1972, allocations: 4 kB / 0.5215 GB, free: 1.625 MB / 398.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 2
 * Number of states: 0 ()
 * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (7):
 * Single equations (assignments): 7
 * 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 0.0001265/0.1973, allocations: 125.8 kB / 0.5216 GB, free: 1.492 MB / 398.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.041e-05/0.1973, allocations: 15.97 kB / 0.5216 GB, free: 1.477 MB / 398.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002255/0.1976, allocations: 90.02 kB / 0.5217 GB, free: 1.379 MB / 398.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.1976, allocations: 3.938 kB / 0.5217 GB, free: 1.375 MB / 398.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.1976, allocations: 0 / 0.5217 GB, free: 1.375 MB / 398.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.1976, allocations: 0 / 0.5217 GB, free: 1.375 MB / 398.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001803/0.1978, allocations: 160.6 kB / 0.5219 GB, free: 1.176 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.1978, allocations: 0 / 0.5219 GB, free: 1.176 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.026e-05/0.1978, allocations: 4 kB / 0.5219 GB, free: 1.172 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.1978, allocations: 0 / 0.5219 GB, free: 1.172 MB / 398.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.1978, allocations: 3.984 kB / 0.5219 GB, free: 1.168 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.539e-06/0.1978, allocations: 8 kB / 0.5219 GB, free: 1.16 MB / 398.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1978, allocations: 0 / 0.5219 GB, free: 1.16 MB / 398.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001982/0.198, allocations: 113.1 kB / 0.522 GB, free: 1.031 MB / 398.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 2.055e-05/0.198, allocations: 11.95 kB / 0.522 GB, free: 1.02 MB / 398.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.114e-05/0.198, allocations: 3.984 kB / 0.522 GB, free: 1.016 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.322e-05/0.1981, allocations: 0 / 0.522 GB, free: 1.016 MB / 398.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.66e-05/0.1981, allocations: 7.984 kB / 0.522 GB, free: 1.008 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.323e-05/0.1981, allocations: 0 / 0.522 GB, free: 1.008 MB / 398.1 MB
Notification: Performance of sorting global known variables: time 0.0001355/0.1983, allocations: 143.2 kB / 0.5222 GB, free: 0.8672 MB / 398.1 MB
Notification: Performance of sort global known variables: time 1e-07/0.1983, allocations: 0 / 0.5222 GB, free: 0.8672 MB / 398.1 MB
Notification: Performance of remove unused functions: time 0.0002144/0.1985, allocations: 19.98 kB / 0.5222 GB, free: 0.8477 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled)
 * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled)
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (5):
 * Single equations (assignments): 3
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 2
 * 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.001628/0.2001, allocations: 409.8 kB / 0.5226 GB, free: 0.4961 MB / 398.1 MB
Notification: Performance of simCode: created initialization part: time 0.0002167/0.2003, allocations: 47.92 kB / 0.5226 GB, free: 460 kB / 398.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.2003, allocations: 0 / 0.5226 GB, free: 460 kB / 398.1 MB
Notification: Performance of simCode: created simulation system equations: time 7.161e-05/0.2004, allocations: 24.05 kB / 0.5226 GB, free: 436 kB / 398.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002967/0.2007, allocations: 27.78 kB / 0.5227 GB, free: 408 kB / 398.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005698/0.2013, allocations: 185.9 kB / 0.5228 GB, free: 196 kB / 398.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004441/0.2017, allocations: 0.7002 MB / 0.5235 GB, free: 15.46 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 5.803e-05/0.2018, allocations: 16.47 kB / 0.5235 GB, free: 15.45 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.289e-05/0.2018, allocations: 19.44 kB / 0.5236 GB, free: 15.43 MB / 414.1 MB
Notification: Performance of SimCode: time 4.71e-07/0.2018, allocations: 0 / 0.5236 GB, free: 15.43 MB / 414.1 MB
Notification: Performance of Templates: time 0.006429/0.2083, allocations: 1.513 MB / 0.525 GB, free: 13.92 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.makefile [Timeout 660]
(rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.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.913096530362964]