Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.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.001227/0.001227, allocations: 80.41 kB / 22.21 MB, free: 2.289 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.001415/0.001415, allocations: 170 kB / 25.61 MB, free: 8.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9673/0.9673, allocations: 177.1 MB / 206 MB, free: 4.516 MB / 186.7 MB " [Timeout remaining time 179] 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.1356/0.1356, allocations: 32.8 MB / 295.4 MB, free: 15.36 MB / 282.7 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.CombiTable1Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 377.3 MB, free: 25.57 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.231e-05/2.419e-05, allocations: 6.141 kB / 377.3 MB, free: 25.56 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test20): time 0.001934/0.001958, allocations: 1.63 MB / 378.9 MB, free: 23.92 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009611/0.002919, allocations: 1.274 MB / 380.2 MB, free: 22.64 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.061e-05/0.00298, allocations: 4 kB / 380.2 MB, free: 22.63 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002005/0.00318, allocations: 23.8 kB / 380.2 MB, free: 22.61 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002423/0.003423, allocations: 91.53 kB / 380.3 MB, free: 22.52 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001905/0.003613, allocations: 111.6 kB / 380.4 MB, free: 22.41 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001082/0.003721, allocations: 79.75 kB / 380.5 MB, free: 22.33 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.894e-05/0.0038, allocations: 7.859 kB / 380.5 MB, free: 22.32 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.008e-05/0.003851, allocations: 39.84 kB / 380.5 MB, free: 22.29 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.372e-05/0.003934, allocations: 23.91 kB / 380.6 MB, free: 22.26 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.374e-05/0.003948, allocations: 4 kB / 380.6 MB, free: 22.26 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001092/0.004057, allocations: 91.81 kB / 380.6 MB, free: 22.17 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.048e-05/0.004098, allocations: 15.92 kB / 380.7 MB, free: 22.15 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.992e-05/0.004118, allocations: 11.94 kB / 380.7 MB, free: 22.14 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001629/0.00428, allocations: 135.5 kB / 380.8 MB, free: 22.01 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.503e-06/0.004282, allocations: 4 kB / 380.8 MB, free: 22 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.004283, allocations: 0 / 380.8 MB, free: 22 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.117e-06/0.004287, allocations: 0 / 380.8 MB, free: 22 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003008/0.004588, allocations: 435.9 kB / 381.2 MB, free: 21.54 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.938e-05/0.004617, allocations: 11.98 kB / 381.2 MB, free: 21.53 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.204e-05/0.004649, allocations: 8.891 kB / 381.3 MB, free: 21.52 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001115/0.004761, allocations: 139.4 kB / 381.4 MB, free: 21.36 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.004771, allocations: 384 / 381.4 MB, free: 21.36 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.668e-05/0.004788, allocations: 8.375 kB / 381.4 MB, free: 21.36 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.473e-05/0.004882, allocations: 99.95 kB / 381.5 MB, free: 21.23 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.004891, allocations: 192 / 381.5 MB, free: 21.23 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.725e-06/0.004899, allocations: 12.12 kB / 381.5 MB, free: 21.22 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.004905, allocations: 4 kB / 381.5 MB, free: 21.22 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.91e-05/0.004925, allocations: 4 kB / 381.5 MB, free: 21.21 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001858/0.00511, allocations: 252.4 kB / 381.8 MB, free: 20.94 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001107/0.005221, allocations: 42.98 kB / 381.8 MB, free: 20.89 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.928e-05/0.00524, allocations: 11.69 kB / 381.8 MB, free: 20.87 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.414e-05/0.005254, allocations: 4 kB / 381.8 MB, free: 20.87 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.562e-05/0.00527, allocations: 37.33 kB / 381.9 MB, free: 20.82 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.005271, allocations: 0 / 381.9 MB, free: 20.82 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.000253/0.005524, allocations: 93.62 kB / 382 MB, free: 20.72 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.258e-05/0.005547, allocations: 81.11 kB / 382 MB, free: 20.62 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.302e-05/0.00562, allocations: 191.9 kB / 382.2 MB, free: 20.42 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.001e-06/0.005626, allocations: 25.7 kB / 382.2 MB, free: 20.39 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.841e-05/0.005654, allocations: 146.8 kB / 382.4 MB, free: 20.24 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.501e-05/0.005669, allocations: 15.84 kB / 382.4 MB, free: 20.23 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.752e-05/0.005697, allocations: 27.38 kB / 382.4 MB, free: 20.19 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.306e-05/0.00574, allocations: 0.4884 MB / 382.9 MB, free: 19.69 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.497e-06/0.005749, allocations: 4 kB / 382.9 MB, free: 19.69 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.297e-05/0.005772, allocations: 53.06 kB / 383 MB, free: 19.62 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.619e-05/0.005798, allocations: 31.84 kB / 383 MB, free: 19.59 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.01e-07/0.005799, allocations: 0 / 383 MB, free: 19.59 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.884e-05/0.005858, allocations: 57.58 kB / 383.1 MB, free: 19.52 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.021e-05/0.005868, allocations: 8 kB / 383.1 MB, free: 19.52 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.005872, allocations: 0 / 383.1 MB, free: 19.52 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.337e-06/0.005881, allocations: 0 / 383.1 MB, free: 19.52 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.758e-05/0.005919, allocations: 11.98 kB / 383.1 MB, free: 19.5 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.485e-06/0.005921, allocations: 3.938 kB / 383.1 MB, free: 19.5 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.82e-05/0.00594, allocations: 4 kB / 383.1 MB, free: 19.5 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.928e-06/0.005943, allocations: 0 / 383.1 MB, free: 19.5 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 4.058e-05/0.005984, allocations: 172.5 kB / 383.3 MB, free: 19.32 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.06e-05/0.006005, allocations: 11.89 kB / 383.3 MB, free: 19.3 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.285e-05/0.006087, allocations: 62.14 kB / 383.3 MB, free: 19.24 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.006089, allocations: 0 / 383.3 MB, free: 19.24 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.006091, allocations: 4 kB / 383.3 MB, free: 19.23 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-06/0.006095, allocations: 0 / 383.3 MB, free: 19.23 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001855/0.00628, allocations: 298 kB / 383.6 MB, free: 18.91 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.006281, allocations: 0 / 383.6 MB, free: 18.91 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.656e-05/0.006307, allocations: 12 kB / 383.6 MB, free: 18.9 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.006309, allocations: 0 / 383.6 MB, free: 18.9 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.07e-06/0.006314, allocations: 4 kB / 383.6 MB, free: 18.89 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.006315, allocations: 4 kB / 383.6 MB, free: 18.89 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.006316, allocations: 288 / 383.6 MB, free: 18.89 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.525e-05/0.006382, allocations: 208 kB / 383.8 MB, free: 18.67 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.679e-06/0.006391, allocations: 19.92 kB / 383.9 MB, free: 18.65 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.007e-05/0.006401, allocations: 3.938 kB / 383.9 MB, free: 18.64 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.277e-05/0.006434, allocations: 4 kB / 383.9 MB, free: 18.64 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.231e-05/0.006456, allocations: 7.984 kB / 383.9 MB, free: 18.63 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.977e-06/0.00646, allocations: 4 kB / 383.9 MB, free: 18.63 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.367e-05/0.006494, allocations: 141.2 kB / 384 MB, free: 18.49 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006494, allocations: 4 kB / 384 MB, free: 18.49 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001774/0.006672, allocations: 43.86 kB / 384.1 MB, free: 18.45 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.001002/0.007674, allocations: 494.8 kB / 384.6 MB, free: 18.15 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.112e-05/0.007755, allocations: 19.69 kB / 384.6 MB, free: 18.12 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.007756, allocations: 0 / 384.6 MB, free: 18.12 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.916e-05/0.007775, allocations: 31.73 kB / 384.6 MB, free: 18.09 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001889/0.007964, allocations: 26.77 kB / 384.6 MB, free: 18.07 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002493/0.008214, allocations: 155.9 kB / 384.8 MB, free: 17.89 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.334e-05/0.008237, allocations: 67.2 kB / 384.8 MB, free: 17.8 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.367e-05/0.008271, allocations: 15.97 kB / 384.9 MB, free: 17.79 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.182e-05/0.008323, allocations: 82.19 kB / 384.9 MB, free: 17.7 MB / 314.7 MB Notification: Performance of SimCode: time 5.61e-07/0.008323, allocations: 4 kB / 384.9 MB, free: 17.7 MB / 314.7 MB Notification: Performance of Templates: time 0.003051/0.01137, allocations: 2.052 MB / 387 MB, free: 15.66 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test20/Test20.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.303675586823374]