Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.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.0009738/0.0009738, allocations: 81.95 kB / 21.44 MB, free: 3.051 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.001333/0.001333, allocations: 164 kB / 24.84 MB, free: 9.254 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 0.9302/0.9302, allocations: 158.6 MB / 186.7 MB, free: 2.805 MB / 170.7 MB " [Timeout remaining time 179] 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.1418/0.1418, allocations: 32.39 MB / 271.5 MB, free: 14.54 MB / 266.7 MB " [Timeout remaining time 180] 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.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54") translateModel(ModelicaTest.Tables.CombiTimeTable.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 349 MB, free: 9.094 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.214e-05/3.367e-05, allocations: 13.34 kB / 349 MB, free: 9.082 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.002318/0.002352, allocations: 1.722 MB / 350.7 MB, free: 7.348 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009705/0.003322, allocations: 0.7842 MB / 351.5 MB, free: 6.555 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.492e-05/0.003407, allocations: 3.938 kB / 351.5 MB, free: 6.551 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003528/0.00376, allocations: 51.77 kB / 351.6 MB, free: 6.5 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002221/0.003982, allocations: 59.73 kB / 351.6 MB, free: 6.441 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002474/0.00423, allocations: 83.66 kB / 351.7 MB, free: 6.359 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000172/0.004402, allocations: 103.6 kB / 351.8 MB, free: 6.258 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001393/0.004541, allocations: 4.234 kB / 351.8 MB, free: 6.254 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.171e-05/0.004623, allocations: 51.84 kB / 351.9 MB, free: 6.203 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.45e-05/0.004697, allocations: 27.89 kB / 351.9 MB, free: 6.176 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.697e-05/0.004714, allocations: 4 kB / 351.9 MB, free: 6.172 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.409e-05/0.004798, allocations: 47.92 kB / 351.9 MB, free: 6.125 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.654e-05/0.004855, allocations: 35.84 kB / 352 MB, free: 6.09 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.486e-05/0.00489, allocations: 15.94 kB / 352 MB, free: 6.074 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001649/0.005054, allocations: 99.66 kB / 352.1 MB, free: 5.977 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.005058, allocations: 0 / 352.1 MB, free: 5.977 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.005059, allocations: 0 / 352.1 MB, free: 5.977 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.005064, allocations: 0 / 352.1 MB, free: 5.977 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.0003785/0.005443, allocations: 463.7 kB / 352.5 MB, free: 5.488 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.005479, allocations: 8.031 kB / 352.5 MB, free: 5.48 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.868e-05/0.005518, allocations: 16.84 kB / 352.6 MB, free: 5.465 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001329/0.005651, allocations: 160.4 kB / 352.7 MB, free: 5.281 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.731e-05/0.005668, allocations: 384 / 352.7 MB, free: 5.281 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.807e-05/0.005686, allocations: 8.359 kB / 352.7 MB, free: 5.273 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001071/0.005793, allocations: 58.94 kB / 352.8 MB, free: 5.207 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.005803, allocations: 7.938 kB / 352.8 MB, free: 5.199 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.201e-06/0.00581, allocations: 0 / 352.8 MB, free: 5.199 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.005815, allocations: 0 / 352.8 MB, free: 5.199 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.67e-05/0.005842, allocations: 19.92 kB / 352.8 MB, free: 5.18 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002425/0.006084, allocations: 256.4 kB / 353.1 MB, free: 4.902 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.916e-05/0.006173, allocations: 51.16 kB / 353.1 MB, free: 4.84 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.228e-05/0.006196, allocations: 19.67 kB / 353.1 MB, free: 4.816 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.29e-05/0.006209, allocations: 4 kB / 353.1 MB, free: 4.812 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.191e-05/0.0063, allocations: 68.92 kB / 353.2 MB, free: 4.73 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.006302, allocations: 0 / 353.2 MB, free: 4.73 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003168/0.006618, allocations: 137.5 kB / 353.3 MB, free: 4.59 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.582e-05/0.006644, allocations: 55.41 kB / 353.4 MB, free: 4.523 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.306e-05/0.006737, allocations: 241.8 kB / 353.6 MB, free: 4.27 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.122e-05/0.006748, allocations: 25.7 kB / 353.6 MB, free: 4.238 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.232e-05/0.006791, allocations: 158.8 kB / 353.8 MB, free: 4.078 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.528e-05/0.006816, allocations: 31.78 kB / 353.8 MB, free: 4.047 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.282e-05/0.006849, allocations: 31.36 kB / 353.9 MB, free: 4.008 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.3e-05/0.006902, allocations: 0.4962 MB / 354.4 MB, free: 3.5 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.676e-05/0.006919, allocations: 8 kB / 354.4 MB, free: 3.492 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.445e-05/0.006943, allocations: 35.3 kB / 354.4 MB, free: 3.449 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.265e-05/0.006986, allocations: 51.28 kB / 354.5 MB, free: 3.391 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.006987, allocations: 0 / 354.5 MB, free: 3.391 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.418e-05/0.007081, allocations: 93.53 kB / 354.5 MB, free: 3.293 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.007093, allocations: 8.031 kB / 354.6 MB, free: 3.285 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.007098, allocations: 4 kB / 354.6 MB, free: 3.281 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.007109, allocations: 0 / 354.6 MB, free: 3.281 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.811e-05/0.007177, allocations: 15.98 kB / 354.6 MB, free: 3.266 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.447e-06/0.00718, allocations: 0 / 354.6 MB, free: 3.266 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.939e-05/0.00721, allocations: 4 kB / 354.6 MB, free: 3.262 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-06/0.007216, allocations: 4 kB / 354.6 MB, free: 3.258 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 6.344e-05/0.00728, allocations: 156.6 kB / 354.7 MB, free: 3.094 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.648e-05/0.007296, allocations: 19.84 kB / 354.7 MB, free: 3.074 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001314/0.007428, allocations: 99.06 kB / 354.8 MB, free: 2.969 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.00743, allocations: 8 kB / 354.9 MB, free: 2.961 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.924e-06/0.007432, allocations: 0 / 354.9 MB, free: 2.961 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.007436, allocations: 0 / 354.9 MB, free: 2.961 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002203/0.007656, allocations: 373.5 kB / 355.2 MB, free: 2.559 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.007658, allocations: 384 / 355.2 MB, free: 2.559 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.208e-05/0.00769, allocations: 11.94 kB / 355.2 MB, free: 2.547 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.007693, allocations: 4 kB / 355.2 MB, free: 2.543 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.0077, allocations: 4 kB / 355.2 MB, free: 2.539 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.007702, allocations: 3.984 kB / 355.2 MB, free: 2.535 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.007703, allocations: 0 / 355.2 MB, free: 2.535 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001104/0.007814, allocations: 259.5 kB / 355.5 MB, free: 2.258 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.462e-05/0.007828, allocations: 11.91 kB / 355.5 MB, free: 2.246 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.745e-05/0.007846, allocations: 4 kB / 355.5 MB, free: 2.242 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.538e-05/0.007891, allocations: 4 kB / 355.5 MB, free: 2.238 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.985e-05/0.007921, allocations: 7.984 kB / 355.5 MB, free: 2.23 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.394e-05/0.007935, allocations: 0 / 355.5 MB, free: 2.23 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.892e-05/0.007984, allocations: 175.1 kB / 355.7 MB, free: 2.059 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007984, allocations: 0 / 355.7 MB, free: 2.059 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001812/0.008165, allocations: 23.94 kB / 355.7 MB, free: 2.035 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.0009109/0.009076, allocations: 444 kB / 356.2 MB, free: 1.695 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001019/0.009178, allocations: 55.52 kB / 356.2 MB, free: 1.637 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.00918, allocations: 0 / 356.2 MB, free: 1.637 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.022e-05/0.00921, allocations: 39.59 kB / 356.2 MB, free: 1.594 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002278/0.009438, allocations: 27.92 kB / 356.3 MB, free: 1.566 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003354/0.009773, allocations: 233.5 kB / 356.5 MB, free: 1.309 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.976e-05/0.009803, allocations: 71.33 kB / 356.6 MB, free: 1.219 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.287e-05/0.009836, allocations: 16.62 kB / 356.6 MB, free: 1.203 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.555e-05/0.009891, allocations: 86.19 kB / 356.7 MB, free: 1.117 MB / 282.7 MB Notification: Performance of SimCode: time 8.12e-07/0.009892, allocations: 0 / 356.7 MB, free: 1.117 MB / 282.7 MB Notification: Performance of Templates: time 0.003847/0.01374, allocations: 2.051 MB / 358.7 MB, free: 15.09 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test54/Test54.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.108424745965749]