Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.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.001698/0.001698, allocations: 108.5 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.001972/0.001972, allocations: 187.4 kB / 24.51 MB, free: 4.031 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.465/1.465, 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.2344/0.2344, allocations: 44.91 MB / 353.5 MB, free: 11.84 MB / 286.1 MB
"
[Timeout remaining time 180]
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.Test30,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.Test30")
translateModel(ModelicaTest.Tables.CombiTimeTable.Test30,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.Test30") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002157/0.002157, allocations: 75.88 kB / 497.8 MB, free: 0.9609 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4085/0.4106, allocations: 64.3 MB / 0.5489 GB, free: 13.14 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.003826/0.4145, allocations: 1.733 MB / 0.5506 GB, free: 11.79 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001954/0.4164, allocations: 0.9038 MB / 0.5515 GB, free: 11.09 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 8.848e-05/0.4165, allocations: 0 / 0.5515 GB, free: 11.09 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0003406/0.4168, allocations: 35.05 kB / 0.5515 GB, free: 11.06 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0002696/0.4171, allocations: 53.33 kB / 0.5515 GB, free: 11.02 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0003483/0.4175, allocations: 115.1 kB / 0.5517 GB, free: 10.95 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0001956/0.4176, allocations: 102.5 kB / 0.5518 GB, free: 10.88 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.4178, allocations: 4.641 kB / 0.5518 GB, free: 10.88 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001075/0.4179, allocations: 43.98 kB / 0.5518 GB, free: 10.85 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 8.749e-05/0.418, allocations: 34.23 kB / 0.5518 GB, free: 10.83 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 1.995e-05/0.418, allocations: 12.09 kB / 0.5518 GB, free: 10.82 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001028/0.4181, allocations: 42.3 kB / 0.5519 GB, free: 10.8 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 6.588e-05/0.4181, allocations: 22.27 kB / 0.5519 GB, free: 10.79 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 6.977e-05/0.4182, allocations: 28.09 kB / 0.5519 GB, free: 10.77 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0002431/0.4185, allocations: 117.9 kB / 0.552 GB, free: 10.7 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.4185, allocations: 1.125 kB / 0.552 GB, free: 10.7 MB / 398.1 MB
Notification: Performance of FrontEnd: time 2.164e-06/0.4185, allocations: 0 / 0.552 GB, free: 10.7 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 6.943e-06/0.4185, 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.0006367/0.4191, allocations: 343.3 kB / 0.5524 GB, free: 10.36 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.4191, allocations: 14.3 kB / 0.5524 GB, free: 10.36 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.28e-05/0.4192, allocations: 9.359 kB / 0.5524 GB, free: 10.36 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003075/0.4195, allocations: 149.2 kB / 0.5525 GB, free: 10.2 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.65e-05/0.4195, allocations: 1.469 kB / 0.5525 GB, free: 10.2 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.825e-05/0.4196, allocations: 6.594 kB / 0.5525 GB, free: 10.2 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001655/0.4197, allocations: 54.64 kB / 0.5526 GB, free: 10.15 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 2.496e-05/0.4197, allocations: 0 / 0.5526 GB, free: 10.15 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.4198, allocations: 0 / 0.5526 GB, free: 10.15 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.4198, allocations: 1.375 kB / 0.5526 GB, free: 10.15 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 8.529e-05/0.4198, allocations: 30.52 kB / 0.5526 GB, free: 10.13 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000456/0.4203, allocations: 256.8 kB / 0.5529 GB, free: 9.855 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001931/0.4205, allocations: 52.58 kB / 0.5529 GB, free: 9.816 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 5.665e-05/0.4206, allocations: 16.23 kB / 0.5529 GB, free: 9.805 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.422e-05/0.4206, allocations: 1.156 kB / 0.5529 GB, free: 9.805 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001756/0.4208, allocations: 73.98 kB / 0.553 GB, free: 9.734 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.4208, allocations: 0 / 0.553 GB, free: 9.734 MB / 398.1 MB
Notification: Performance of matching and sorting (n=8): time 0.0006309/0.4214, allocations: 177.4 kB / 0.5532 GB, free: 9.629 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.924e-05/0.4214, allocations: 52.47 kB / 0.5532 GB, free: 9.566 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002402/0.4217, allocations: 183.9 kB / 0.5534 GB, free: 9.43 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.295e-05/0.4217, allocations: 30.83 kB / 0.5534 GB, free: 9.395 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 7.919e-05/0.4218, allocations: 105.1 kB / 0.5535 GB, free: 9.293 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 3.589e-05/0.4218, allocations: 23.98 kB / 0.5536 GB, free: 9.273 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.763e-05/0.4219, allocations: 23.98 kB / 0.5536 GB, free: 9.25 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001748/0.422, allocations: 326.2 kB / 0.5539 GB, free: 8.926 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 6.24e-05/0.4221, allocations: 19.47 kB / 0.5539 GB, free: 8.918 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 7.407e-05/0.4222, allocations: 34.67 kB / 0.5539 GB, free: 8.891 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001318/0.4223, allocations: 67.83 kB / 0.554 GB, free: 8.844 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.4223, allocations: 0 / 0.554 GB, free: 8.844 MB / 398.1 MB
Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002072/0.4225, allocations: 99.66 kB / 0.5541 GB, free: 8.781 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.4225, allocations: 12.61 kB / 0.5541 GB, free: 8.773 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.4225, allocations: 1.641 kB / 0.5541 GB, free: 8.773 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.4225, allocations: 1.125 kB / 0.5541 GB, free: 8.773 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.418e-05/0.4226, allocations: 17.06 kB / 0.5541 GB, free: 8.77 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/0.4227, allocations: 9.078 kB / 0.5541 GB, free: 8.762 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.015e-05/0.4227, allocations: 9.125 kB / 0.5541 GB, free: 8.754 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.4227, allocations: 11.55 kB / 0.5542 GB, free: 8.746 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.0001219/0.4228, allocations: 127.3 kB / 0.5543 GB, free: 8.621 MB / 398.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.681e-05/0.4229, allocations: 12.66 kB / 0.5543 GB, free: 8.613 MB / 398.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002743/0.4231, allocations: 114.8 kB / 0.5544 GB, free: 8.535 MB / 398.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.4231, allocations: 1.031 kB / 0.5544 GB, free: 8.535 MB / 398.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.4231, allocations: 0.875 kB / 0.5544 GB, free: 8.535 MB / 398.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.4232, allocations: 3.938 kB / 0.5544 GB, free: 8.531 MB / 398.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000524/0.4237, allocations: 365.1 kB / 0.5548 GB, free: 8.184 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.4237, allocations: 0 / 0.5548 GB, free: 8.184 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.531e-05/0.4237, allocations: 11.58 kB / 0.5548 GB, free: 8.18 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 2.053e-06/0.4237, allocations: 1.125 kB / 0.5548 GB, free: 8.18 MB / 398.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.6e-05/0.4237, allocations: 6.219 kB / 0.5548 GB, free: 8.176 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.4237, allocations: 1.25 kB / 0.5548 GB, free: 8.176 MB / 398.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.031e-06/0.4237, allocations: 0 / 0.5548 GB, free: 8.176 MB / 398.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002749/0.424, allocations: 204.8 kB / 0.555 GB, free: 8 MB / 398.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 2.112e-05/0.424, allocations: 11.56 kB / 0.555 GB, free: 7.992 MB / 398.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.817e-05/0.4241, allocations: 5.188 kB / 0.555 GB, free: 7.988 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.86e-05/0.4241, allocations: 6.391 kB / 0.555 GB, free: 7.984 MB / 398.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.908e-05/0.4242, allocations: 6.344 kB / 0.555 GB, free: 7.98 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.771e-05/0.4242, allocations: 11.36 kB / 0.555 GB, free: 7.973 MB / 398.1 MB
Notification: Performance of sorting global known variables: time 0.0001461/0.4243, allocations: 141.6 kB / 0.5551 GB, free: 7.871 MB / 398.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.4243, allocations: 0 / 0.5551 GB, free: 7.871 MB / 398.1 MB
Notification: Performance of remove unused functions: time 0.0002734/0.4246, allocations: 33.3 kB / 0.5552 GB, free: 7.855 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.001765/0.4264, allocations: 457.8 kB / 0.5556 GB, free: 7.641 MB / 398.1 MB
Notification: Performance of simCode: created initialization part: time 0.0002101/0.4266, allocations: 64.62 kB / 0.5557 GB, free: 7.609 MB / 398.1 MB
Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.4266, allocations: 0 / 0.5557 GB, free: 7.609 MB / 398.1 MB
Notification: Performance of simCode: created simulation system equations: time 8.305e-05/0.4267, allocations: 27.48 kB / 0.5557 GB, free: 7.598 MB / 398.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003741/0.427, allocations: 33.64 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.0005898/0.4276, allocations: 221.6 kB / 0.5559 GB, free: 7.398 MB / 398.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003839/0.428, allocations: 0.7128 MB / 0.5566 GB, free: 6.68 MB / 398.1 MB
Notification: Performance of simCode: alias equations: time 5.764e-05/0.4281, allocations: 13.97 kB / 0.5567 GB, free: 6.676 MB / 398.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.506e-05/0.4281, allocations: 15.16 kB / 0.5567 GB, free: 6.668 MB / 398.1 MB
Notification: Performance of SimCode: time 3.01e-07/0.4281, allocations: 0 / 0.5567 GB, free: 6.668 MB / 398.1 MB
Notification: Performance of Templates: time 0.005429/0.4336, allocations: 1.751 MB / 0.5584 GB, free: 5.543 MB / 398.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.makefile [Timeout 660]
(rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.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.438261207193136]