Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.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.0007943/0.0007943, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001063/0.001858, 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.0007282/0.0007282, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009272/0.001655, 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 1.019/1.019, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09781/1.116, allocations: 53.64 MB / 243.3 MB, free: 15.58 MB / 250.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.2718/0.2718, allocations: 32.8 MB / 276.8 MB, free: 15.85 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02348/0.2953, allocations: 12.53 MB / 289.3 MB, free: 8.668 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.CombiTable2Ds.Test30,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.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test30,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.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 290.6 MB, free: 7.617 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.254e-05/1.405e-05, allocations: 4.594 kB / 290.6 MB, free: 7.613 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test30): time 0.001989/0.002003, allocations: 1.754 MB / 292.4 MB, free: 6.203 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006995/0.002703, allocations: 0.5623 MB / 293 MB, free: 5.785 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.534e-05/0.002748, allocations: 0 / 293 MB, free: 5.785 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001599/0.002908, allocations: 79.42 kB / 293 MB, free: 5.742 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001975/0.003105, allocations: 109.7 kB / 293.1 MB, free: 5.672 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000232/0.003337, allocations: 133.9 kB / 293.3 MB, free: 5.582 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001235/0.003461, allocations: 87.83 kB / 293.4 MB, free: 5.531 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.467e-05/0.003536, allocations: 16.22 kB / 293.4 MB, free: 5.512 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.508e-05/0.003631, allocations: 67.83 kB / 293.4 MB, free: 5.445 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.072e-05/0.003711, allocations: 47.88 kB / 293.5 MB, free: 5.398 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.226e-05/0.003724, allocations: 4 kB / 293.5 MB, free: 5.395 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.661e-05/0.00381, allocations: 51.91 kB / 293.5 MB, free: 5.344 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.292e-05/0.003863, allocations: 19.92 kB / 293.6 MB, free: 5.324 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.239e-05/0.003886, allocations: 15.94 kB / 293.6 MB, free: 5.309 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001384/0.004024, allocations: 99.55 kB / 293.7 MB, free: 5.211 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.914e-05/0.004043, allocations: 0 / 293.7 MB, free: 5.211 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.004044, allocations: 0 / 293.7 MB, free: 5.211 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.496e-05/0.004059, allocations: 0 / 293.7 MB, free: 5.211 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.000381/0.00444, allocations: 348.5 kB / 294 MB, free: 4.848 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.937e-05/0.004469, allocations: 8.031 kB / 294 MB, free: 4.84 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.857e-05/0.004498, allocations: 8.938 kB / 294 MB, free: 4.832 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001262/0.004624, allocations: 146.3 kB / 294.2 MB, free: 4.664 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.975e-06/0.004632, allocations: 384 / 294.2 MB, free: 4.664 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.911e-05/0.004651, allocations: 8.312 kB / 294.2 MB, free: 4.656 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.455e-05/0.004746, allocations: 66.92 kB / 294.3 MB, free: 4.582 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.004754, allocations: 192 / 294.3 MB, free: 4.582 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.674e-06/0.004762, allocations: 4.125 kB / 294.3 MB, free: 4.578 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.004766, allocations: 0 / 294.3 MB, free: 4.578 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.666e-05/0.004793, allocations: 12 kB / 294.3 MB, free: 4.566 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001926/0.004986, allocations: 176.2 kB / 294.4 MB, free: 4.379 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001274/0.005113, allocations: 34.56 kB / 294.5 MB, free: 4.336 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.769e-05/0.005131, allocations: 12.98 kB / 294.5 MB, free: 4.32 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.132e-05/0.005152, allocations: 4 kB / 294.5 MB, free: 4.316 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.11e-05/0.005173, allocations: 42.47 kB / 294.5 MB, free: 4.266 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 8.11e-07/0.005174, allocations: 96 / 294.5 MB, free: 4.266 MB / 282.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004546/0.005629, allocations: 210.5 kB / 294.7 MB, free: 4.055 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.852e-05/0.005657, allocations: 55.41 kB / 294.8 MB, free: 3.988 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.00576, allocations: 184.8 kB / 295 MB, free: 3.793 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.748e-06/0.00577, allocations: 25.7 kB / 295 MB, free: 3.762 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.079e-05/0.0058, allocations: 100.8 kB / 295.1 MB, free: 3.66 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.651e-05/0.005827, allocations: 35.69 kB / 295.1 MB, free: 3.625 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.066e-05/0.005858, allocations: 25.7 kB / 295.2 MB, free: 3.594 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.195e-05/0.00593, allocations: 330.7 kB / 295.5 MB, free: 3.262 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.003e-05/0.00595, allocations: 15.98 kB / 295.5 MB, free: 3.246 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.467e-05/0.005964, allocations: 8 kB / 295.5 MB, free: 3.238 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.215e-05/0.006006, allocations: 47.33 kB / 295.5 MB, free: 3.191 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.006007, allocations: 0 / 295.5 MB, free: 3.191 MB / 282.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 6.547e-05/0.006073, allocations: 65.67 kB / 295.6 MB, free: 3.121 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/0.006084, allocations: 8 kB / 295.6 MB, free: 3.113 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.006089, allocations: 0 / 295.6 MB, free: 3.113 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.426e-06/0.006098, allocations: 0 / 295.6 MB, free: 3.113 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.438e-05/0.006162, allocations: 23.98 kB / 295.6 MB, free: 3.09 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-06/0.006166, allocations: 3.938 kB / 295.6 MB, free: 3.086 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.44e-05/0.00619, allocations: 11.98 kB / 295.7 MB, free: 3.074 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.812e-06/0.006197, allocations: 4 kB / 295.7 MB, free: 3.07 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.544e-05/0.006253, allocations: 116.6 kB / 295.8 MB, free: 2.945 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.814e-05/0.006271, allocations: 11.98 kB / 295.8 MB, free: 2.934 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001052/0.006376, allocations: 91.05 kB / 295.9 MB, free: 2.84 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/0.006379, allocations: 4 kB / 295.9 MB, free: 2.836 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-06/0.00638, allocations: 0 / 295.9 MB, free: 2.836 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.006383, allocations: 0 / 295.9 MB, free: 2.836 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002323/0.006615, allocations: 284.2 kB / 296.2 MB, free: 2.527 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.006617, allocations: 4.062 kB / 296.2 MB, free: 2.523 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.967e-05/0.006666, allocations: 31.95 kB / 296.2 MB, free: 2.492 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.719e-06/0.006676, allocations: 7.953 kB / 296.2 MB, free: 2.484 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.006678, allocations: 3.938 kB / 296.2 MB, free: 2.48 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.979e-06/0.006683, allocations: 4 kB / 296.2 MB, free: 2.477 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.006684, allocations: 0 / 296.2 MB, free: 2.477 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.006686, allocations: 3.938 kB / 296.2 MB, free: 2.473 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001019/0.006788, allocations: 183.5 kB / 296.4 MB, free: 2.273 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.068e-05/0.006799, allocations: 192 / 296.4 MB, free: 2.273 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.932e-05/0.006838, allocations: 12 kB / 296.4 MB, free: 2.262 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.503e-05/0.006873, allocations: 19.86 kB / 296.4 MB, free: 2.242 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.06e-06/0.006878, allocations: 4 kB / 296.4 MB, free: 2.238 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.818e-05/0.006926, allocations: 55.64 kB / 296.5 MB, free: 2.18 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006926, allocations: 0 / 296.5 MB, free: 2.18 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001428/0.007069, allocations: 31.86 kB / 296.5 MB, free: 2.148 MB / 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.001666/0.008735, allocations: 0.6227 MB / 297.1 MB, free: 1.875 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000119/0.008854, allocations: 44.78 kB / 297.2 MB, free: 1.828 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.039e-05/0.008864, allocations: 4 kB / 297.2 MB, free: 1.824 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.968e-05/0.008904, allocations: 32.77 kB / 297.2 MB, free: 1.789 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002312/0.009135, allocations: 41.22 kB / 297.3 MB, free: 1.758 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000545/0.00968, allocations: 272.2 kB / 297.5 MB, free: 1.461 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.14e-05/0.009732, allocations: 71.33 kB / 297.6 MB, free: 1.371 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.248e-05/0.009784, allocations: 16.47 kB / 297.6 MB, free: 1.355 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.186e-05/0.009856, allocations: 63.38 kB / 297.7 MB, free: 1.293 MB / 282.7 MB Notification: Performance of SimCode: time 5.81e-07/0.009857, allocations: 4 kB / 297.7 MB, free: 1.289 MB / 282.7 MB Notification: Performance of Templates: time 0.003726/0.01358, allocations: 1.703 MB / 299.4 MB, free: 15.6 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test30/Test30.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.2330329725518823]