Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test12.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.0009758/0.0009758, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.0009723/0.0009723, allocations: 169.1 kB / 24.91 MB, free: 9.191 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.9197/0.9197, allocations: 177.1 MB / 205.3 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2648/0.2648, allocations: 34.26 MB / 296.1 MB, free: 0.7188 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.CombiTable1Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test12") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 325.3 MB, free: 7.684 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.683e-05/1.803e-05, allocations: 7.891 kB / 325.3 MB, free: 7.676 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.001947/0.001965, allocations: 1.638 MB / 326.9 MB, free: 6.027 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006599/0.002625, allocations: 0.5296 MB / 327.4 MB, free: 5.492 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.474e-05/0.00267, allocations: 4 kB / 327.4 MB, free: 5.488 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001831/0.002853, allocations: 31.77 kB / 327.5 MB, free: 5.457 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002202/0.003073, allocations: 83.56 kB / 327.5 MB, free: 5.375 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000176/0.003249, allocations: 87.69 kB / 327.6 MB, free: 5.289 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001114/0.00336, allocations: 63.78 kB / 327.7 MB, free: 5.227 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.022e-05/0.003431, allocations: 11.98 kB / 327.7 MB, free: 5.215 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.912e-05/0.00348, allocations: 31.91 kB / 327.7 MB, free: 5.184 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.485e-05/0.003525, allocations: 19.92 kB / 327.8 MB, free: 5.164 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.116e-05/0.003536, allocations: 0 / 327.8 MB, free: 5.164 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.398e-05/0.0036, allocations: 39.92 kB / 327.8 MB, free: 5.125 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.75e-05/0.003637, allocations: 15.92 kB / 327.8 MB, free: 5.109 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.073e-05/0.003658, allocations: 11.92 kB / 327.8 MB, free: 5.098 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001189/0.003777, allocations: 75.69 kB / 327.9 MB, free: 5.023 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.633e-06/0.003779, allocations: 0 / 327.9 MB, free: 5.023 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.02e-07/0.003779, allocations: 0 / 327.9 MB, free: 5.023 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.777e-06/0.003783, allocations: 0 / 327.9 MB, free: 5.023 MB / 298.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.0002926/0.004076, allocations: 294.2 kB / 328.2 MB, free: 4.715 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.759e-05/0.004103, allocations: 12.03 kB / 328.2 MB, free: 4.703 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.514e-05/0.004128, allocations: 12.94 kB / 328.2 MB, free: 4.691 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001103/0.004239, allocations: 137.2 kB / 328.3 MB, free: 4.535 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.734e-06/0.004247, allocations: 4.375 kB / 328.3 MB, free: 4.531 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.578e-05/0.004262, allocations: 384 / 328.3 MB, free: 4.531 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.763e-05/0.00434, allocations: 62.64 kB / 328.4 MB, free: 4.461 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.004347, allocations: 0 / 328.4 MB, free: 4.461 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.362e-06/0.004354, allocations: 3.984 kB / 328.4 MB, free: 4.457 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.004358, allocations: 0 / 328.4 MB, free: 4.457 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.845e-05/0.004376, allocations: 4 kB / 328.4 MB, free: 4.453 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001811/0.004557, allocations: 159.2 kB / 328.6 MB, free: 4.281 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001102/0.004668, allocations: 38.55 kB / 328.6 MB, free: 4.234 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.322e-05/0.004681, allocations: 12.8 kB / 328.6 MB, free: 4.219 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.289e-05/0.004694, allocations: 3.938 kB / 328.6 MB, free: 4.215 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.831e-05/0.004712, allocations: 34.56 kB / 328.7 MB, free: 4.172 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 8.91e-07/0.004713, allocations: 0 / 328.7 MB, free: 4.172 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002304/0.004943, allocations: 81.64 kB / 328.7 MB, free: 4.086 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.644e-05/0.00497, allocations: 51.41 kB / 328.8 MB, free: 4.023 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.788e-05/0.005058, allocations: 162.7 kB / 328.9 MB, free: 3.852 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.149e-05/0.005069, allocations: 29.7 kB / 329 MB, free: 3.816 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.056e-05/0.0051, allocations: 96.11 kB / 329.1 MB, free: 3.719 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.722e-05/0.005117, allocations: 19.8 kB / 329.1 MB, free: 3.699 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.406e-05/0.005141, allocations: 13.72 kB / 329.1 MB, free: 3.68 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.351e-05/0.005214, allocations: 326.8 kB / 329.4 MB, free: 3.352 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.006e-06/0.005223, allocations: 4 kB / 329.4 MB, free: 3.348 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.287e-06/0.005233, allocations: 4 kB / 329.4 MB, free: 3.344 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.729e-05/0.00526, allocations: 28.95 kB / 329.5 MB, free: 3.312 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.005261, allocations: 0 / 329.5 MB, free: 3.312 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 4.936e-05/0.00531, allocations: 57.55 kB / 329.5 MB, free: 3.25 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.035e-05/0.005321, allocations: 6.344 kB / 329.5 MB, free: 3.246 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-06/0.005324, allocations: 0 / 329.5 MB, free: 3.246 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.989e-06/0.005334, allocations: 4 kB / 329.5 MB, free: 3.242 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.547e-05/0.00537, allocations: 8 kB / 329.5 MB, free: 3.234 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.777e-06/0.005373, allocations: 4 kB / 329.5 MB, free: 3.23 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.853e-05/0.005392, allocations: 7.984 kB / 329.5 MB, free: 3.223 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.579e-06/0.005396, allocations: 288 / 329.5 MB, free: 3.223 MB / 298.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 5.183e-05/0.005448, allocations: 112.7 kB / 329.7 MB, free: 3.102 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.45e-05/0.005463, allocations: 7.938 kB / 329.7 MB, free: 3.094 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.868e-05/0.005541, allocations: 66.06 kB / 329.7 MB, free: 3.023 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.005544, allocations: 4 kB / 329.7 MB, free: 3.02 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.005546, allocations: 0 / 329.7 MB, free: 3.02 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.005549, allocations: 4 kB / 329.7 MB, free: 3.016 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000169/0.005718, allocations: 210.8 kB / 329.9 MB, free: 2.785 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.005719, allocations: 0 / 329.9 MB, free: 2.785 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.419e-05/0.005743, allocations: 15.92 kB / 330 MB, free: 2.77 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.005745, allocations: 0 / 330 MB, free: 2.77 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5e-06/0.00575, allocations: 4 kB / 330 MB, free: 2.766 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.81e-07/0.00575, allocations: 0 / 330 MB, free: 2.766 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-07/0.005751, allocations: 0 / 330 MB, free: 2.766 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.59e-05/0.005827, allocations: 147.7 kB / 330.1 MB, free: 2.605 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.104e-05/0.005838, allocations: 11.94 kB / 330.1 MB, free: 2.594 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.827e-06/0.005847, allocations: 0 / 330.1 MB, free: 2.594 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.854e-05/0.005875, allocations: 4 kB / 330.1 MB, free: 2.59 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.892e-05/0.005894, allocations: 4 kB / 330.1 MB, free: 2.586 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.997e-06/0.005898, allocations: 3.984 kB / 330.1 MB, free: 2.582 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.61e-05/0.005934, allocations: 42.7 kB / 330.2 MB, free: 2.539 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.005934, allocations: 0 / 330.2 MB, free: 2.539 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001252/0.006059, allocations: 15.94 kB / 330.2 MB, free: 2.523 MB / 298.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.001009/0.007068, allocations: 0.4952 MB / 330.7 MB, free: 2.285 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 6.103e-05/0.007129, allocations: 24.83 kB / 330.7 MB, free: 2.258 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.007131, allocations: 8 kB / 330.7 MB, free: 2.25 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.569e-05/0.007147, allocations: 16.86 kB / 330.7 MB, free: 2.23 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001389/0.007286, allocations: 23.05 kB / 330.8 MB, free: 2.211 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002475/0.007533, allocations: 178.8 kB / 330.9 MB, free: 2.008 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.451e-05/0.007568, allocations: 67.33 kB / 331 MB, free: 1.922 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.374e-05/0.007592, allocations: 7.984 kB / 331 MB, free: 1.914 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.774e-05/0.007639, allocations: 63.36 kB / 331.1 MB, free: 1.852 MB / 298.7 MB Notification: Performance of SimCode: time 4.61e-07/0.00764, allocations: 4 kB / 331.1 MB, free: 1.848 MB / 298.7 MB Notification: Performance of Templates: time 0.002544/0.01018, allocations: 1.241 MB / 332.3 MB, free: 0.6172 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test12 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test12/Test12.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.0598873989656568]