Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.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.001764/0.001764, allocations: 109 kB / 21.23 MB, free: 0.6719 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.001833/0.001833, allocations: 209.2 kB / 24.53 MB, free: 4.035 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.411/1.411, allocations: 230.3 MB / 258 MB, free: 8.25 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.2344/0.2344, allocations: 46.89 MB / 361.3 MB, free: 4.465 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.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45")
translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002244/0.002244, allocations: 79.88 kB / 0.4971 GB, free: 7.551 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4074/0.4096, allocations: 66.03 MB / 0.5616 GB, free: 4.633 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.003574/0.4132, allocations: 1.743 MB / 0.5633 GB, free: 2.879 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002076/0.4153, allocations: 1.057 MB / 0.5643 GB, free: 1.816 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 8.783e-05/0.4153, allocations: 3.938 kB / 0.5643 GB, free: 1.812 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0003438/0.4157, allocations: 47.7 kB / 0.5644 GB, free: 1.766 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0003427/0.416, allocations: 91.59 kB / 0.5645 GB, free: 1.676 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0002384/0.4163, allocations: 83.66 kB / 0.5645 GB, free: 1.594 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0002101/0.4165, allocations: 99.77 kB / 0.5646 GB, free: 1.496 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.4166, allocations: 7.984 kB / 0.5646 GB, free: 1.488 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001098/0.4167, allocations: 59.66 kB / 0.5647 GB, free: 1.43 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001011/0.4168, allocations: 31.84 kB / 0.5647 GB, free: 1.398 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.204e-05/0.4168, allocations: 4 kB / 0.5647 GB, free: 1.395 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.000114/0.4169, allocations: 39.98 kB / 0.5648 GB, free: 1.355 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 6.712e-05/0.417, allocations: 23.91 kB / 0.5648 GB, free: 1.332 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 6.346e-05/0.4171, allocations: 35.75 kB / 0.5648 GB, free: 1.297 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.000259/0.4173, allocations: 125.9 kB / 0.565 GB, free: 1.18 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.4173, allocations: 4 kB / 0.565 GB, free: 1.176 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.623e-06/0.4173, allocations: 4 kB / 0.565 GB, free: 1.172 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 6.112e-06/0.4173, allocations: 0 / 0.565 GB, free: 1.172 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: 6
 * Number of variables: 6
