Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32.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.0009767/0.0009767, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00112/0.002096, 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.0007833/0.0007833, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009047/0.001688, 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.9776/0.9776, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09861/1.076, allocations: 53.65 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.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.2652/0.2652, allocations: 34.26 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02419/0.2894, allocations: 13.1 MB / 291.3 MB, free: 7.371 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.CombiTable1Ds.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.042e-06/1.042e-06, allocations: 0 / 292.7 MB, free: 6.273 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.059e-05/1.163e-05, allocations: 7.188 kB / 292.7 MB, free: 6.266 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test32): time 0.001863/0.001874, allocations: 1.695 MB / 294.4 MB, free: 4.562 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007134/0.002587, allocations: 0.5414 MB / 294.9 MB, free: 4.016 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.029e-05/0.002638, allocations: 0 / 294.9 MB, free: 4.016 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001781/0.002816, allocations: 123.5 kB / 295 MB, free: 3.895 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001845/0.003, allocations: 115.5 kB / 295.1 MB, free: 3.781 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001988/0.003199, allocations: 87.7 kB / 295.2 MB, free: 3.695 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001375/0.003337, allocations: 91.73 kB / 295.3 MB, free: 3.605 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.55e-05/0.003412, allocations: 15.98 kB / 295.3 MB, free: 3.59 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.824e-05/0.0035, allocations: 67.88 kB / 295.4 MB, free: 3.523 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.544e-05/0.003596, allocations: 63.86 kB / 295.4 MB, free: 3.461 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.363e-05/0.00361, allocations: 4 kB / 295.5 MB, free: 3.457 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.347e-05/0.003683, allocations: 43.91 kB / 295.5 MB, free: 3.414 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.891e-05/0.003722, allocations: 27.86 kB / 295.5 MB, free: 3.387 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.564e-05/0.003748, allocations: 15.94 kB / 295.5 MB, free: 3.371 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000133/0.003881, allocations: 95.56 kB / 295.6 MB, free: 3.277 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.3e-05/0.003894, allocations: 0 / 295.6 MB, free: 3.277 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.003894, allocations: 0 / 295.6 MB, free: 3.277 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.397e-05/0.003908, allocations: 0 / 295.6 MB, free: 3.277 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003852/0.004293, allocations: 341 kB / 296 MB, free: 2.922 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/0.004326, allocations: 12.03 kB / 296 MB, free: 2.91 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.172e-05/0.004358, allocations: 12.92 kB / 296 MB, free: 2.898 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001377/0.004495, allocations: 150.3 kB / 296.1 MB, free: 2.723 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.137e-06/0.004505, allocations: 4.375 kB / 296.1 MB, free: 2.719 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.844e-05/0.004523, allocations: 4.375 kB / 296.1 MB, free: 2.715 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.691e-05/0.00461, allocations: 62.89 kB / 296.2 MB, free: 2.645 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.004618, allocations: 4.172 kB / 296.2 MB, free: 2.641 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.814e-06/0.004626, allocations: 4.125 kB / 296.2 MB, free: 2.637 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.00463, allocations: 0 / 296.2 MB, free: 2.637 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.413e-05/0.004654, allocations: 15.98 kB / 296.2 MB, free: 2.621 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001824/0.004837, allocations: 163.1 kB / 296.4 MB, free: 2.445 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.68e-05/0.004883, allocations: 42.52 kB / 296.4 MB, free: 2.395 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.457e-05/0.004898, allocations: 12.94 kB / 296.4 MB, free: 2.379 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.649e-05/0.004915, allocations: 0 / 296.4 MB, free: 2.379 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.836e-05/0.004933, allocations: 38.5 kB / 296.5 MB, free: 2.332 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.004934, allocations: 4 kB / 296.5 MB, free: 2.328 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003879/0.005322, allocations: 149.7 kB / 296.6 MB, free: 2.176 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.578e-05/0.005347, allocations: 51.41 kB / 296.7 MB, free: 2.113 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001115/0.005459, allocations: 205.6 kB / 296.9 MB, free: 1.898 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.737e-06/0.005468, allocations: 25.7 kB / 296.9 MB, free: 1.867 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.258e-05/0.0055, allocations: 96.11 kB / 297 MB, free: 1.77 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.192e-05/0.005522, allocations: 31.73 kB / 297 MB, free: 1.738 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.582e-05/0.005548, allocations: 21.7 kB / 297.1 MB, free: 1.711 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.64e-05/0.005624, allocations: 330.8 kB / 297.4 MB, free: 1.379 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.01e-05/0.005634, allocations: 4 kB / 297.4 MB, free: 1.375 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.136e-05/0.005646, allocations: 15.92 kB / 297.4 MB, free: 1.359 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.103e-05/0.005677, allocations: 24.84 kB / 297.4 MB, free: 1.332 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.005678, allocations: 0 / 297.4 MB, free: 1.332 MB / 282.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 5.681e-05/0.005735, allocations: 61.59 kB / 297.5 MB, free: 1.266 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.069e-05/0.005746, allocations: 8 kB / 297.5 MB, free: 1.258 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.216e-06/0.005749, allocations: 0 / 297.5 MB, free: 1.258 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.414e-06/0.005756, allocations: 0 / 297.5 MB, free: 1.258 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.092e-05/0.005817, allocations: 15.98 kB / 297.5 MB, free: 1.242 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.755e-06/0.00582, allocations: 7.938 kB / 297.5 MB, free: 1.234 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.604e-05/0.005836, allocations: 4 kB / 297.5 MB, free: 1.23 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.005844, allocations: 8 kB / 297.5 MB, free: 1.223 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 (8): * Single equations (assignments): 8 * 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.048e-05/0.005894, allocations: 108.7 kB / 297.6 MB, free: 1.105 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.711e-05/0.005912, allocations: 15.92 kB / 297.6 MB, free: 1.09 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.535e-05/0.005997, allocations: 67.45 kB / 297.7 MB, free: 1.02 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.005998, allocations: 0 / 297.7 MB, free: 1.02 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.006, allocations: 0 / 297.7 MB, free: 1.02 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.006005, allocations: 7.984 kB / 297.7 MB, free: 1.012 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002103/0.006215, allocations: 259.5 kB / 298 MB, free: 0.7305 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.006217, allocations: 4.031 kB / 298 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.775e-05/0.006254, allocations: 23.92 kB / 298 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.867e-06/0.006263, allocations: 7.953 kB / 298 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.006265, allocations: 0 / 298 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.57e-06/0.00627, allocations: 4 kB / 298 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.006273, allocations: 4 kB / 298 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.006275, allocations: 0 / 298 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.762e-05/0.006352, allocations: 160.3 kB / 298.2 MB, free: 0.5117 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.012e-05/0.006362, allocations: 0 / 298.2 MB, free: 0.5117 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.424e-05/0.006397, allocations: 15.92 kB / 298.2 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.768e-05/0.006414, allocations: 8 kB / 298.2 MB, free: 500 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.006418, allocations: 4 kB / 298.2 MB, free: 496 kB / 282.7 MB Notification: Performance of sorting global known variables: time 4.507e-05/0.006463, allocations: 65.41 kB / 298.3 MB, free: 428 kB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006463, allocations: 0 / 298.3 MB, free: 428 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001297/0.006593, allocations: 27.89 kB / 298.3 MB, free: 400 kB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001313/0.007906, allocations: 0.6222 MB / 298.9 MB, free: 128 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.646e-05/0.007982, allocations: 40.7 kB / 299 MB, free: 84 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/0.007987, allocations: 0 / 299 MB, free: 84 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.215e-05/0.008009, allocations: 20.84 kB / 299 MB, free: 60 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001582/0.008167, allocations: 35.22 kB / 299 MB, free: 28 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000397/0.008564, allocations: 246.6 kB / 299.2 MB, free: 15.76 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.841e-05/0.008603, allocations: 71.33 kB / 299.3 MB, free: 15.67 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.128e-05/0.008634, allocations: 17.02 kB / 299.3 MB, free: 15.65 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.703e-05/0.008681, allocations: 59.38 kB / 299.4 MB, free: 15.59 MB / 298.7 MB Notification: Performance of SimCode: time 6.51e-07/0.008682, allocations: 0 / 299.4 MB, free: 15.59 MB / 298.7 MB Notification: Performance of Templates: time 0.002829/0.01151, allocations: 1.51 MB / 300.9 MB, free: 14.09 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test32/Test32.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.9473242545500398]