Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test9.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.001773/0.001773, 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.001737/0.001737, allocations: 213.2 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.514/1.514, 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.2493/0.2493, allocations: 46.93 MB / 361.4 MB, free: 4.379 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.Tables.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test9")
translateModel(ModelicaTest.Tables.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test9") [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.002768/0.002768, allocations: 79.86 kB / 0.4972 GB, free: 7.484 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3674/0.3702, allocations: 66.05 MB / 0.5617 GB, free: 4.516 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.003466/0.3736, allocations: 1.629 MB / 0.5633 GB, free: 2.883 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001218/0.3748, allocations: 0.5761 MB / 0.5638 GB, free: 2.305 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 8.038e-05/0.3749, allocations: 3.938 kB / 0.5638 GB, free: 2.301 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0006777/0.3756, allocations: 459.1 kB / 0.5643 GB, free: 1.852 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.000533/0.3761, allocations: 299.3 kB / 0.5646 GB, free: 1.559 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0004682/0.3766, allocations: 167.1 kB / 0.5647 GB, free: 1.398 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0002696/0.3769, allocations: 183.5 kB / 0.5649 GB, free: 1.219 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.377, allocations: 8 kB / 0.5649 GB, free: 1.211 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001288/0.3771, allocations: 111.8 kB / 0.565 GB, free: 1.102 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0003174/0.3774, allocations: 247.5 kB / 0.5652 GB, free: 0.8594 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 1.93e-05/0.3774, allocations: 4 kB / 0.5652 GB, free: 0.8555 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 8.437e-05/0.3775, allocations: 27.98 kB / 0.5653 GB, free: 0.8281 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0001142/0.3776, allocations: 83.64 kB / 0.5653 GB, free: 0.7461 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 9.641e-05/0.3777, allocations: 111 kB / 0.5655 GB, free: 0.6367 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0003423/0.3781, allocations: 253.2 kB / 0.5657 GB, free: 404 kB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3781, allocations: 0 / 0.5657 GB, free: 404 kB / 398.1 MB
Notification: Performance of FrontEnd: time 1.733e-06/0.3781, allocations: 0 / 0.5657 GB, free: 404 kB / 398.1 MB
Notification: Performance of Transformations before backend: time 6.582e-06/0.3781, allocations: 0 / 0.5657 GB, free: 404 kB / 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.0008279/0.3789, allocations: 0.5777 MB / 0.5663 GB, free: 15.78 MB / 414.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.379, allocations: 8.031 kB / 0.5663 GB, free: 15.77 MB / 414.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 7.089e-05/0.379, allocations: 48.61 kB / 0.5663 GB, free: 15.73 MB / 414.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003254/0.3794, allocations: 242.8 kB / 0.5665 GB, free: 15.46 MB / 414.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.3794, allocations: 8.312 kB / 0.5666 GB, free: 15.46 MB / 414.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.07e-05/0.3794, allocations: 4.375 kB / 0.5666 GB, free: 15.45 MB / 414.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001938/0.3796, allocations: 59.2 kB / 0.5666 GB, free: 15.39 MB / 414.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.3796, allocations: 192 / 0.5666 GB, free: 15.39 MB / 414.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/0.3796, allocations: 7.875 kB / 0.5666 GB, free: 15.38 MB / 414.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.3796, allocations: 0 / 0.5666 GB, free: 15.38 MB / 414.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000128/0.3797, allocations: 35.97 kB / 0.5667 GB, free: 15.35 MB / 414.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005714/0.3803, allocations: 367.9 kB / 0.567 GB, free: 14.95 MB / 414.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001286/0.3804, allocations: 42.44 kB / 0.567 GB, free: 14.89 MB / 414.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 7.174e-05/0.3805, allocations: 32.92 kB / 0.5671 GB, free: 14.86 MB / 414.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.531e-05/0.3805, allocations: 0 / 0.5671 GB, free: 14.86 MB / 414.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.181e-05/0.3806, allocations: 34.56 kB / 0.5671 GB, free: 14.82 MB / 414.1 MB
Notification: Performance of pre-optimization done (n=3): time 7.61e-07/0.3806, allocations: 4 kB / 0.5671 GB, free: 14.81 MB / 414.1 MB
Notification: Performance of matching and sorting (n=3): time 0.0004008/0.381, allocations: 133.3 kB / 0.5672 GB, free: 14.68 MB / 414.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.544e-05/0.381, allocations: 51.41 kB / 0.5673 GB, free: 14.61 MB / 414.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009034/0.3819, allocations: 0.8653 MB / 0.5681 GB, free: 13.73 MB / 414.1 MB
Notification: Performance of collectPreVariables (initialization): time 1.665e-05/0.3819, allocations: 25.7 kB / 0.5682 GB, free: 13.7 MB / 414.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001843/0.3821, allocations: 216.1 kB / 0.5684 GB, free: 13.49 MB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 2.167e-05/0.3821, allocations: 7.906 kB / 0.5684 GB, free: 13.48 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.891e-05/0.3822, allocations: 25.7 kB / 0.5684 GB, free: 13.45 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001894/0.3824, allocations: 354.8 kB / 0.5687 GB, free: 13.09 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 7.326e-05/0.3824, allocations: 23.92 kB / 0.5688 GB, free: 13.07 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 5.701e-05/0.3825, allocations: 15.98 kB / 0.5688 GB, free: 13.05 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001294/0.3826, allocations: 44.81 kB / 0.5688 GB, free: 13.01 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.898e-06/0.3826, allocations: 3.938 kB / 0.5688 GB, free: 13 MB / 414.1 MB
Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002112/0.3828, allocations: 117.3 kB / 0.5689 GB, free: 12.88 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.3829, allocations: 4 kB / 0.5689 GB, free: 12.88 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.3829, allocations: 3.984 kB / 0.5689 GB, free: 12.88 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.3829, allocations: 0 / 0.5689 GB, free: 12.88 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.918e-05/0.383, allocations: 8 kB / 0.5689 GB, free: 12.87 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.847e-06/0.383, allocations: 0 / 0.5689 GB, free: 12.87 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.531e-05/0.383, allocations: 7.984 kB / 0.569 GB, free: 12.86 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.383, allocations: 0 / 0.569 GB, free: 12.86 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 (3):
 * Single equations (assignments): 3
 * 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.0001926/0.3832, allocations: 221.7 kB / 0.5692 GB, free: 12.63 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 5.853e-05/0.3833, allocations: 39.72 kB / 0.5692 GB, free: 12.59 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002725/0.3835, allocations: 129.1 kB / 0.5693 GB, free: 12.45 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.3835, allocations: 3.984 kB / 0.5693 GB, free: 12.45 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.3836, allocations: 4.312 kB / 0.5693 GB, free: 12.45 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.3836, allocations: 0 / 0.5693 GB, free: 12.45 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003707/0.3839, allocations: 260.6 kB / 0.5696 GB, free: 12.15 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.3839, allocations: 7.938 kB / 0.5696 GB, free: 12.14 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.593e-05/0.384, allocations: 11.98 kB / 0.5696 GB, free: 12.13 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.384, allocations: 3.984 kB / 0.5696 GB, free: 12.12 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.094e-06/0.384, allocations: 0 / 0.5696 GB, free: 12.12 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.384, allocations: 4 kB / 0.5696 GB, free: 12.12 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.384, allocations: 0 / 0.5696 GB, free: 12.12 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000272/0.3843, allocations: 211.1 kB / 0.5698 GB, free: 11.9 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 5.323e-05/0.3843, allocations: 39.66 kB / 0.5699 GB, free: 11.86 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.235e-05/0.3843, allocations: 0 / 0.5699 GB, free: 11.86 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.543e-05/0.3844, allocations: 7.984 kB / 0.5699 GB, free: 11.85 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.399e-05/0.3844, allocations: 4 kB / 0.5699 GB, free: 11.85 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.521e-06/0.3844, allocations: 4 kB / 0.5699 GB, free: 11.84 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 0.0006854/0.3851, allocations: 0.6511 MB / 0.5705 GB, free: 11.2 MB / 414.1 MB
Notification: Performance of sort global known variables: time 9e-08/0.3851, allocations: 3.938 kB / 0.5705 GB, free: 11.19 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.0002459/0.3854, allocations: 16 kB / 0.5705 GB, free: 11.18 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 (3):
 * Single equations (assignments): 3
 * 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.001263/0.3866, allocations: 351.2 kB / 0.5709 GB, free: 10.94 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.0002013/0.3868, allocations: 39.95 kB / 0.5709 GB, free: 10.9 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.3868, allocations: 0 / 0.5709 GB, free: 10.9 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 6.758e-05/0.3869, allocations: 23.98 kB / 0.5709 GB, free: 10.88 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003958/0.3873, allocations: 30.23 kB / 0.5709 GB, free: 10.85 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00118/0.3885, allocations: 0.8024 MB / 0.5717 GB, free: 10.02 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005335/0.389, allocations: 0.822 MB / 0.5725 GB, free: 9.168 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 5.903e-05/0.3891, allocations: 23.72 kB / 0.5726 GB, free: 9.145 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.317e-05/0.3891, allocations: 15.44 kB / 0.5726 GB, free: 9.129 MB / 414.1 MB
Notification: Performance of SimCode: time 3e-07/0.3891, allocations: 0 / 0.5726 GB, free: 9.129 MB / 414.1 MB
Notification: Performance of Templates: time 0.00514/0.3943, allocations: 1.313 MB / 0.5739 GB, free: 7.816 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test9.makefile [Timeout 660]
(rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test9  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test9/Test9.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test9.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.204866564832628]