Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.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.00114/0.00114, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001637/0.002777, allocations: 452 kB / 10.43 MB, free: 264 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.00108/0.00108, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001411/0.002491, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 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.8863/0.8863, allocations: 158.6 MB / 171.2 MB, free: 2.508 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1344/1.021, allocations: 49.5 MB / 220.7 MB, free: 1.367 MB / 218.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.121/0.121, allocations: 32.35 MB / 253.8 MB, free: 236 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02005/0.141, allocations: 12.31 MB / 266.1 MB, free: 3.883 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.CombiTable1Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 267.4 MB, free: 2.566 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.676e-05/1.812e-05, allocations: 2.312 kB / 267.4 MB, free: 2.562 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test16): time 0.001805/0.001824, allocations: 1.643 MB / 269 MB, free: 0.8984 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004061/0.00223, allocations: 331.3 kB / 269.4 MB, free: 0.5703 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.249e-05/0.002272, allocations: 0 / 269.4 MB, free: 0.5703 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001652/0.002437, allocations: 75.7 kB / 269.4 MB, free: 0.4961 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001041/0.002541, allocations: 75.61 kB / 269.5 MB, free: 432 kB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001613/0.002703, allocations: 67.78 kB / 269.6 MB, free: 364 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001209/0.002824, allocations: 79.75 kB / 269.7 MB, free: 284 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.858e-05/0.002892, allocations: 8 kB / 269.7 MB, free: 276 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.457e-05/0.002977, allocations: 55.88 kB / 269.7 MB, free: 220 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.72e-05/0.003054, allocations: 43.91 kB / 269.8 MB, free: 176 kB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.382e-05/0.003068, allocations: 4 kB / 269.8 MB, free: 172 kB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.979e-05/0.003128, allocations: 31.86 kB / 269.8 MB, free: 140 kB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.379e-05/0.003161, allocations: 19.94 kB / 269.8 MB, free: 120 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.926e-05/0.003181, allocations: 7.938 kB / 269.8 MB, free: 112 kB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001171/0.003298, allocations: 75.67 kB / 269.9 MB, free: 36 kB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.035e-05/0.003308, allocations: 0 / 269.9 MB, free: 36 kB / 266.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.003309, allocations: 0 / 269.9 MB, free: 36 kB / 266.7 MB Notification: Performance of Transformations before backend: time 7.494e-06/0.003316, allocations: 0 / 269.9 MB, free: 36 kB / 266.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.0003286/0.003645, allocations: 308 kB / 270.2 MB, free: 15.71 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.561e-05/0.00367, allocations: 12.03 kB / 270.2 MB, free: 15.7 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.599e-05/0.003696, allocations: 12.86 kB / 270.2 MB, free: 15.69 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001143/0.003811, allocations: 141.5 kB / 270.4 MB, free: 15.52 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.534e-06/0.003818, allocations: 4.375 kB / 270.4 MB, free: 15.52 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.812e-05/0.003836, allocations: 4.375 kB / 270.4 MB, free: 15.52 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.61e-05/0.003912, allocations: 46.95 kB / 270.4 MB, free: 15.46 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.00392, allocations: 192 / 270.4 MB, free: 15.46 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.103e-06/0.003927, allocations: 8.125 kB / 270.4 MB, free: 15.45 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.003931, allocations: 0 / 270.4 MB, free: 15.45 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.692e-05/0.003948, allocations: 8 kB / 270.4 MB, free: 15.45 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000178/0.004126, allocations: 171 kB / 270.6 MB, free: 15.26 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001067/0.004233, allocations: 30.58 kB / 270.6 MB, free: 15.22 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.123e-05/0.004244, allocations: 8.859 kB / 270.6 MB, free: 15.21 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.416e-05/0.004259, allocations: 4.078 kB / 270.6 MB, free: 15.21 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.786e-05/0.004276, allocations: 34.62 kB / 270.7 MB, free: 15.16 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 6.81e-07/0.004277, allocations: 0 / 270.7 MB, free: 15.16 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002196/0.004497, allocations: 85.5 kB / 270.8 MB, free: 15.07 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.008e-05/0.004527, allocations: 55.39 kB / 270.8 MB, free: 15.01 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.743e-05/0.004614, allocations: 164.3 kB / 271 MB, free: 14.83 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.945e-06/0.004622, allocations: 29.64 kB / 271 MB, free: 14.8 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.897e-05/0.004651, allocations: 104.1 kB / 271.1 MB, free: 14.69 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.635e-05/0.004667, allocations: 23.78 kB / 271.1 MB, free: 14.67 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.233e-05/0.00469, allocations: 17.66 kB / 271.1 MB, free: 14.64 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.709e-05/0.004757, allocations: 322.8 kB / 271.5 MB, free: 14.32 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.01e-05/0.004767, allocations: 8 kB / 271.5 MB, free: 14.31 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.083e-06/0.004774, allocations: 0 / 271.5 MB, free: 14.31 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.426e-05/0.004798, allocations: 24.83 kB / 271.5 MB, free: 14.29 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.004799, allocations: 0 / 271.5 MB, free: 14.29 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 4.404e-05/0.004843, allocations: 45.62 kB / 271.5 MB, free: 14.23 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.939e-06/0.004853, allocations: 8 kB / 271.5 MB, free: 14.23 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.466e-06/0.004857, allocations: 0 / 271.5 MB, free: 14.23 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.358e-06/0.004866, allocations: 4 kB / 271.5 MB, free: 14.22 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.998e-05/0.004906, allocations: 15.92 kB / 271.6 MB, free: 14.21 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.146e-06/0.004909, allocations: 4 kB / 271.6 MB, free: 14.2 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.41e-05/0.004923, allocations: 0 / 271.6 MB, free: 14.2 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.229e-06/0.004928, allocations: 7.984 kB / 271.6 MB, free: 14.2 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 (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.604e-05/0.004974, allocations: 112.7 kB / 271.7 MB, free: 14.07 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.473e-05/0.004989, allocations: 11.92 kB / 271.7 MB, free: 14.06 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.905e-05/0.005058, allocations: 58.14 kB / 271.7 MB, free: 14 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.674e-06/0.00506, allocations: 4 kB / 271.8 MB, free: 14 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-06/0.005061, allocations: 0 / 271.8 MB, free: 14 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.005063, allocations: 4.312 kB / 271.8 MB, free: 14 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001533/0.005217, allocations: 210.8 kB / 272 MB, free: 13.77 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.005219, allocations: 7.938 kB / 272 MB, free: 13.76 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.567e-05/0.005244, allocations: 11.98 kB / 272 MB, free: 13.75 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.386e-06/0.005253, allocations: 7.953 kB / 272 MB, free: 13.74 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.153e-06/0.005254, allocations: 0 / 272 MB, free: 13.74 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.646e-06/0.005258, allocations: 0 / 272 MB, free: 13.74 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.005258, allocations: 0 / 272 MB, free: 13.74 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.005259, allocations: 0 / 272 MB, free: 13.74 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.419e-05/0.005323, allocations: 151.4 kB / 272.1 MB, free: 13.57 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.386e-06/0.005332, allocations: 8 kB / 272.1 MB, free: 13.57 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.648e-05/0.005358, allocations: 0 / 272.1 MB, free: 13.57 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.259e-05/0.005381, allocations: 7.984 kB / 272.2 MB, free: 13.56 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-06/0.005383, allocations: 3.938 kB / 272.2 MB, free: 13.55 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.087e-05/0.005424, allocations: 44.53 kB / 272.2 MB, free: 13.51 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.005424, allocations: 0 / 272.2 MB, free: 13.51 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001221/0.005546, allocations: 19.98 kB / 272.2 MB, free: 13.49 MB / 282.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.001032/0.006578, allocations: 0.543 MB / 272.8 MB, free: 12.93 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.793e-05/0.006646, allocations: 28.86 kB / 272.8 MB, free: 12.9 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.006651, allocations: 0 / 272.8 MB, free: 12.9 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.308e-05/0.006674, allocations: 20.78 kB / 272.8 MB, free: 12.88 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001754/0.006849, allocations: 87.2 kB / 272.9 MB, free: 12.78 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003594/0.007209, allocations: 194.6 kB / 273.1 MB, free: 12.56 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.198e-05/0.007241, allocations: 63.34 kB / 273.1 MB, free: 12.48 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.633e-05/0.007267, allocations: 11.98 kB / 273.2 MB, free: 12.47 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.718e-05/0.007314, allocations: 67.31 kB / 273.2 MB, free: 12.4 MB / 282.7 MB Notification: Performance of SimCode: time 5.61e-07/0.007315, allocations: 0 / 273.2 MB, free: 12.4 MB / 282.7 MB Notification: Performance of Templates: time 0.002554/0.009869, allocations: 1.24 MB / 274.5 MB, free: 11.16 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test16/Test16.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6911344127729535]