Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test25.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.001052/0.001052, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001474/0.002526, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001066/0.001066, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001383/0.002449, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.9798/0.9798, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08397/1.064, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.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.2503/0.2503, allocations: 34.25 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02609/0.2764, allocations: 13.1 MB / 291.3 MB, free: 7.375 MB / 282.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.CombiTable2Ds.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test25") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test25") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 0 / 292.7 MB, free: 6.277 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.035e-05/1.179e-05, allocations: 3.859 kB / 292.7 MB, free: 6.273 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test25): time 0.001821/0.001833, allocations: 1.762 MB / 294.4 MB, free: 4.504 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006794/0.002512, allocations: 0.5568 MB / 295 MB, free: 3.941 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.243e-05/0.002555, allocations: 0 / 295 MB, free: 3.941 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001779/0.002733, allocations: 55.73 kB / 295 MB, free: 3.887 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002219/0.002955, allocations: 95.47 kB / 295.1 MB, free: 3.793 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003032/0.003258, allocations: 135.6 kB / 295.3 MB, free: 3.66 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001426/0.0034, allocations: 79.78 kB / 295.3 MB, free: 3.582 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.876e-05/0.003489, allocations: 16.2 kB / 295.4 MB, free: 3.562 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000124/0.003613, allocations: 63.88 kB / 295.4 MB, free: 3.5 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.883e-05/0.003702, allocations: 31.91 kB / 295.4 MB, free: 3.469 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.532e-05/0.003717, allocations: 4 kB / 295.4 MB, free: 3.465 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001071/0.003824, allocations: 55.84 kB / 295.5 MB, free: 3.41 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.624e-05/0.003881, allocations: 15.94 kB / 295.5 MB, free: 3.395 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.758e-05/0.003908, allocations: 19.94 kB / 295.5 MB, free: 3.375 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001609/0.004069, allocations: 91.61 kB / 295.6 MB, free: 3.285 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.538e-05/0.004085, allocations: 0 / 295.6 MB, free: 3.285 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.004085, allocations: 0 / 295.6 MB, free: 3.285 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.611e-05/0.004101, allocations: 0 / 295.6 MB, free: 3.285 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004464/0.004548, allocations: 325.2 kB / 295.9 MB, free: 2.945 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.208e-05/0.00458, allocations: 11.97 kB / 296 MB, free: 2.934 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.174e-05/0.004611, allocations: 8.938 kB / 296 MB, free: 2.926 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001391/0.004751, allocations: 138.2 kB / 296.1 MB, free: 2.766 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.448e-06/0.00476, allocations: 4.375 kB / 296.1 MB, free: 2.762 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.004779, allocations: 4.375 kB / 296.1 MB, free: 2.758 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001138/0.004892, allocations: 74.67 kB / 296.2 MB, free: 2.676 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.004904, allocations: 0 / 296.2 MB, free: 2.676 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.765e-06/0.004912, allocations: 0 / 296.2 MB, free: 2.676 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.004918, allocations: 3.938 kB / 296.2 MB, free: 2.672 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.792e-05/0.004956, allocations: 8 kB / 296.2 MB, free: 2.664 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002481/0.005204, allocations: 180.2 kB / 296.4 MB, free: 2.473 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001524/0.005356, allocations: 42.47 kB / 296.4 MB, free: 2.422 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.578e-05/0.005372, allocations: 8.859 kB / 296.4 MB, free: 2.41 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.205e-05/0.005394, allocations: 4 kB / 296.4 MB, free: 2.406 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.243e-05/0.005417, allocations: 42.67 kB / 296.5 MB, free: 2.355 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 8.01e-07/0.005417, allocations: 0 / 296.5 MB, free: 2.355 MB / 282.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004592/0.005877, allocations: 206.8 kB / 296.7 MB, free: 2.148 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.051e-05/0.005907, allocations: 59.34 kB / 296.7 MB, free: 2.078 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.194e-05/0.005999, allocations: 157.2 kB / 296.9 MB, free: 1.91 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.759e-06/0.006009, allocations: 25.7 kB / 296.9 MB, free: 1.879 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.645e-05/0.006045, allocations: 100.1 kB / 297 MB, free: 1.777 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.722e-05/0.006072, allocations: 39.67 kB / 297 MB, free: 1.738 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.963e-05/0.006102, allocations: 25.7 kB / 297.1 MB, free: 1.707 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.579e-05/0.006178, allocations: 326.8 kB / 297.4 MB, free: 1.379 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.555e-05/0.006193, allocations: 11.98 kB / 297.4 MB, free: 1.367 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.422e-05/0.006208, allocations: 8 kB / 297.4 MB, free: 1.359 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.978e-05/0.006247, allocations: 39.06 kB / 297.4 MB, free: 1.32 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.006248, allocations: 4 kB / 297.4 MB, free: 1.316 MB / 282.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 6.69e-05/0.006315, allocations: 69.61 kB / 297.5 MB, free: 1.242 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.031e-05/0.006326, allocations: 4 kB / 297.5 MB, free: 1.238 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.00633, allocations: 0 / 297.5 MB, free: 1.238 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.897e-06/0.006339, allocations: 8 kB / 297.5 MB, free: 1.23 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.307e-05/0.006402, allocations: 23.98 kB / 297.5 MB, free: 1.207 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.885e-06/0.006405, allocations: 0 / 297.5 MB, free: 1.207 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.226e-05/0.006427, allocations: 7.984 kB / 297.6 MB, free: 1.199 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.919e-06/0.006432, allocations: 0 / 297.6 MB, free: 1.199 MB / 282.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 (11): * Single equations (assignments): 11 * 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.496e-05/0.006487, allocations: 124.6 kB / 297.7 MB, free: 1.066 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.656e-05/0.006503, allocations: 11.98 kB / 297.7 MB, free: 1.055 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001067/0.00661, allocations: 90.88 kB / 297.8 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.006612, allocations: 0 / 297.8 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-06/0.006613, allocations: 4 kB / 297.8 MB, free: 0.957 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.006616, allocations: 0 / 297.8 MB, free: 0.957 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002221/0.006838, allocations: 284.3 kB / 298.1 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.00684, allocations: 0 / 298.1 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.7e-05/0.006887, allocations: 23.98 kB / 298.1 MB, free: 0.625 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.556e-06/0.006895, allocations: 7.953 kB / 298.1 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.006897, allocations: 0 / 298.1 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.264e-06/0.006904, allocations: 11.97 kB / 298.1 MB, free: 0.6055 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.006906, allocations: 3.938 kB / 298.1 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.006907, allocations: 4.062 kB / 298.1 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.685e-05/0.007004, allocations: 181.2 kB / 298.3 MB, free: 408 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.719e-06/0.007014, allocations: 0 / 298.3 MB, free: 408 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.812e-05/0.007052, allocations: 15.92 kB / 298.3 MB, free: 392 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.863e-05/0.007081, allocations: 11.92 kB / 298.3 MB, free: 380 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.568e-06/0.007085, allocations: 4 kB / 298.3 MB, free: 376 kB / 282.7 MB Notification: Performance of sorting global known variables: time 3.079e-05/0.007116, allocations: 42.7 kB / 298.4 MB, free: 332 kB / 282.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.007116, allocations: 0 / 298.4 MB, free: 332 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001357/0.007252, allocations: 27.92 kB / 298.4 MB, free: 304 kB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001269/0.00852, allocations: 0.6257 MB / 299 MB, free: 24 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001021/0.008622, allocations: 44.84 kB / 299.1 MB, free: 15.97 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/0.008628, allocations: 0 / 299.1 MB, free: 15.97 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.847e-05/0.008657, allocations: 36.78 kB / 299.1 MB, free: 15.93 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001612/0.008818, allocations: 27.88 kB / 299.1 MB, free: 15.91 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004057/0.009224, allocations: 252.3 kB / 299.4 MB, free: 15.63 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.789e-05/0.009262, allocations: 75.33 kB / 299.4 MB, free: 15.54 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.861e-05/0.0093, allocations: 20.61 kB / 299.5 MB, free: 15.52 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.22e-05/0.009352, allocations: 63.36 kB / 299.5 MB, free: 15.45 MB / 298.7 MB Notification: Performance of SimCode: time 6.21e-07/0.009353, allocations: 4 kB / 299.5 MB, free: 15.45 MB / 298.7 MB Notification: Performance of Templates: time 0.003092/0.01245, allocations: 1.704 MB / 301.2 MB, free: 13.76 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test25.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test25.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test25 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test25/Test25.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: 2.7999076433479786]