Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.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.001578/0.001578, allocations: 110 kB / 21.23 MB, free: 0.6602 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.001541/0.001541, allocations: 186.5 kB / 24.51 MB, free: 4.035 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.523/1.523, allocations: 225.6 MB / 253.3 MB, free: 13.03 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.3276/0.3276, allocations: 44.91 MB / 353.5 MB, free: 11.82 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.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27")
translateModel(ModelicaTest.Tables.CombiTimeTable.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001941, allocations: 63.89 kB / 497.8 MB, free: 0.9492 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4133/0.4152, allocations: 64.29 MB / 0.5489 GB, free: 13.15 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.004159/0.4194, allocations: 1.728 MB / 0.5506 GB, free: 11.8 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001692/0.4211, allocations: 0.8992 MB / 0.5514 GB, free: 11.1 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 7.903e-05/0.4211, allocations: 9.188 kB / 0.5514 GB, free: 11.09 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0003087/0.4214, allocations: 41.81 kB / 0.5515 GB, free: 11.06 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0002425/0.4217, allocations: 54.92 kB / 0.5515 GB, free: 11.02 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0003598/0.422, allocations: 115 kB / 0.5517 GB, free: 10.95 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0002057/0.4222, allocations: 97.61 kB / 0.5517 GB, free: 10.89 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.4224, allocations: 8.594 kB / 0.5518 GB, free: 10.88 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001044/0.4225, allocations: 45.12 kB / 0.5518 GB, free: 10.85 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 8.592e-05/0.4226, allocations: 25.7 kB / 0.5518 GB, free: 10.84 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.135e-05/0.4226, allocations: 2.719 kB / 0.5518 GB, free: 10.84 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.000114/0.4227, allocations: 55.34 kB / 0.5519 GB, free: 10.81 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 7.208e-05/0.4228, allocations: 22.39 kB / 0.5519 GB, free: 10.79 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 6.367e-05/0.4228, allocations: 35.39 kB / 0.5519 GB, free: 10.77 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0002408/0.4231, allocations: 110.5 kB / 0.552 GB, free: 10.7 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.4231, allocations: 1.156 kB / 0.552 GB, free: 10.7 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.102e-06/0.4231, allocations: 0 / 0.552 GB, free: 10.7 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 1.085e-05/0.4231, allocations: 0 / 0.552 GB, free: 10.7 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.0007361/0.4238, allocations: 343.3 kB / 0.5524 GB, free: 10.37 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 5.305e-05/0.4239, allocations: 10.45 kB / 0.5524 GB, free: 10.37 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.048e-05/0.4239, allocations: 12.52 kB / 0.5524 GB, free: 10.36 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003602/0.4243, allocations: 149.7 kB / 0.5525 GB, free: 10.2 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.066e-05/0.4243, allocations: 9.5 kB / 0.5525 GB, free: 10.2 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.983e-05/0.4243, allocations: 14.53 kB / 0.5526 GB, free: 10.18 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001799/0.4245, allocations: 54.61 kB / 0.5526 GB, free: 10.14 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.4245, allocations: 0 / 0.5526 GB, free: 10.14 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.4245, allocations: 1.062 kB / 0.5526 GB, free: 10.14 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.4246, allocations: 0 / 0.5526 GB, free: 10.14 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 8.728e-05/0.4246, allocations: 18.8 kB / 0.5526 GB, free: 10.13 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004613/0.4251, allocations: 265.1 kB / 0.5529 GB, free: 9.848 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002108/0.4253, allocations: 52.41 kB / 0.5529 GB, free: 9.809 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 6.46e-05/0.4254, allocations: 20.31 kB / 0.5529 GB, free: 9.793 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.001e-05/0.4254, allocations: 1.031 kB / 0.5529 GB, free: 9.793 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002443/0.4256, allocations: 69.55 kB / 0.553 GB, free: 9.727 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=6): time 1.362e-06/0.4256, allocations: 0 / 0.553 GB, free: 9.727 MB / 398.1 MB
Notification: Performance of matching and sorting (n=8): time 0.0007078/0.4264, allocations: 173.3 kB / 0.5532 GB, free: 9.625 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.49e-05/0.4264, allocations: 57.44 kB / 0.5532 GB, free: 9.559 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000277/0.4267, allocations: 183.7 kB / 0.5534 GB, free: 9.422 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.4267, allocations: 26.64 kB / 0.5534 GB, free: 9.391 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 7.005e-05/0.4268, allocations: 96.52 kB / 0.5535 GB, free: 9.297 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 5.343e-05/0.4268, allocations: 31.78 kB / 0.5536 GB, free: 9.27 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 7.738e-05/0.4269, allocations: 24.78 kB / 0.5536 GB, free: 9.246 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.000238/0.4272, allocations: 326.5 kB / 0.5539 GB, free: 8.922 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 7.159e-05/0.4272, allocations: 18.45 kB / 0.5539 GB, free: 8.914 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 7.966e-05/0.4273, allocations: 39.77 kB / 0.5539 GB, free: 8.883 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001346/0.4274, allocations: 63.42 kB / 0.554 GB, free: 8.84 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.4274, allocations: 4 kB / 0.554 GB, free: 8.836 MB / 398.1 MB
Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002411/0.4277, allocations: 98.78 kB / 0.5541 GB, free: 8.773 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.549e-05/0.4277, allocations: 7.156 kB / 0.5541 GB, free: 8.773 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.4277, allocations: 0 / 0.5541 GB, free: 8.773 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 2.319e-05/0.4277, allocations: 1.125 kB / 0.5541 GB, free: 8.773 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001124/0.4279, allocations: 25.45 kB / 0.5541 GB, free: 8.762 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.876e-06/0.4279, allocations: 1.188 kB / 0.5541 GB, free: 8.762 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.552e-05/0.4279, allocations: 6.156 kB / 0.5541 GB, free: 8.758 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.151e-05/0.4279, allocations: 2.75 kB / 0.5541 GB, free: 8.758 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.0001519/0.4281, allocations: 134.8 kB / 0.5543 GB, free: 8.625 MB / 398.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.924e-05/0.4281, allocations: 13.53 kB / 0.5543 GB, free: 8.617 MB / 398.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003751/0.4285, allocations: 118.5 kB / 0.5544 GB, free: 8.535 MB / 398.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.4285, allocations: 1.031 kB / 0.5544 GB, free: 8.535 MB / 398.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 8.226e-06/0.4285, allocations: 5.125 kB / 0.5544 GB, free: 8.531 MB / 398.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.4285, allocations: 3.938 kB / 0.5544 GB, free: 8.527 MB / 398.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005095/0.429, allocations: 364.6 kB / 0.5548 GB, free: 8.18 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.429, allocations: 1.125 kB / 0.5548 GB, free: 8.18 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.125e-05/0.4291, allocations: 7.156 kB / 0.5548 GB, free: 8.18 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.4291, allocations: 1.156 kB / 0.5548 GB, free: 8.18 MB / 398.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.651e-05/0.4291, allocations: 6.344 kB / 0.5548 GB, free: 8.176 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.4291, allocations: 0 / 0.5548 GB, free: 8.176 MB / 398.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.4291, allocations: 5.109 kB / 0.5548 GB, free: 8.172 MB / 398.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002881/0.4294, allocations: 204.4 kB / 0.555 GB, free: 7.996 MB / 398.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 2.123e-05/0.4294, allocations: 11.41 kB / 0.555 GB, free: 7.988 MB / 398.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.175e-05/0.4294, allocations: 9.062 kB / 0.555 GB, free: 7.98 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.675e-05/0.4295, allocations: 2.438 kB / 0.555 GB, free: 7.98 MB / 398.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.745e-05/0.4295, allocations: 7.359 kB / 0.555 GB, free: 7.977 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.726e-05/0.4296, allocations: 3.406 kB / 0.555 GB, free: 7.977 MB / 398.1 MB
Notification: Performance of sorting global known variables: time 0.0001443/0.4297, allocations: 146 kB / 0.5551 GB, free: 7.871 MB / 398.1 MB
Notification: Performance of sort global known variables: time 6e-08/0.4297, allocations: 0 / 0.5551 GB, free: 7.871 MB / 398.1 MB
Notification: Performance of remove unused functions: time 0.000313/0.43, allocations: 23.25 kB / 0.5552 GB, free: 7.863 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.001782/0.4318, allocations: 469.4 kB / 0.5556 GB, free: 7.637 MB / 398.1 MB
Notification: Performance of simCode: created initialization part: time 0.0002463/0.432, allocations: 56.22 kB / 0.5557 GB, free: 7.613 MB / 398.1 MB
Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.4321, allocations: 4.062 kB / 0.5557 GB, free: 7.609 MB / 398.1 MB
Notification: Performance of simCode: created simulation system equations: time 9.061e-05/0.4321, allocations: 23.7 kB / 0.5557 GB, free: 7.602 MB / 398.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004126/0.4326, allocations: 38.88 kB / 0.5557 GB, free: 7.582 MB / 398.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005816/0.4331, allocations: 225.7 kB / 0.5559 GB, free: 7.395 MB / 398.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004458/0.4336, allocations: 0.7085 MB / 0.5566 GB, free: 6.68 MB / 398.1 MB
Notification: Performance of simCode: alias equations: time 5.277e-05/0.4336, allocations: 14.05 kB / 0.5567 GB, free: 6.676 MB / 398.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.751e-05/0.4337, allocations: 19.05 kB / 0.5567 GB, free: 6.664 MB / 398.1 MB
Notification: Performance of SimCode: time 3.01e-07/0.4337, allocations: 0 / 0.5567 GB, free: 6.664 MB / 398.1 MB
Notification: Performance of Templates: time 0.005583/0.4393, allocations: 1.748 MB / 0.5584 GB, free: 5.539 MB / 398.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.makefile [Timeout 660]
(rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test27/Test27.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.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.649369640275836]