Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.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.001228/0.001228, allocations: 106.5 kB / 21.22 MB, free: 0.5117 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.001456/0.001456, allocations: 217.3 kB / 24.54 MB, free: 3.898 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.46/1.46, allocations: 230.3 MB / 258 MB, free: 8.211 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.2303/0.2303, allocations: 46.89 MB / 361.3 MB, free: 4.52 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.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85")
translateModel(ModelicaTest.Tables.CombiTimeTable.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002778/0.002778, allocations: 79.86 kB / 0.4971 GB, free: 7.531 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4135/0.4163, allocations: 66.02 MB / 0.5616 GB, free: 4.574 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.003757/0.42, allocations: 1.708 MB / 0.5633 GB, free: 2.855 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002131/0.4221, allocations: 1.021 MB / 0.5643 GB, free: 1.828 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001223/0.4223, allocations: 3.938 kB / 0.5643 GB, free: 1.824 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0003394/0.4226, allocations: 55.75 kB / 0.5643 GB, free: 1.77 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0004202/0.423, allocations: 99.59 kB / 0.5644 GB, free: 1.672 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0002601/0.4233, allocations: 75.67 kB / 0.5645 GB, free: 1.598 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0002392/0.4235, allocations: 107.7 kB / 0.5646 GB, free: 1.492 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 4.766e-05/0.4236, allocations: 4.234 kB / 0.5646 GB, free: 1.488 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001354/0.4237, allocations: 51.77 kB / 0.5646 GB, free: 1.438 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001223/0.4238, allocations: 47.72 kB / 0.5647 GB, free: 1.391 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.021e-05/0.4239, allocations: 4 kB / 0.5647 GB, free: 1.387 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001165/0.424, allocations: 31.98 kB / 0.5647 GB, free: 1.355 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 6.793e-05/0.424, allocations: 23.91 kB / 0.5647 GB, free: 1.332 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 6.006e-05/0.4241, allocations: 31.75 kB / 0.5648 GB, free: 1.301 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0002528/0.4244, allocations: 102.1 kB / 0.5649 GB, free: 1.207 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.4244, allocations: 0 / 0.5649 GB, free: 1.207 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.713e-06/0.4244, allocations: 0 / 0.5649 GB, free: 1.207 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 6.522e-06/0.4244, allocations: 0 / 0.5649 GB, free: 1.207 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: 4
 * Number of variables: 4
Notification: Performance of Generate backend data structure: time 0.0006448/0.425, allocations: 341.6 kB / 0.5652 GB, free: 0.8438 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.4251, allocations: 12.03 kB / 0.5652 GB, free: 0.832 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 6.083e-05/0.4251, allocations: 8.891 kB / 0.5652 GB, free: 0.8242 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003296/0.4254, allocations: 151.4 kB / 0.5654 GB, free: 0.6523 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.4255, allocations: 4.375 kB / 0.5654 GB, free: 0.6484 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.223e-05/0.4255, allocations: 384 / 0.5654 GB, free: 0.6484 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.000165/0.4256, allocations: 57.98 kB / 0.5654 GB, free: 0.5859 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.4256, allocations: 0 / 0.5654 GB, free: 0.5859 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.4257, allocations: 0 / 0.5654 GB, free: 0.5859 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.4257, allocations: 0 / 0.5654 GB, free: 0.5859 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 8.637e-05/0.4257, allocations: 15.98 kB / 0.5654 GB, free: 0.5703 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002237/0.426, allocations: 156.7 kB / 0.5656 GB, free: 384 kB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001791/0.4261, allocations: 54.61 kB / 0.5656 GB, free: 320 kB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 5.608e-05/0.4262, allocations: 16.86 kB / 0.5656 GB, free: 300 kB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.055e-05/0.4262, allocations: 0 / 0.5656 GB, free: 300 kB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001713/0.4264, allocations: 67.33 kB / 0.5657 GB, free: 220 kB / 398.1 MB
Notification: Performance of pre-optimization done (n=5): time 1.403e-06/0.4264, allocations: 0 / 0.5657 GB, free: 220 kB / 398.1 MB
Notification: Performance of matching and sorting (n=5): time 0.000324/0.4267, allocations: 105.5 kB / 0.5658 GB, free: 108 kB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.921e-05/0.4268, allocations: 51.41 kB / 0.5659 GB, free: 44 kB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002184/0.427, allocations: 187.2 kB / 0.566 GB, free: 15.85 MB / 414.1 MB
Notification: Performance of collectPreVariables (initialization): time 1.73e-05/0.427, allocations: 25.7 kB / 0.5661 GB, free: 15.82 MB / 414.1 MB
Notification: Performance of collectInitialEqns (initialization): time 6.421e-05/0.4271, allocations: 100.1 kB / 0.5662 GB, free: 15.71 MB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 3.562e-05/0.4271, allocations: 11.95 kB / 0.5662 GB, free: 15.7 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.228e-05/0.4272, allocations: 17.7 kB / 0.5662 GB, free: 15.68 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001597/0.4273, allocations: 330.8 kB / 0.5665 GB, free: 15.35 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 5.606e-05/0.4274, allocations: 12 kB / 0.5665 GB, free: 15.34 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 6.156e-05/0.4274, allocations: 25.7 kB / 0.5665 GB, free: 15.3 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001102/0.4275, allocations: 45.64 kB / 0.5666 GB, free: 15.25 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.588e-06/0.4276, allocations: 4 kB / 0.5666 GB, free: 15.25 MB / 414.1 MB
Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001797/0.4277, allocations: 85.47 kB / 0.5667 GB, free: 15.16 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.438e-05/0.4278, allocations: 8.031 kB / 0.5667 GB, free: 15.15 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.4278, allocations: 160 / 0.5667 GB, free: 15.15 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.91e-05/0.4278, allocations: 4 kB / 0.5667 GB, free: 15.15 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.528e-05/0.4279, allocations: 11.98 kB / 0.5667 GB, free: 15.14 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.4279, allocations: 7.922 kB / 0.5667 GB, free: 15.13 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.726e-05/0.4279, allocations: 4 kB / 0.5667 GB, free: 15.12 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.055e-05/0.4279, allocations: 4.312 kB / 0.5667 GB, free: 15.12 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 (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.0001095/0.428, allocations: 121.8 kB / 0.5668 GB, free: 14.99 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.975e-05/0.4281, allocations: 15.88 kB / 0.5668 GB, free: 14.98 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002375/0.4283, allocations: 102.7 kB / 0.5669 GB, free: 14.86 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-06/0.4283, allocations: 0 / 0.5669 GB, free: 14.86 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.4283, allocations: 4 kB / 0.5669 GB, free: 14.86 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.4283, allocations: 0 / 0.5669 GB, free: 14.86 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001582/0.4285, allocations: 148.7 kB / 0.5671 GB, free: 14.67 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.4285, allocations: 4 kB / 0.5671 GB, free: 14.66 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.491e-05/0.4285, allocations: 7.922 kB / 0.5671 GB, free: 14.66 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 8.726e-06/0.4285, allocations: 7.984 kB / 0.5671 GB, free: 14.65 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.345e-06/0.4285, allocations: 0 / 0.5671 GB, free: 14.65 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.4285, allocations: 0 / 0.5671 GB, free: 14.65 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.4285, allocations: 4 kB / 0.5671 GB, free: 14.64 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000205/0.4287, allocations: 105.1 kB / 0.5672 GB, free: 14.52 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 2.53e-05/0.4288, allocations: 19.77 kB / 0.5672 GB, free: 14.5 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.305e-05/0.4288, allocations: 0 / 0.5672 GB, free: 14.5 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.785e-05/0.4288, allocations: 4 kB / 0.5672 GB, free: 14.5 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.58e-05/0.4288, allocations: 3.984 kB / 0.5672 GB, free: 14.5 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.721e-05/0.4289, allocations: 4 kB / 0.5672 GB, free: 14.49 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 0.0001435/0.429, allocations: 144.9 kB / 0.5674 GB, free: 14.35 MB / 414.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.429, allocations: 0 / 0.5674 GB, free: 14.35 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.0002208/0.4292, allocations: 16 kB / 0.5674 GB, free: 14.34 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: 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 (5):
 * Single equations (assignments): 3
 * 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.001633/0.4309, allocations: 404.3 kB / 0.5678 GB, free: 14.07 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.0001897/0.4311, allocations: 35.98 kB / 0.5678 GB, free: 14.04 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.4311, allocations: 3.938 kB / 0.5678 GB, free: 14.03 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 7.062e-05/0.4311, allocations: 15.98 kB / 0.5678 GB, free: 14.02 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000305/0.4314, allocations: 39.3 kB / 0.5679 GB, free: 13.98 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005157/0.4319, allocations: 197.9 kB / 0.5681 GB, free: 13.77 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003561/0.4323, allocations: 0.7041 MB / 0.5687 GB, free: 13.04 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 6.25e-05/0.4324, allocations: 12.48 kB / 0.5688 GB, free: 13.02 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.552e-05/0.4324, allocations: 15.38 kB / 0.5688 GB, free: 13.01 MB / 414.1 MB
Notification: Performance of SimCode: time 7.42e-07/0.4324, allocations: 4 kB / 0.5688 GB, free: 13.01 MB / 414.1 MB
Notification: Performance of Templates: time 0.004738/0.4371, allocations: 1.525 MB / 0.5703 GB, free: 11.49 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.makefile [Timeout 660]
(rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.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.146332907490432]