Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.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.001355/0.001355, 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.001601/0.001601, 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.412/1.412, allocations: 230.3 MB / 257.9 MB, free: 8.246 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.223/0.223, allocations: 46.89 MB / 361.3 MB, free: 4.457 MB / 286.1 MB
"
[Timeout remaining time 180]
Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11")
translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002304/0.002304, allocations: 79.86 kB / 0.4971 GB, free: 7.547 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.329/0.3313, allocations: 66.02 MB / 0.5616 GB, free: 4.629 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.003291/0.3346, allocations: 1.964 MB / 0.5635 GB, free: 2.652 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001742/0.3363, allocations: 1.084 MB / 0.5646 GB, free: 1.562 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 8.85e-05/0.3364, allocations: 7.938 kB / 0.5646 GB, free: 1.555 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0002999/0.3367, allocations: 43.7 kB / 0.5646 GB, free: 1.512 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0002901/0.337, allocations: 99.53 kB / 0.5647 GB, free: 1.414 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.000222/0.3372, allocations: 99.64 kB / 0.5648 GB, free: 1.316 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0002454/0.3375, allocations: 147.5 kB / 0.5649 GB, free: 1.172 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001316/0.3376, allocations: 24.55 kB / 0.565 GB, free: 1.145 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.000124/0.3377, allocations: 63.7 kB / 0.565 GB, free: 1.082 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001079/0.3379, allocations: 51.72 kB / 0.5651 GB, free: 1.031 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.23e-05/0.3379, allocations: 11.94 kB / 0.5651 GB, free: 1.02 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001091/0.338, allocations: 47.98 kB / 0.5651 GB, free: 0.9727 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 7.147e-05/0.3381, allocations: 31.84 kB / 0.5652 GB, free: 0.9414 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 8.104e-05/0.3381, allocations: 55.61 kB / 0.5652 GB, free: 0.8867 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0002918/0.3384, allocations: 151 kB / 0.5654 GB, free: 0.7422 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.3384, allocations: 0 / 0.5654 GB, free: 0.7422 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.212e-06/0.3384, allocations: 0 / 0.5654 GB, free: 0.7422 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 5.37e-06/0.3384, allocations: 0 / 0.5654 GB, free: 0.7422 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: 15
 * Number of variables: 15