Notification: Performance of Generate backend data structure: time 0.0006763/0.418, allocations: 349.5 kB / 0.5653 GB, free: 0.8008 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/0.4181, allocations: 8.031 kB / 0.5653 GB, free: 0.793 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.235e-05/0.4181, allocations: 8.891 kB / 0.5653 GB, free: 0.7852 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003406/0.4185, allocations: 166.2 kB / 0.5655 GB, free: 0.5977 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.4185, allocations: 4.375 kB / 0.5655 GB, free: 0.5938 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.46e-05/0.4185, allocations: 384 / 0.5655 GB, free: 0.5938 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001716/0.4187, allocations: 65.92 kB / 0.5655 GB, free: 0.5234 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.4187, allocations: 4 kB / 0.5655 GB, free: 0.5195 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.4187, allocations: 0 / 0.5655 GB, free: 0.5195 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.4187, allocations: 0 / 0.5655 GB, free: 0.5195 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 8.071e-05/0.4188, allocations: 23.98 kB / 0.5656 GB, free: 0.4961 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004227/0.4192, allocations: 255.9 kB / 0.5658 GB, free: 208 kB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001894/0.4194, allocations: 66.61 kB / 0.5659 GB, free: 132 kB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 5.394e-05/0.4194, allocations: 16.86 kB / 0.5659 GB, free: 112 kB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.365e-05/0.4195, allocations: 7.938 kB / 0.5659 GB, free: 104 kB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001486/0.4196, allocations: 63.38 kB / 0.566 GB, free: 28 kB / 398.1 MB
Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.4196, allocations: 0 / 0.566 GB, free: 28 kB / 398.1 MB
Notification: Performance of matching and sorting (n=8): time 0.0006074/0.4202, allocations: 181.3 kB / 0.5661 GB, free: 15.84 MB / 414.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.947e-05/0.4203, allocations: 55.41 kB / 0.5662 GB, free: 15.78 MB / 414.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002259/0.4205, allocations: 218.7 kB / 0.5664 GB, free: 15.55 MB / 414.1 MB
Notification: Performance of collectPreVariables (initialization): time 1.958e-05/0.4205, allocations: 25.7 kB / 0.5664 GB, free: 15.52 MB / 414.1 MB
Notification: Performance of collectInitialEqns (initialization): time 8.166e-05/0.4206, allocations: 112.1 kB / 0.5665 GB, free: 15.41 MB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 3.314e-05/0.4206, allocations: 19.86 kB / 0.5665 GB, free: 15.39 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.289e-05/0.4207, allocations: 25.7 kB / 0.5666 GB, free: 15.36 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001588/0.4208, allocations: 330.8 kB / 0.5669 GB, free: 15.02 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 5.705e-05/0.4209, allocations: 16 kB / 0.5669 GB, free: 15.01 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 7.103e-05/0.421, allocations: 41.64 kB / 0.5669 GB, free: 14.96 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.000118/0.4211, allocations: 57.7 kB / 0.567 GB, free: 14.9 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.4211, allocations: 0 / 0.567 GB, free: 14.9 MB / 414.1 MB
Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001959/0.4213, allocations: 109.5 kB / 0.5671 GB, free: 14.79 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.4213, allocations: 4 kB / 0.5671 GB, free: 14.78 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.4213, allocations: 0 / 0.5671 GB, free: 14.78 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.4213, allocations: 8.031 kB / 0.5671 GB, free: 14.77 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.996e-05/0.4214, allocations: 12 kB / 0.5671 GB, free: 14.76 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.4214, allocations: 0 / 0.5671 GB, free: 14.76 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.749e-05/0.4214, allocations: 7.984 kB / 0.5671 GB, free: 14.75 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.956e-06/0.4215, allocations: 4 kB / 0.5671 GB, free: 14.75 MB / 414.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 2
 * Number of states: 0 ()
 * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (10):
 * Single equations (assignments): 10
 * 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.0001162/0.4216, allocations: 131 kB / 0.5673 GB, free: 14.61 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.821e-05/0.4216, allocations: 15.91 kB / 0.5673 GB, free: 14.6 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002585/0.4219, allocations: 123.1 kB / 0.5674 GB, free: 14.46 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.4219, allocations: 4 kB / 0.5674 GB, free: 14.46 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.4219, allocations: 0 / 0.5674 GB, free: 14.46 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.4219, allocations: 3.984 kB / 0.5674 GB, free: 14.46 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004559/0.4223, allocations: 374.3 kB / 0.5678 GB, free: 14.04 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.4223, allocations: 0 / 0.5678 GB, free: 14.04 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.234e-05/0.4224, allocations: 8 kB / 0.5678 GB, free: 14.03 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.4224, allocations: 3.984 kB / 0.5678 GB, free: 14.03 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.4224, allocations: 384 / 0.5678 GB, free: 14.03 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.995e-06/0.4224, allocations: 11.92 kB / 0.5678 GB, free: 14.02 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.4224, allocations: 7.969 kB / 0.5678 GB, free: 14.01 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002473/0.4226, allocations: 204.5 kB / 0.568 GB, free: 13.79 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 2.003e-05/0.4227, allocations: 7.953 kB / 0.568 GB, free: 13.78 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.302e-05/0.4227, allocations: 3.938 kB / 0.568 GB, free: 13.78 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.277e-05/0.4227, allocations: 7.938 kB / 0.568 GB, free: 13.77 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.186e-05/0.4228, allocations: 7.984 kB / 0.568 GB, free: 13.76 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.281e-05/0.4228, allocations: 8 kB / 0.568 GB, free: 13.75 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 0.0001438/0.4229, allocations: 156.3 kB / 0.5682 GB, free: 13.6 MB / 414.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.4229, allocations: 0 / 0.5682 GB, free: 13.6 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.0002695/0.4232, allocations: 23.98 kB / 0.5682 GB, free: 13.58 MB / 414.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 2
 * Number of states: 0 ()
 * 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 (8):
 * Single equations (assignments): 6
 * 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.001667/0.4249, allocations: 460 kB / 0.5686 GB, free: 13.29 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.0001956/0.4251, allocations: 51.97 kB / 0.5687 GB, free: 13.23 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.4251, allocations: 0 / 0.5687 GB, free: 13.23 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 7.204e-05/0.4252, allocations: 23.94 kB / 0.5687 GB, free: 13.21 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003519/0.4255, allocations: 36.22 kB / 0.5687 GB, free: 13.18 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005069/0.426, allocations: 238.8 kB / 0.569 GB, free: 12.91 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004038/0.4264, allocations: 0.708 MB / 0.5696 GB, free: 12.18 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 5.614e-05/0.4265, allocations: 20.95 kB / 0.5697 GB, free: 12.16 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.048e-05/0.4265, allocations: 15.44 kB / 0.5697 GB, free: 12.14 MB / 414.1 MB
Notification: Performance of SimCode: time 3.1e-07/0.4265, allocations: 0 / 0.5697 GB, free: 12.14 MB / 414.1 MB
Notification: Performance of Templates: time 0.005212/0.4317, allocations: 1.78 MB / 0.5714 GB, free: 10.39 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.makefile [Timeout 660]
(rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.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.133656817488372]