Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test3.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.001283/0.001283, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.0014/0.0014, allocations: 213.2 kB / 24.54 MB, free: 4.016 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.494/1.494, allocations: 230.3 MB / 258 MB, free: 8.234 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.2359/0.2359, allocations: 46.94 MB / 361.4 MB, free: 4.477 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.CombiTable2Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test3")
translateModel(ModelicaTest.Tables.CombiTable2Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test3") [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.002423/0.002423, allocations: 79.86 kB / 0.4972 GB, free: 7.488 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3709/0.3734, allocations: 66.04 MB / 0.5617 GB, free: 4.527 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test3): time 0.003616/0.377, allocations: 1.714 MB / 0.5633 GB, free: 2.809 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001186/0.3782, allocations: 0.5655 MB / 0.5639 GB, free: 2.242 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 5.753e-05/0.3782, allocations: 4 kB / 0.5639 GB, free: 2.238 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0006519/0.3789, allocations: 463 kB / 0.5643 GB, free: 1.785 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0005157/0.3794, allocations: 295.3 kB / 0.5646 GB, free: 1.496 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.000397/0.3798, allocations: 131.6 kB / 0.5648 GB, free: 1.367 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0002851/0.3801, allocations: 183.6 kB / 0.5649 GB, free: 1.188 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001264/0.3802, allocations: 15.89 kB / 0.5649 GB, free: 1.172 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001477/0.3804, allocations: 119.7 kB / 0.5651 GB, free: 1.055 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0003119/0.3807, allocations: 243.5 kB / 0.5653 GB, free: 0.8164 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 1.941e-05/0.3807, allocations: 4 kB / 0.5653 GB, free: 0.8125 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001475/0.3808, allocations: 55.91 kB / 0.5653 GB, free: 0.7578 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.00014/0.381, allocations: 95.62 kB / 0.5654 GB, free: 0.6641 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 9.851e-05/0.3811, allocations: 103 kB / 0.5655 GB, free: 0.5625 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0003998/0.3815, allocations: 269.5 kB / 0.5658 GB, free: 308 kB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.3815, allocations: 0 / 0.5658 GB, free: 308 kB / 398.1 MB
Notification: Performance of FrontEnd: time 1.663e-06/0.3815, allocations: 0 / 0.5658 GB, free: 308 kB / 398.1 MB
Notification: Performance of Transformations before backend: time 1.463e-05/0.3815, allocations: 3.938 kB / 0.5658 GB, free: 304 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: 9
 * Number of variables: 9
Notification: Performance of Generate backend data structure: time 0.0008756/0.3824, allocations: 0.6048 MB / 0.5664 GB, free: 15.66 MB / 414.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.3824, allocations: 8.031 kB / 0.5664 GB, free: 15.65 MB / 414.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 8.391e-05/0.3825, allocations: 48.61 kB / 0.5664 GB, free: 15.6 MB / 414.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003209/0.3828, allocations: 246.8 kB / 0.5667 GB, free: 15.34 MB / 414.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/0.3828, allocations: 384 / 0.5667 GB, free: 15.34 MB / 414.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.249e-05/0.3829, allocations: 4.375 kB / 0.5667 GB, free: 15.33 MB / 414.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001841/0.383, allocations: 62.23 kB / 0.5667 GB, free: 15.27 MB / 414.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.3831, allocations: 192 / 0.5667 GB, free: 15.27 MB / 414.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.487e-05/0.3831, allocations: 7.938 kB / 0.5668 GB, free: 15.26 MB / 414.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.92e-06/0.3831, allocations: 3.938 kB / 0.5668 GB, free: 15.25 MB / 414.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001371/0.3832, allocations: 39.95 kB / 0.5668 GB, free: 15.21 MB / 414.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005634/0.3838, allocations: 379.7 kB / 0.5672 GB, free: 14.8 MB / 414.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002657/0.384, allocations: 54.58 kB / 0.5672 GB, free: 14.74 MB / 414.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 9.041e-05/0.3841, allocations: 24.97 kB / 0.5672 GB, free: 14.71 MB / 414.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.021e-05/0.3842, allocations: 0 / 0.5672 GB, free: 14.71 MB / 414.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.035e-05/0.3842, allocations: 42.55 kB / 0.5673 GB, free: 14.66 MB / 414.1 MB
Notification: Performance of pre-optimization done (n=5): time 7.62e-07/0.3842, allocations: 0 / 0.5673 GB, free: 14.66 MB / 414.1 MB
Notification: Performance of matching and sorting (n=11): time 0.00148/0.3857, allocations: 460.8 kB / 0.5677 GB, free: 14.2 MB / 414.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.427e-05/0.3857, allocations: 59.41 kB / 0.5678 GB, free: 14.13 MB / 414.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000955/0.3867, allocations: 0.869 MB / 0.5686 GB, free: 13.25 MB / 414.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.523e-05/0.3867, allocations: 29.7 kB / 0.5686 GB, free: 13.21 MB / 414.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0002002/0.3869, allocations: 220 kB / 0.5689 GB, free: 13 MB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 3.847e-05/0.3869, allocations: 31.7 kB / 0.5689 GB, free: 12.96 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.404e-05/0.387, allocations: 29.7 kB / 0.5689 GB, free: 12.93 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 0.0002046/0.3872, allocations: 366.8 kB / 0.5693 GB, free: 12.56 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001216/0.3873, allocations: 35.97 kB / 0.5693 GB, free: 12.53 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001136/0.3874, allocations: 47.97 kB / 0.5693 GB, free: 12.48 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002385/0.3877, allocations: 92.81 kB / 0.5694 GB, free: 12.39 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.3877, allocations: 64 / 0.5694 GB, free: 12.39 MB / 414.1 MB
Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003387/0.388, allocations: 185.3 kB / 0.5696 GB, free: 12.2 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.388, allocations: 10.19 kB / 0.5696 GB, free: 12.19 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.388, allocations: 0 / 0.5696 GB, free: 12.19 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.388, allocations: 7.938 kB / 0.5696 GB, free: 12.18 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001221/0.3882, allocations: 23.98 kB / 0.5696 GB, free: 12.16 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.3882, allocations: 0 / 0.5696 GB, free: 12.16 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.386e-05/0.3882, allocations: 11.92 kB / 0.5697 GB, free: 12.15 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.223e-05/0.3883, allocations: 4 kB / 0.5697 GB, free: 12.14 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 (11):
 * Single equations (assignments): 11
 * 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.0002242/0.3885, allocations: 221.8 kB / 0.5699 GB, free: 11.92 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 6.406e-05/0.3885, allocations: 47.67 kB / 0.5699 GB, free: 11.87 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004359/0.389, allocations: 209.7 kB / 0.5701 GB, free: 11.65 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.379e-06/0.389, allocations: 4 kB / 0.5701 GB, free: 11.65 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.389, allocations: 0 / 0.5701 GB, free: 11.65 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.389, allocations: 7.922 kB / 0.5701 GB, free: 11.64 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008175/0.3898, allocations: 0.5381 MB / 0.5707 GB, free: 11.05 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.3898, allocations: 0 / 0.5707 GB, free: 11.05 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001146/0.3899, allocations: 31.92 kB / 0.5707 GB, free: 11.02 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.3899, allocations: 0 / 0.5707 GB, free: 11.02 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.3899, allocations: 7.984 kB / 0.5707 GB, free: 11.01 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.3899, allocations: 0 / 0.5707 GB, free: 11.01 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3899, allocations: 4.062 kB / 0.5707 GB, free: 11 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003912/0.3903, allocations: 284.8 kB / 0.571 GB, free: 10.7 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 5.821e-05/0.3904, allocations: 39.66 kB / 0.571 GB, free: 10.66 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.793e-05/0.3904, allocations: 4 kB / 0.571 GB, free: 10.66 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.3905, allocations: 11.98 kB / 0.571 GB, free: 10.65 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.746e-05/0.3906, allocations: 11.98 kB / 0.571 GB, free: 10.64 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.468e-06/0.3906, allocations: 4.094 kB / 0.571 GB, free: 10.63 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 0.0006606/0.3912, allocations: 0.6511 MB / 0.5717 GB, free: 9.984 MB / 414.1 MB
Notification: Performance of sort global known variables: time 1.1e-07/0.3912, allocations: 0 / 0.5717 GB, free: 9.984 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.0002787/0.3915, allocations: 39.88 kB / 0.5717 GB, free: 9.945 MB / 414.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 3
 * 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 (11):
 * Single equations (assignments): 11
 * 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.001691/0.3932, allocations: 457.7 kB / 0.5721 GB, free: 9.652 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.0003341/0.3936, allocations: 99.88 kB / 0.5722 GB, free: 9.555 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3936, allocations: 4 kB / 0.5722 GB, free: 9.551 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0001366/0.3937, allocations: 59.83 kB / 0.5723 GB, free: 9.492 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004111/0.3941, allocations: 40.66 kB / 0.5723 GB, free: 9.453 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001298/0.3954, allocations: 0.8512 MB / 0.5732 GB, free: 8.57 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005182/0.3959, allocations: 0.8338 MB / 0.574 GB, free: 7.707 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 6.067e-05/0.396, allocations: 12.48 kB / 0.574 GB, free: 7.695 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.022e-05/0.396, allocations: 19.44 kB / 0.574 GB, free: 7.68 MB / 414.1 MB
Notification: Performance of SimCode: time 4.51e-07/0.396, allocations: 4 kB / 0.574 GB, free: 7.676 MB / 414.1 MB
Notification: Performance of Templates: time 0.005673/0.4017, allocations: 1.927 MB / 0.5759 GB, free: 5.758 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test3.makefile [Timeout 660]
(rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test3.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test3  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test3.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.285971229895949]