Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002176/0.002176, allocations: 88.23 kB / 20.2 MB, free: 4.227 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002537/0.002537, allocations: 157.7 kB / 23.51 MB, free: 0.9219 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.534/1.534, allocations: 158.6 MB / 185.3 MB, free: 2.906 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2447/0.2447, allocations: 32.38 MB / 270 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45") translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 347 MB, free: 9.738 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.656e-05/2.866e-05, allocations: 6.25 kB / 347 MB, free: 9.73 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.002585/0.002614, allocations: 1.691 MB / 348.7 MB, free: 8.027 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001343/0.003956, allocations: 0.7688 MB / 349.5 MB, free: 7.25 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.254e-05/0.004049, allocations: 0 / 349.5 MB, free: 7.25 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000392/0.004441, allocations: 47.7 kB / 349.5 MB, free: 7.203 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002408/0.004682, allocations: 59.69 kB / 349.6 MB, free: 7.145 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002667/0.004948, allocations: 79.72 kB / 349.7 MB, free: 7.066 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000168/0.005116, allocations: 107.6 kB / 349.8 MB, free: 6.961 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.27e-05/0.005209, allocations: 8.234 kB / 349.8 MB, free: 6.953 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.752e-05/0.005297, allocations: 43.84 kB / 349.8 MB, free: 6.91 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.817e-05/0.005375, allocations: 31.89 kB / 349.8 MB, free: 6.879 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.297e-05/0.005398, allocations: 4 kB / 349.8 MB, free: 6.875 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.92e-05/0.005487, allocations: 39.92 kB / 349.9 MB, free: 6.836 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.189e-05/0.005569, allocations: 23.86 kB / 349.9 MB, free: 6.812 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.159e-05/0.00563, allocations: 23.92 kB / 349.9 MB, free: 6.789 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002189/0.005849, allocations: 119.6 kB / 350 MB, free: 6.672 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.005853, allocations: 0 / 350 MB, free: 6.672 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.41e-07/0.005854, allocations: 0 / 350 MB, free: 6.672 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.937e-06/0.005858, allocations: 0 / 350 MB, free: 6.672 MB / 282.7 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.00055/0.006408, allocations: 337.6 kB / 350.4 MB, free: 6.312 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.006448, allocations: 12.03 kB / 350.4 MB, free: 6.301 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.046e-05/0.006508, allocations: 16.84 kB / 350.4 MB, free: 6.285 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002549/0.006763, allocations: 155.2 kB / 350.6 MB, free: 6.109 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.876e-05/0.006782, allocations: 4.375 kB / 350.6 MB, free: 6.105 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.661e-05/0.006808, allocations: 4.375 kB / 350.6 MB, free: 6.102 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001465/0.006955, allocations: 58.23 kB / 350.6 MB, free: 6.039 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/0.00697, allocations: 7.922 kB / 350.6 MB, free: 6.031 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.006981, allocations: 0 / 350.6 MB, free: 6.031 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.006986, allocations: 0 / 350.6 MB, free: 6.031 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.169e-05/0.007058, allocations: 19.98 kB / 350.7 MB, free: 6.012 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003274/0.007385, allocations: 232.5 kB / 350.9 MB, free: 5.754 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001687/0.007554, allocations: 58.62 kB / 350.9 MB, free: 5.688 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.714e-05/0.007611, allocations: 24.78 kB / 351 MB, free: 5.66 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.212e-05/0.007643, allocations: 4 kB / 351 MB, free: 5.656 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001379/0.007781, allocations: 71.34 kB / 351 MB, free: 5.574 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.143e-06/0.007782, allocations: 0 / 351 MB, free: 5.574 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005535/0.008336, allocations: 181.4 kB / 351.2 MB, free: 5.391 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.736e-05/0.008363, allocations: 55.41 kB / 351.3 MB, free: 5.324 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001521/0.008515, allocations: 200.4 kB / 351.5 MB, free: 5.121 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.241e-05/0.008527, allocations: 37.58 kB / 351.5 MB, free: 5.078 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.568e-05/0.008573, allocations: 100.1 kB / 351.6 MB, free: 4.977 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.167e-05/0.008615, allocations: 23.8 kB / 351.6 MB, free: 4.953 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.534e-05/0.00865, allocations: 29.7 kB / 351.6 MB, free: 4.918 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.444e-05/0.008715, allocations: 326.8 kB / 352 MB, free: 4.59 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.578e-05/0.00877, allocations: 20 kB / 352 MB, free: 4.57 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.711e-05/0.008827, allocations: 41.69 kB / 352 MB, free: 4.523 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001015/0.008929, allocations: 57.64 kB / 352.1 MB, free: 4.461 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.00893, allocations: 0 / 352.1 MB, free: 4.461 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001705/0.0091, allocations: 113.5 kB / 352.2 MB, free: 4.344 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.009118, allocations: 4 kB / 352.2 MB, free: 4.34 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.009124, allocations: 0 / 352.2 MB, free: 4.34 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.307e-05/0.009147, allocations: 4.031 kB / 352.2 MB, free: 4.336 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.132e-05/0.009238, allocations: 27.92 kB / 352.2 MB, free: 4.309 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.009244, allocations: 0 / 352.2 MB, free: 4.309 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.618e-05/0.00929, allocations: 4.375 kB / 352.2 MB, free: 4.305 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.184e-06/0.009297, allocations: 0 / 352.2 MB, free: 4.305 MB / 282.7 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 7.079e-05/0.009368, allocations: 138.7 kB / 352.4 MB, free: 4.16 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.472e-05/0.009393, allocations: 15.91 kB / 352.4 MB, free: 4.145 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002445/0.009637, allocations: 123.2 kB / 352.5 MB, free: 4.016 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.00964, allocations: 0 / 352.5 MB, free: 4.016 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.009645, allocations: 4 kB / 352.5 MB, free: 4.012 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.009648, allocations: 4 kB / 352.5 MB, free: 4.008 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003298/0.009978, allocations: 350.9 kB / 352.9 MB, free: 3.625 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.00998, allocations: 0 / 352.9 MB, free: 3.625 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.517e-05/0.01002, allocations: 8 kB / 352.9 MB, free: 3.617 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.01002, allocations: 4 kB / 352.9 MB, free: 3.613 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.317e-06/0.01003, allocations: 4 kB / 352.9 MB, free: 3.609 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.255e-06/0.01003, allocations: 3.984 kB / 352.9 MB, free: 3.605 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.01003, allocations: 0 / 352.9 MB, free: 3.605 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000188/0.01022, allocations: 220.2 kB / 353.1 MB, free: 3.371 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.656e-05/0.01024, allocations: 11.98 kB / 353.1 MB, free: 3.359 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.165e-05/0.01026, allocations: 0 / 353.1 MB, free: 3.359 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.393e-05/0.01033, allocations: 11.98 kB / 353.1 MB, free: 3.348 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.928e-05/0.01037, allocations: 3.938 kB / 353.1 MB, free: 3.344 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.466e-05/0.01038, allocations: 7.984 kB / 353.1 MB, free: 3.336 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000114/0.0105, allocations: 163.8 kB / 353.3 MB, free: 3.176 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0105, allocations: 0 / 353.3 MB, free: 3.176 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002597/0.01076, allocations: 23.94 kB / 353.3 MB, free: 3.152 MB / 282.7 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 (9): * Single equations (assignments): 7 * 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.002171/0.01293, allocations: 0.489 MB / 353.8 MB, free: 2.77 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001749/0.0131, allocations: 55.91 kB / 353.9 MB, free: 2.715 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.01311, allocations: 0 / 353.9 MB, free: 2.715 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.144e-05/0.01318, allocations: 31.98 kB / 353.9 MB, free: 2.684 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004/0.01358, allocations: 41.52 kB / 353.9 MB, free: 2.645 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004284/0.01401, allocations: 236.4 kB / 354.2 MB, free: 2.387 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.566e-05/0.01407, allocations: 96.28 kB / 354.2 MB, free: 2.27 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.297e-05/0.01411, allocations: 12.8 kB / 354.3 MB, free: 2.258 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.691e-05/0.01415, allocations: 20.48 kB / 354.3 MB, free: 2.238 MB / 282.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01415, allocations: 0 / 354.3 MB, free: 2.238 MB / 282.7 MB Notification: Performance of Templates: time 0.004944/0.0191, allocations: 1.843 MB / 356.1 MB, free: 420 kB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.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.087014216929674]