Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test21.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.001351/0.001351, allocations: 110.5 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.00147/0.00147, allocations: 211.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.503/1.503, allocations: 230.3 MB / 258 MB, free: 8.191 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.25/0.25, allocations: 46.94 MB / 361.4 MB, free: 4.363 MB / 286.1 MB
"
[Timeout remaining time 179]
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.Tables.CombiTable1Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test21")
translateModel(ModelicaTest.Tables.CombiTable1Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test21") [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.002471/0.002471, allocations: 83.86 kB / 0.4972 GB, free: 7.469 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3275/0.33, allocations: 66.04 MB / 0.5617 GB, free: 4.48 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.003116/0.3331, allocations: 1.62 MB / 0.5633 GB, free: 2.855 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.00193/0.3351, allocations: 1.259 MB / 0.5645 GB, free: 1.594 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 7.208e-05/0.3351, allocations: 4 kB / 0.5645 GB, free: 1.59 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0002619/0.3354, allocations: 23.8 kB / 0.5645 GB, free: 1.566 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0003182/0.3357, allocations: 87.61 kB / 0.5646 GB, free: 1.48 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.00027/0.336, allocations: 91.69 kB / 0.5647 GB, free: 1.391 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0001835/0.3362, allocations: 63.84 kB / 0.5647 GB, free: 1.328 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.3363, allocations: 7.656 kB / 0.5647 GB, free: 1.324 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 6.197e-05/0.3363, allocations: 31.86 kB / 0.5648 GB, free: 1.293 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001646/0.3365, allocations: 43.77 kB / 0.5648 GB, free: 1.25 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 1.992e-05/0.3365, allocations: 4 kB / 0.5648 GB, free: 1.246 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001858/0.3367, allocations: 103.9 kB / 0.5649 GB, free: 1.145 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 5.859e-05/0.3368, allocations: 11.92 kB / 0.5649 GB, free: 1.133 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 4.151e-05/0.3368, allocations: 27.86 kB / 0.565 GB, free: 1.105 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0002698/0.3371, allocations: 138.3 kB / 0.5651 GB, free: 0.9727 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.3371, allocations: 4 kB / 0.5651 GB, free: 0.9688 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.764e-06/0.3371, allocations: 0 / 0.5651 GB, free: 0.9688 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 5.891e-06/0.3371, allocations: 0 / 0.5651 GB, free: 0.9688 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: 5
 * Number of variables: 5
Notification: Performance of Generate backend data structure: time 0.0006112/0.3377, allocations: 325.7 kB / 0.5654 GB, free: 0.6172 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.3378, allocations: 8.031 kB / 0.5654 GB, free: 0.6094 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.074e-05/0.3378, allocations: 12.89 kB / 0.5654 GB, free: 0.5977 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002239/0.338, allocations: 138.4 kB / 0.5656 GB, free: 448 kB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.338, allocations: 384 / 0.5656 GB, free: 448 kB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.505e-05/0.3381, allocations: 4.375 kB / 0.5656 GB, free: 444 kB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001622/0.3382, allocations: 55.97 kB / 0.5656 GB, free: 376 kB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/0.3382, allocations: 4.188 kB / 0.5656 GB, free: 372 kB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.643e-05/0.3383, allocations: 7.922 kB / 0.5656 GB, free: 364 kB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.3383, allocations: 0 / 0.5656 GB, free: 364 kB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 9.972e-05/0.3384, allocations: 27.92 kB / 0.5657 GB, free: 336 kB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004409/0.3388, allocations: 248 kB / 0.5659 GB, free: 44 kB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002548/0.3391, allocations: 46.44 kB / 0.5659 GB, free: 15.99 MB / 414.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 5.429e-05/0.3391, allocations: 16.94 kB / 0.566 GB, free: 15.97 MB / 414.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.941e-05/0.3391, allocations: 7.938 kB / 0.566 GB, free: 15.96 MB / 414.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.967e-05/0.3392, allocations: 34.56 kB / 0.566 GB, free: 15.92 MB / 414.1 MB
Notification: Performance of pre-optimization done (n=3): time 1.312e-06/0.3392, allocations: 0 / 0.566 GB, free: 15.92 MB / 414.1 MB
Notification: Performance of matching and sorting (n=5): time 0.0005717/0.3397, allocations: 137.4 kB / 0.5661 GB, free: 15.78 MB / 414.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 9.313e-05/0.3398, allocations: 81.09 kB / 0.5662 GB, free: 15.68 MB / 414.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001679/0.34, allocations: 144.2 kB / 0.5663 GB, free: 15.53 MB / 414.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.051e-05/0.34, allocations: 25.7 kB / 0.5664 GB, free: 15.5 MB / 414.1 MB
Notification: Performance of collectInitialEqns (initialization): time 6.645e-05/0.3401, allocations: 96.14 kB / 0.5665 GB, free: 15.4 MB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 2.971e-05/0.3401, allocations: 27.78 kB / 0.5665 GB, free: 15.38 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.888e-05/0.3402, allocations: 17.72 kB / 0.5665 GB, free: 15.35 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001674/0.3403, allocations: 318.8 kB / 0.5668 GB, free: 15.03 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 7.151e-05/0.3404, allocations: 19.98 kB / 0.5668 GB, free: 15.01 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 7.313e-05/0.3405, allocations: 29.7 kB / 0.5668 GB, free: 14.98 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001262/0.3406, allocations: 52.86 kB / 0.5669 GB, free: 14.92 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.3406, allocations: 0 / 0.5669 GB, free: 14.92 MB / 414.1 MB
Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001786/0.3408, allocations: 81.56 kB / 0.567 GB, free: 14.84 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.3408, allocations: 4 kB / 0.567 GB, free: 14.83 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.3408, allocations: 256 / 0.567 GB, free: 14.83 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.3408, allocations: 0 / 0.567 GB, free: 14.83 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.607e-05/0.3409, allocations: 23.92 kB / 0.567 GB, free: 14.81 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.3409, allocations: 4 kB / 0.567 GB, free: 14.8 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.272e-05/0.3409, allocations: 4 kB / 0.567 GB, free: 14.8 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/0.341, allocations: 4 kB / 0.567 GB, free: 14.8 MB / 414.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 9.695e-05/0.3411, allocations: 121.8 kB / 0.5671 GB, free: 14.67 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.429e-05/0.3411, allocations: 7.953 kB / 0.5671 GB, free: 14.66 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002612/0.3413, allocations: 90 kB / 0.5672 GB, free: 14.55 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.3413, allocations: 288 / 0.5672 GB, free: 14.55 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.3414, allocations: 4 kB / 0.5672 GB, free: 14.55 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.3414, allocations: 3.984 kB / 0.5672 GB, free: 14.55 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004511/0.3418, allocations: 321.6 kB / 0.5675 GB, free: 14.18 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.3418, allocations: 0 / 0.5675 GB, free: 14.18 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.555e-05/0.3419, allocations: 15.98 kB / 0.5676 GB, free: 14.17 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.3419, allocations: 3.938 kB / 0.5676 GB, free: 14.16 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.3419, allocations: 3.938 kB / 0.5676 GB, free: 14.16 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.3419, allocations: 0 / 0.5676 GB, free: 14.16 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.3419, allocations: 7.938 kB / 0.5676 GB, free: 14.15 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002434/0.3421, allocations: 183.5 kB / 0.5677 GB, free: 13.96 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 1.349e-05/0.3421, allocations: 3.953 kB / 0.5677 GB, free: 13.95 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.3422, allocations: 0 / 0.5677 GB, free: 13.95 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.402e-05/0.3422, allocations: 7.984 kB / 0.5678 GB, free: 13.95 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.947e-05/0.3423, allocations: 7.938 kB / 0.5678 GB, free: 13.94 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-06/0.3423, allocations: 4.188 kB / 0.5678 GB, free: 13.93 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 0.0001153/0.3424, allocations: 117.8 kB / 0.5679 GB, free: 13.82 MB / 414.1 MB
Notification: Performance of sort global known variables: time 7e-08/0.3424, allocations: 0 / 0.5679 GB, free: 13.82 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.0002883/0.3427, allocations: 39.86 kB / 0.5679 GB, free: 13.78 MB / 414.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 (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.001761/0.3444, allocations: 495.2 kB / 0.5684 GB, free: 13.45 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.0002361/0.3447, allocations: 51.89 kB / 0.5684 GB, free: 13.4 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3447, allocations: 0 / 0.5684 GB, free: 13.4 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 7.459e-05/0.3447, allocations: 27.98 kB / 0.5685 GB, free: 13.38 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003635/0.3451, allocations: 19.92 kB / 0.5685 GB, free: 13.36 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004549/0.3456, allocations: 169.5 kB / 0.5686 GB, free: 13.16 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000399/0.346, allocations: 0.6885 MB / 0.5693 GB, free: 12.45 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 6.08e-05/0.346, allocations: 15.77 kB / 0.5693 GB, free: 12.43 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.97e-05/0.3461, allocations: 15.44 kB / 0.5693 GB, free: 12.42 MB / 414.1 MB
Notification: Performance of SimCode: time 3.11e-07/0.3461, allocations: 0 / 0.5693 GB, free: 12.42 MB / 414.1 MB
Notification: Performance of Templates: time 0.00474/0.3508, allocations: 1.771 MB / 0.5711 GB, free: 10.66 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test21.makefile [Timeout 660]
(rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test21  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test21.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.173806958831847]