Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001559/0.001559, allocations: 109.9 kB / 21.23 MB, free: 0.5273 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001888/0.001888, allocations: 186.7 kB / 24.51 MB, free: 3.941 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.595/1.595, allocations: 225.6 MB / 253.3 MB, free: 13.02 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2527/0.2527, allocations: 44.91 MB / 353.5 MB, free: 11.8 MB / 286.1 MB
"
[Timeout remaining time 179]
Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo)
Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo)
Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo)
Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42")
translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002004/0.002004, allocations: 63.91 kB / 497.8 MB, free: 0.9141 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.407/0.409, allocations: 64.29 MB / 0.5489 GB, free: 13.12 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.00429/0.4133, allocations: 1.731 MB / 0.5506 GB, free: 11.77 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001873/0.4152, allocations: 0.903 MB / 0.5514 GB, free: 11.07 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 7.434e-05/0.4152, allocations: 5.156 kB / 0.5515 GB, free: 11.06 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0003087/0.4155, allocations: 40.86 kB / 0.5515 GB, free: 11.04 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.000235/0.4158, allocations: 57.56 kB / 0.5515 GB, free: 10.99 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0003224/0.4161, allocations: 111.5 kB / 0.5517 GB, free: 10.92 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0002067/0.4163, allocations: 94.16 kB / 0.5517 GB, free: 10.86 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001194/0.4164, allocations: 8.484 kB / 0.5518 GB, free: 10.86 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.000118/0.4165, allocations: 52.52 kB / 0.5518 GB, free: 10.82 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 8.983e-05/0.4166, allocations: 29.61 kB / 0.5518 GB, free: 10.8 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.262e-05/0.4167, allocations: 4.562 kB / 0.5518 GB, free: 10.8 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001347/0.4168, allocations: 49.66 kB / 0.5519 GB, free: 10.78 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 6.713e-05/0.4169, allocations: 19.83 kB / 0.5519 GB, free: 10.77 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 6.501e-05/0.4169, allocations: 31.62 kB / 0.5519 GB, free: 10.74 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.000264/0.4172, allocations: 120.1 kB / 0.552 GB, free: 10.67 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.4172, allocations: 0 / 0.552 GB, free: 10.67 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.463e-06/0.4172, allocations: 0 / 0.552 GB, free: 10.67 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 1.295e-05/0.4172, allocations: 1.094 kB / 0.552 GB, free: 10.67 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.0006786/0.4179, allocations: 341.7 kB / 0.5524 GB, free: 10.34 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.97e-05/0.4179, allocations: 10.3 kB / 0.5524 GB, free: 10.34 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.681e-05/0.418, allocations: 13.45 kB / 0.5524 GB, free: 10.33 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003484/0.4183, allocations: 156.4 kB / 0.5525 GB, free: 10.17 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.65e-05/0.4184, allocations: 1.688 kB / 0.5525 GB, free: 10.17 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.286e-05/0.4184, allocations: 13.55 kB / 0.5526 GB, free: 10.16 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001631/0.4186, allocations: 54.22 kB / 0.5526 GB, free: 10.11 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.4186, allocations: 9.094 kB / 0.5526 GB, free: 10.11 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.564e-05/0.4186, allocations: 4 kB / 0.5526 GB, free: 10.1 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.4186, allocations: 1.312 kB / 0.5526 GB, free: 10.1 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 8.018e-05/0.4187, allocations: 21.86 kB / 0.5526 GB, free: 10.09 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004833/0.4192, allocations: 258.1 kB / 0.5529 GB, free: 9.816 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001829/0.4193, allocations: 48.22 kB / 0.5529 GB, free: 9.781 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 5.901e-05/0.4194, allocations: 24.25 kB / 0.553 GB, free: 9.762 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.711e-05/0.4194, allocations: 1.344 kB / 0.553 GB, free: 9.762 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001665/0.4196, allocations: 69.77 kB / 0.553 GB, free: 9.695 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=6): time 1.293e-06/0.4196, allocations: 0 / 0.553 GB, free: 9.695 MB / 398.1 MB
Notification: Performance of matching and sorting (n=8): time 0.0006103/0.4202, allocations: 186.2 kB / 0.5532 GB, free: 9.582 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.998e-05/0.4203, allocations: 56.41 kB / 0.5533 GB, free: 9.516 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002422/0.4205, allocations: 200.5 kB / 0.5535 GB, free: 9.367 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.452e-05/0.4205, allocations: 30.64 kB / 0.5535 GB, free: 9.332 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 7.475e-05/0.4206, allocations: 101.2 kB / 0.5536 GB, free: 9.234 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 3.73e-05/0.4206, allocations: 24.39 kB / 0.5536 GB, free: 9.215 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.602e-05/0.4207, allocations: 23.7 kB / 0.5536 GB, free: 9.191 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001782/0.4209, allocations: 330.2 kB / 0.5539 GB, free: 8.863 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 5.828e-05/0.4209, allocations: 15.66 kB / 0.554 GB, free: 8.859 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 7.702e-05/0.421, allocations: 39.67 kB / 0.554 GB, free: 8.828 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001314/0.4211, allocations: 66.39 kB / 0.5541 GB, free: 8.781 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.4211, allocations: 1.156 kB / 0.5541 GB, free: 8.781 MB / 398.1 MB
Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001972/0.4213, allocations: 99.42 kB / 0.5541 GB, free: 8.719 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.4213, allocations: 4.531 kB / 0.5542 GB, free: 8.719 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.4213, allocations: 1.25 kB / 0.5542 GB, free: 8.719 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.4214, allocations: 1.219 kB / 0.5542 GB, free: 8.719 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.738e-05/0.4215, allocations: 24.31 kB / 0.5542 GB, free: 8.707 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.4215, allocations: 1.188 kB / 0.5542 GB, free: 8.707 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.978e-05/0.4215, allocations: 10.11 kB / 0.5542 GB, free: 8.699 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.247e-06/0.4215, allocations: 3.562 kB / 0.5542 GB, free: 8.699 MB / 398.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.0001267/0.4216, allocations: 126.9 kB / 0.5543 GB, free: 8.574 MB / 398.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.824e-05/0.4217, allocations: 13.84 kB / 0.5543 GB, free: 8.566 MB / 398.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002735/0.4219, allocations: 116.3 kB / 0.5544 GB, free: 8.484 MB / 398.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.422, allocations: 1.125 kB / 0.5544 GB, free: 8.484 MB / 398.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/0.422, allocations: 4 kB / 0.5544 GB, free: 8.48 MB / 398.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.908e-06/0.422, allocations: 9.266 kB / 0.5545 GB, free: 8.473 MB / 398.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005131/0.4225, allocations: 361.3 kB / 0.5548 GB, free: 8.129 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.4225, allocations: 1.031 kB / 0.5548 GB, free: 8.129 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.366e-05/0.4225, allocations: 14.5 kB / 0.5548 GB, free: 8.121 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.4225, allocations: 1.281 kB / 0.5548 GB, free: 8.121 MB / 398.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.601e-05/0.4225, allocations: 10.03 kB / 0.5548 GB, free: 8.113 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.043e-06/0.4225, allocations: 1.094 kB / 0.5548 GB, free: 8.113 MB / 398.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.4225, allocations: 0 / 0.5548 GB, free: 8.113 MB / 398.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002685/0.4228, allocations: 201.3 kB / 0.555 GB, free: 7.941 MB / 398.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 2.358e-05/0.4228, allocations: 11.19 kB / 0.555 GB, free: 7.934 MB / 398.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.109e-05/0.4229, allocations: 13.97 kB / 0.555 GB, free: 7.922 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.054e-05/0.4229, allocations: 2.75 kB / 0.555 GB, free: 7.922 MB / 398.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.355e-05/0.423, allocations: 6.141 kB / 0.555 GB, free: 7.918 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.778e-05/0.423, allocations: 7.375 kB / 0.5551 GB, free: 7.914 MB / 398.1 MB
Notification: Performance of sorting global known variables: time 0.0001452/0.4231, allocations: 152.7 kB / 0.5552 GB, free: 7.809 MB / 398.1 MB
Notification: Performance of sort global known variables: time 9.1e-08/0.4231, allocations: 0 / 0.5552 GB, free: 7.809 MB / 398.1 MB
Notification: Performance of remove unused functions: time 0.0002655/0.4234, allocations: 24.28 kB / 0.5552 GB, free: 7.801 MB / 398.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.001737/0.4251, allocations: 470.8 kB / 0.5557 GB, free: 7.574 MB / 398.1 MB
Notification: Performance of simCode: created initialization part: time 0.0002219/0.4254, allocations: 55.66 kB / 0.5557 GB, free: 7.551 MB / 398.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.4254, allocations: 1.406 kB / 0.5557 GB, free: 7.551 MB / 398.1 MB
Notification: Performance of simCode: created simulation system equations: time 7.592e-05/0.4254, allocations: 23.48 kB / 0.5557 GB, free: 7.543 MB / 398.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003684/0.4258, allocations: 32.95 kB / 0.5558 GB, free: 7.527 MB / 398.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005319/0.4263, allocations: 240.2 kB / 0.556 GB, free: 7.332 MB / 398.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004643/0.4268, allocations: 0.7063 MB / 0.5567 GB, free: 6.621 MB / 398.1 MB
Notification: Performance of simCode: alias equations: time 5.102e-05/0.4269, allocations: 14.28 kB / 0.5567 GB, free: 6.617 MB / 398.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.33e-05/0.4269, allocations: 23.25 kB / 0.5567 GB, free: 6.602 MB / 398.1 MB
Notification: Performance of SimCode: time 3.11e-07/0.4269, allocations: 0 / 0.5567 GB, free: 6.602 MB / 398.1 MB
Notification: Performance of Templates: time 0.005094/0.432, allocations: 1.764 MB / 0.5585 GB, free: 5.41 MB / 398.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.makefile [Timeout 660]
(rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test42/Test42.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.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.424194373190403]