Notification: Performance of Generate backend data structure: time 0.0006725/0.3391, allocations: 419 kB / 0.5658 GB, free: 304 kB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.3392, allocations: 8.031 kB / 0.5658 GB, free: 296 kB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.449e-05/0.3392, allocations: 16.84 kB / 0.5658 GB, free: 280 kB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003005/0.3395, allocations: 179 kB / 0.566 GB, free: 72 kB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.3395, allocations: 384 / 0.566 GB, free: 72 kB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.054e-05/0.3395, allocations: 8.375 kB / 0.566 GB, free: 64 kB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002793/0.3398, allocations: 118.7 kB / 0.5661 GB, free: 15.93 MB / 414.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 8.637e-06/0.3398, allocations: 0 / 0.5661 GB, free: 15.93 MB / 414.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.499e-05/0.3399, allocations: 4 kB / 0.5661 GB, free: 15.93 MB / 414.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.605e-06/0.3399, allocations: 4 kB / 0.5661 GB, free: 15.93 MB / 414.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000159/0.34, allocations: 47.84 kB / 0.5661 GB, free: 15.88 MB / 414.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006264/0.3406, allocations: 484.1 kB / 0.5666 GB, free: 15.36 MB / 414.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003269/0.341, allocations: 86.59 kB / 0.5667 GB, free: 15.26 MB / 414.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 9.974e-05/0.3411, allocations: 32.84 kB / 0.5667 GB, free: 15.23 MB / 414.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.066e-05/0.3411, allocations: 3.984 kB / 0.5667 GB, free: 15.22 MB / 414.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001908/0.3413, allocations: 87.38 kB / 0.5668 GB, free: 15.12 MB / 414.1 MB
Notification: Performance of pre-optimization done (n=9): time 1.342e-06/0.3413, allocations: 0 / 0.5668 GB, free: 15.12 MB / 414.1 MB
Notification: Performance of matching and sorting (n=9): time 0.000403/0.3417, allocations: 137.5 kB / 0.5669 GB, free: 14.98 MB / 414.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.128e-05/0.3417, allocations: 59.41 kB / 0.567 GB, free: 14.91 MB / 414.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002077/0.3419, allocations: 211 kB / 0.5672 GB, free: 14.7 MB / 414.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.253e-05/0.342, allocations: 30.08 kB / 0.5672 GB, free: 14.66 MB / 414.1 MB
Notification: Performance of collectInitialEqns (initialization): time 8.352e-05/0.342, allocations: 120.1 kB / 0.5673 GB, free: 14.54 MB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 3.2e-05/0.3421, allocations: 35.72 kB / 0.5674 GB, free: 14.51 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.04e-05/0.3421, allocations: 25.72 kB / 0.5674 GB, free: 14.48 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001476/0.3423, allocations: 330.8 kB / 0.5677 GB, free: 14.14 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 9.07e-05/0.3424, allocations: 27.98 kB / 0.5677 GB, free: 14.12 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001191/0.3425, allocations: 63.28 kB / 0.5678 GB, free: 14.04 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001981/0.3427, allocations: 96.2 kB / 0.5679 GB, free: 13.93 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.3427, allocations: 4 kB / 0.5679 GB, free: 13.93 MB / 414.1 MB
Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002997/0.343, allocations: 141.4 kB / 0.568 GB, free: 13.79 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.343, allocations: 4 kB / 0.568 GB, free: 13.78 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.343, allocations: 0 / 0.568 GB, free: 13.78 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 2.086e-05/0.343, allocations: 4 kB / 0.568 GB, free: 13.78 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.3431, allocations: 27.92 kB / 0.568 GB, free: 13.75 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.3431, allocations: 0 / 0.568 GB, free: 13.75 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.303e-05/0.3432, allocations: 15.89 kB / 0.5681 GB, free: 13.73 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.331e-05/0.3432, allocations: 7.984 kB / 0.5681 GB, free: 13.73 MB / 414.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 5
 * Number of states: 0 ()
 * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (14):
 * Single equations (assignments): 14
 * 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.0001504/0.3434, allocations: 140.2 kB / 0.5682 GB, free: 13.58 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.685e-05/0.3434, allocations: 11.91 kB / 0.5682 GB, free: 13.57 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003134/0.3437, allocations: 127 kB / 0.5683 GB, free: 13.44 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.3437, allocations: 3.938 kB / 0.5683 GB, free: 13.43 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.3437, allocations: 0 / 0.5683 GB, free: 13.43 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.3437, allocations: 3.938 kB / 0.5683 GB, free: 13.43 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001974/0.3439, allocations: 184.7 kB / 0.5685 GB, free: 13.21 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.3439, allocations: 192 / 0.5685 GB, free: 13.21 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.541e-05/0.344, allocations: 12 kB / 0.5685 GB, free: 13.2 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.344, allocations: 7.875 kB / 0.5685 GB, free: 13.19 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.344, allocations: 4 kB / 0.5685 GB, free: 13.18 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.344, allocations: 0 / 0.5685 GB, free: 13.18 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.344, allocations: 0 / 0.5685 GB, free: 13.18 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003999/0.3444, allocations: 184.8 kB / 0.5687 GB, free: 12.98 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 2.327e-05/0.3444, allocations: 11.94 kB / 0.5687 GB, free: 12.97 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.499e-05/0.3445, allocations: 8.062 kB / 0.5687 GB, free: 12.96 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.025e-05/0.3445, allocations: 7.984 kB / 0.5687 GB, free: 12.96 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.505e-05/0.3446, allocations: 11.92 kB / 0.5688 GB, free: 12.95 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.822e-05/0.3446, allocations: 4 kB / 0.5688 GB, free: 12.94 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 0.0001376/0.3447, allocations: 143.2 kB / 0.5689 GB, free: 12.8 MB / 414.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.3447, allocations: 0 / 0.5689 GB, free: 12.8 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.0002352/0.345, allocations: 27.94 kB / 0.5689 GB, free: 12.77 MB / 414.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 1 (err1.y)
 * 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 (9):
 * Single equations (assignments): 7
 * 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.001454/0.3464, allocations: 407 kB / 0.5693 GB, free: 12.5 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.000266/0.3467, allocations: 71.89 kB / 0.5694 GB, free: 12.43 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3467, allocations: 0 / 0.5694 GB, free: 12.43 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0001008/0.3468, allocations: 36.11 kB / 0.5694 GB, free: 12.4 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003198/0.3471, allocations: 50.34 kB / 0.5695 GB, free: 12.36 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005574/0.3477, allocations: 279.6 kB / 0.5697 GB, free: 12.05 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003548/0.348, allocations: 0.7162 MB / 0.5704 GB, free: 11.31 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 6.261e-05/0.3481, allocations: 21.39 kB / 0.5704 GB, free: 11.29 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 5.024e-05/0.3481, allocations: 23.42 kB / 0.5705 GB, free: 11.27 MB / 414.1 MB
Notification: Performance of SimCode: time 3.1e-07/0.3481, allocations: 4 kB / 0.5705 GB, free: 11.27 MB / 414.1 MB
Notification: Performance of Templates: time 0.005364/0.3535, allocations: 1.94 MB / 0.5724 GB, free: 9.34 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.makefile [Timeout 660]
(rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.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.037496039643884]