Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.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.001705/0.001705, 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.001822/0.001822, allocations: 187.4 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.542/1.542, 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.2361/0.2361, allocations: 44.91 MB / 353.5 MB, free: 11.91 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.Test29,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.Test29") translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,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.Test29") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00247/0.00247, allocations: 71.84 kB / 497.8 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.356/0.3585, allocations: 64.29 MB / 0.5489 GB, free: 13.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.003477/0.362, allocations: 1.736 MB / 0.5506 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00156/0.3635, allocations: 0.8956 MB / 0.5514 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.751e-05/0.3636, allocations: 3.938 kB / 0.5515 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002934/0.3639, allocations: 30.7 kB / 0.5515 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002363/0.3641, allocations: 57.7 kB / 0.5515 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003166/0.3645, allocations: 116.5 kB / 0.5516 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001836/0.3646, allocations: 100.8 kB / 0.5517 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.911e-05/0.3647, allocations: 16.75 kB / 0.5518 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.451e-05/0.3648, allocations: 40.52 kB / 0.5518 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.152e-05/0.3649, allocations: 30.5 kB / 0.5518 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.914e-05/0.3649, allocations: 3.75 kB / 0.5518 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.438e-05/0.365, allocations: 46.55 kB / 0.5519 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.685e-05/0.3651, allocations: 18.67 kB / 0.5519 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.794e-05/0.3651, allocations: 35.42 kB / 0.5519 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002251/0.3654, allocations: 114.5 kB / 0.552 GB, free: 10.72 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.3654, allocations: 3.984 kB / 0.552 GB, free: 10.72 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3654, allocations: 4 kB / 0.552 GB, free: 10.71 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.3654, allocations: 1.188 kB / 0.552 GB, free: 10.71 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.0005965/0.366, allocations: 334.9 kB / 0.5524 GB, free: 10.39 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.366, allocations: 10.27 kB / 0.5524 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.926e-05/0.3661, allocations: 9.297 kB / 0.5524 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002839/0.3664, allocations: 156.8 kB / 0.5525 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.3664, allocations: 1.688 kB / 0.5525 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.382e-05/0.3664, allocations: 6.281 kB / 0.5525 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001584/0.3665, allocations: 63.3 kB / 0.5526 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.3666, allocations: 0 / 0.5526 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.3666, allocations: 0 / 0.5526 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.3666, allocations: 1.531 kB / 0.5526 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.336e-05/0.3667, allocations: 21.52 kB / 0.5526 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004045/0.3671, allocations: 258.3 kB / 0.5529 GB, free: 9.875 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000184/0.3672, allocations: 56.09 kB / 0.5529 GB, free: 9.832 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.495e-05/0.3673, allocations: 19.94 kB / 0.5529 GB, free: 9.816 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.981e-05/0.3673, allocations: 1.219 kB / 0.5529 GB, free: 9.816 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001456/0.3675, allocations: 65.08 kB / 0.553 GB, free: 9.754 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.183e-06/0.3675, allocations: 0 / 0.553 GB, free: 9.754 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005401/0.368, allocations: 178 kB / 0.5532 GB, free: 9.648 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.205e-05/0.3681, allocations: 52.53 kB / 0.5532 GB, free: 9.586 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001859/0.3682, allocations: 185.1 kB / 0.5534 GB, free: 9.449 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.27e-05/0.3683, allocations: 29.7 kB / 0.5534 GB, free: 9.414 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.606e-05/0.3683, allocations: 97.92 kB / 0.5535 GB, free: 9.32 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.395e-05/0.3684, allocations: 27.19 kB / 0.5535 GB, free: 9.297 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.236e-05/0.3684, allocations: 20.38 kB / 0.5536 GB, free: 9.277 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.3686, allocations: 326.2 kB / 0.5539 GB, free: 8.953 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.399e-05/0.3686, allocations: 31.42 kB / 0.5539 GB, free: 8.934 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.571e-05/0.3687, allocations: 42.58 kB / 0.5539 GB, free: 8.898 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001283/0.3689, allocations: 62.95 kB / 0.554 GB, free: 8.855 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.3689, allocations: 1.062 kB / 0.554 GB, free: 8.855 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001968/0.3691, allocations: 107.1 kB / 0.5541 GB, free: 8.785 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.3691, allocations: 5.594 kB / 0.5541 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.3691, allocations: 4.031 kB / 0.5541 GB, free: 8.781 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.3691, allocations: 1.062 kB / 0.5541 GB, free: 8.781 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.444e-05/0.3692, allocations: 16.86 kB / 0.5541 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.3692, allocations: 1.219 kB / 0.5541 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.064e-05/0.3692, allocations: 10.78 kB / 0.5542 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.115e-06/0.3692, allocations: 2.688 kB / 0.5542 GB, free: 8.77 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.0001476/0.3694, allocations: 130.2 kB / 0.5543 GB, free: 8.641 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.763e-05/0.3694, allocations: 13.69 kB / 0.5543 GB, free: 8.633 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002481/0.3697, allocations: 114.4 kB / 0.5544 GB, free: 8.555 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.3697, allocations: 1.125 kB / 0.5544 GB, free: 8.555 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.3697, allocations: 1.062 kB / 0.5544 GB, free: 8.555 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.3697, allocations: 3.938 kB / 0.5544 GB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004616/0.3701, allocations: 360.4 kB / 0.5547 GB, free: 8.207 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.3701, allocations: 1.125 kB / 0.5548 GB, free: 8.207 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.11e-05/0.3702, allocations: 7.812 kB / 0.5548 GB, free: 8.207 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.3702, allocations: 1.281 kB / 0.5548 GB, free: 8.207 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.654e-05/0.3702, allocations: 12.86 kB / 0.5548 GB, free: 8.195 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.3702, allocations: 5.094 kB / 0.5548 GB, free: 8.191 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.3702, allocations: 1.25 kB / 0.5548 GB, free: 8.191 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002413/0.3704, allocations: 195.4 kB / 0.555 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.706e-05/0.3705, allocations: 11.34 kB / 0.555 GB, free: 8.016 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.578e-05/0.3705, allocations: 6.156 kB / 0.555 GB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.918e-05/0.3706, allocations: 2.219 kB / 0.555 GB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.596e-05/0.3706, allocations: 15.27 kB / 0.555 GB, free: 8 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.43e-05/0.3706, allocations: 3.438 kB / 0.555 GB, free: 8 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001273/0.3707, allocations: 145.4 kB / 0.5551 GB, free: 7.895 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3707, allocations: 0 / 0.5551 GB, free: 7.895 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002538/0.371, allocations: 23.91 kB / 0.5552 GB, free: 7.887 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.001649/0.3726, allocations: 484.9 kB / 0.5556 GB, free: 7.645 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001827/0.3728, allocations: 52.05 kB / 0.5557 GB, free: 7.625 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3728, allocations: 0 / 0.5557 GB, free: 7.625 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.126e-05/0.3729, allocations: 28.52 kB / 0.5557 GB, free: 7.613 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003704/0.3733, allocations: 31.91 kB / 0.5557 GB, free: 7.598 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004592/0.3737, allocations: 230.2 kB / 0.556 GB, free: 7.406 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003314/0.3741, allocations: 0.7045 MB / 0.5566 GB, free: 6.695 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.841e-05/0.3741, allocations: 13.84 kB / 0.5567 GB, free: 6.691 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.813e-05/0.3741, allocations: 19.19 kB / 0.5567 GB, free: 6.68 MB / 398.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3741, allocations: 4 kB / 0.5567 GB, free: 6.676 MB / 398.1 MB Notification: Performance of Templates: time 0.005995/0.3801, allocations: 1.748 MB / 0.5584 GB, free: 5.551 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.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.379089714027941]