Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test6.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.001692/0.001692, 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.00224/0.00224, 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.555/1.555, allocations: 230.3 MB / 258 MB, free: 8.227 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.2596/0.2596, allocations: 46.95 MB / 361.4 MB, free: 4.395 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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test6")
translateModel(ModelicaTest.Tables.CombiTable2Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test6") [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.002508/0.002508, allocations: 79.86 kB / 0.4972 GB, free: 7.492 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3748/0.3773, allocations: 66.04 MB / 0.5617 GB, free: 4.547 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test6): time 0.003419/0.3807, allocations: 1.679 MB / 0.5633 GB, free: 2.859 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001106/0.3818, allocations: 0.5732 MB / 0.5639 GB, free: 2.285 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 5.739e-05/0.3819, allocations: 0 / 0.5639 GB, free: 2.285 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0006321/0.3825, allocations: 451.1 kB / 0.5643 GB, free: 1.844 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0005226/0.383, allocations: 303.3 kB / 0.5646 GB, free: 1.547 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0003634/0.3834, allocations: 127.3 kB / 0.5647 GB, free: 1.426 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0002734/0.3837, allocations: 179.5 kB / 0.5649 GB, free: 1.25 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001155/0.3838, allocations: 23.62 kB / 0.5649 GB, free: 1.23 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001528/0.3839, allocations: 111.7 kB / 0.565 GB, free: 1.121 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002964/0.3842, allocations: 251.5 kB / 0.5653 GB, free: 0.875 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 1.726e-05/0.3842, allocations: 4 kB / 0.5653 GB, free: 0.8711 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 9.956e-05/0.3843, allocations: 39.92 kB / 0.5653 GB, free: 0.832 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0001146/0.3844, allocations: 79.7 kB / 0.5654 GB, free: 0.7539 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 9.48e-05/0.3845, allocations: 111 kB / 0.5655 GB, free: 0.6445 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0004019/0.3849, allocations: 257.5 kB / 0.5657 GB, free: 404 kB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.385, allocations: 0 / 0.5657 GB, free: 404 kB / 398.1 MB
Notification: Performance of FrontEnd: time 1.303e-06/0.385, allocations: 4 kB / 0.5657 GB, free: 400 kB / 398.1 MB
Notification: Performance of Transformations before backend: time 1.01e-05/0.385, allocations: 0 / 0.5657 GB, free: 400 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: 7
 * Number of variables: 7
Notification: Performance of Generate backend data structure: time 0.0008808/0.3858, allocations: 0.5892 MB / 0.5663 GB, free: 15.77 MB / 414.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.3859, allocations: 8.031 kB / 0.5663 GB, free: 15.76 MB / 414.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 7.762e-05/0.386, allocations: 48.61 kB / 0.5664 GB, free: 15.71 MB / 414.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003241/0.3863, allocations: 242.8 kB / 0.5666 GB, free: 15.45 MB / 414.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.592e-06/0.3863, allocations: 384 / 0.5666 GB, free: 15.45 MB / 414.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.607e-05/0.3863, allocations: 4.375 kB / 0.5666 GB, free: 15.45 MB / 414.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001889/0.3865, allocations: 66.22 kB / 0.5667 GB, free: 15.38 MB / 414.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.3865, allocations: 192 / 0.5667 GB, free: 15.38 MB / 414.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.3865, allocations: 3.938 kB / 0.5667 GB, free: 15.37 MB / 414.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.3865, allocations: 0 / 0.5667 GB, free: 15.37 MB / 414.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001323/0.3867, allocations: 35.97 kB / 0.5667 GB, free: 15.34 MB / 414.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005119/0.3872, allocations: 359.7 kB / 0.567 GB, free: 14.94 MB / 414.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001437/0.3873, allocations: 50.55 kB / 0.5671 GB, free: 14.88 MB / 414.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 7.087e-05/0.3874, allocations: 16.94 kB / 0.5671 GB, free: 14.86 MB / 414.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.531e-05/0.3874, allocations: 4 kB / 0.5671 GB, free: 14.86 MB / 414.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.143e-05/0.3874, allocations: 34.56 kB / 0.5671 GB, free: 14.82 MB / 414.1 MB
Notification: Performance of pre-optimization done (n=4): time 2.995e-06/0.3875, allocations: 3.984 kB / 0.5671 GB, free: 14.81 MB / 414.1 MB
Notification: Performance of matching and sorting (n=7): time 0.0008937/0.3883, allocations: 300.6 kB / 0.5674 GB, free: 14.51 MB / 414.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.861e-05/0.3884, allocations: 51.41 kB / 0.5675 GB, free: 14.45 MB / 414.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001022/0.3894, allocations: 0.8652 MB / 0.5683 GB, free: 13.57 MB / 414.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.56e-05/0.3894, allocations: 25.7 kB / 0.5683 GB, free: 13.54 MB / 414.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001946/0.3896, allocations: 216.1 kB / 0.5685 GB, free: 13.32 MB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 3.588e-05/0.3897, allocations: 27.75 kB / 0.5686 GB, free: 13.3 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.541e-05/0.3897, allocations: 21.72 kB / 0.5686 GB, free: 13.27 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 0.0002155/0.3899, allocations: 366.7 kB / 0.5689 GB, free: 12.9 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001215/0.3901, allocations: 35.97 kB / 0.569 GB, free: 12.87 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001096/0.3902, allocations: 27.97 kB / 0.569 GB, free: 12.84 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002022/0.3904, allocations: 72.81 kB / 0.5691 GB, free: 12.77 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.3904, allocations: 0 / 0.5691 GB, free: 12.77 MB / 414.1 MB
Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003188/0.3907, allocations: 145.4 kB / 0.5692 GB, free: 12.62 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.3907, allocations: 7.938 kB / 0.5692 GB, free: 12.61 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.3907, allocations: 4 kB / 0.5692 GB, free: 12.61 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.3907, allocations: 3.938 kB / 0.5692 GB, free: 12.6 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001355/0.3909, allocations: 27.91 kB / 0.5693 GB, free: 12.57 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.3909, allocations: 4 kB / 0.5693 GB, free: 12.57 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.146e-05/0.3909, allocations: 4 kB / 0.5693 GB, free: 12.57 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.361e-05/0.3909, allocations: 7.984 kB / 0.5693 GB, free: 12.56 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 (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.0002369/0.3912, allocations: 214.2 kB / 0.5695 GB, free: 12.34 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 6.863e-05/0.3913, allocations: 39.72 kB / 0.5695 GB, free: 12.3 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004312/0.3917, allocations: 181.7 kB / 0.5697 GB, free: 12.11 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.3917, allocations: 0 / 0.5697 GB, free: 12.11 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/0.3917, allocations: 8 kB / 0.5697 GB, free: 12.1 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.3917, allocations: 0 / 0.5697 GB, free: 12.1 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000782/0.3925, allocations: 473.4 kB / 0.5701 GB, free: 11.59 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.3925, allocations: 0 / 0.5701 GB, free: 11.59 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.467e-05/0.3926, allocations: 23.98 kB / 0.5702 GB, free: 11.57 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.3926, allocations: 0 / 0.5702 GB, free: 11.57 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/0.3926, allocations: 4 kB / 0.5702 GB, free: 11.56 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.3926, allocations: 0 / 0.5702 GB, free: 11.56 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.3926, allocations: 3.938 kB / 0.5702 GB, free: 11.56 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003726/0.393, allocations: 247.2 kB / 0.5704 GB, free: 11.3 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 5.84e-05/0.393, allocations: 35.7 kB / 0.5704 GB, free: 11.27 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.639e-05/0.3931, allocations: 0 / 0.5704 GB, free: 11.27 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.802e-05/0.3931, allocations: 11.98 kB / 0.5705 GB, free: 11.25 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.901e-05/0.3932, allocations: 7.938 kB / 0.5705 GB, free: 11.25 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.286e-06/0.3932, allocations: 4 kB / 0.5705 GB, free: 11.24 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 0.0007858/0.394, allocations: 0.6511 MB / 0.5711 GB, free: 10.59 MB / 414.1 MB
Notification: Performance of sort global known variables: time 7e-08/0.394, allocations: 0 / 0.5711 GB, free: 10.59 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.0002594/0.3943, allocations: 24 kB / 0.5711 GB, free: 10.57 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 (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 Backend phase and start with SimCode phase: time 0.001489/0.3957, allocations: 406.4 kB / 0.5715 GB, free: 10.3 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.0003142/0.3961, allocations: 79.86 kB / 0.5716 GB, free: 10.23 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.3961, allocations: 4 kB / 0.5716 GB, free: 10.22 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0001171/0.3962, allocations: 39.97 kB / 0.5716 GB, free: 10.18 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004518/0.3966, allocations: 21.95 kB / 0.5717 GB, free: 10.16 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00134/0.398, allocations: 0.8375 MB / 0.5725 GB, free: 9.297 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004832/0.3984, allocations: 0.8229 MB / 0.5733 GB, free: 8.445 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 6.103e-05/0.3985, allocations: 16.3 kB / 0.5733 GB, free: 8.43 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.865e-05/0.3985, allocations: 19.42 kB / 0.5733 GB, free: 8.414 MB / 414.1 MB
Notification: Performance of SimCode: time 5.31e-07/0.3985, allocations: 0 / 0.5733 GB, free: 8.414 MB / 414.1 MB
Notification: Performance of Templates: time 0.006234/0.4048, allocations: 1.616 MB / 0.5749 GB, free: 6.801 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test6.makefile [Timeout 660]
(rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test6.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test6  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test6.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.31674702744931]