Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001626/0.002754, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001001/0.001001, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001405/0.002407, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9089/0.9089, allocations: 173.4 MB / 186 MB, free: 7.531 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1538/1.063, allocations: 52.48 MB / 238.5 MB, free: 7.617 MB / 234.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.1326/0.1326, allocations: 32.79 MB / 272 MB, free: 6.285 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02249/0.155, allocations: 12.54 MB / 284.5 MB, free: 9.699 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 285.9 MB, free: 8.383 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.158e-05/2.318e-05, allocations: 2.312 kB / 285.9 MB, free: 8.379 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test33): time 0.002012/0.002035, allocations: 1.658 MB / 287.5 MB, free: 6.711 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001145/0.003181, allocations: 1.181 MB / 288.7 MB, free: 5.523 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.706e-05/0.003228, allocations: 0 / 288.7 MB, free: 5.523 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001321/0.00336, allocations: 31.72 kB / 288.7 MB, free: 5.492 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001238/0.003484, allocations: 39.73 kB / 288.8 MB, free: 5.453 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002101/0.003694, allocations: 115.6 kB / 288.9 MB, free: 5.34 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001278/0.003822, allocations: 63.77 kB / 289 MB, free: 5.277 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.068e-05/0.003902, allocations: 11.94 kB / 289 MB, free: 5.266 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.781e-05/0.00399, allocations: 43.84 kB / 289 MB, free: 5.223 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.872e-05/0.004079, allocations: 19.97 kB / 289 MB, free: 5.203 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.568e-05/0.004094, allocations: 4 kB / 289 MB, free: 5.199 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000103/0.004197, allocations: 51.86 kB / 289.1 MB, free: 5.148 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.81e-05/0.004236, allocations: 8 kB / 289.1 MB, free: 5.141 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.987e-05/0.004255, allocations: 11.94 kB / 289.1 MB, free: 5.129 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001526/0.004408, allocations: 79.67 kB / 289.2 MB, free: 5.051 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.016e-05/0.004418, allocations: 0 / 289.2 MB, free: 5.051 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.004419, allocations: 4 kB / 289.2 MB, free: 5.047 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.008e-05/0.004429, allocations: 0 / 289.2 MB, free: 5.047 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003639/0.004793, allocations: 284.2 kB / 289.5 MB, free: 4.746 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.842e-05/0.004821, allocations: 8.031 kB / 289.5 MB, free: 4.738 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.884e-05/0.00485, allocations: 8.875 kB / 289.5 MB, free: 4.73 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001323/0.004983, allocations: 137.6 kB / 289.6 MB, free: 4.57 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.265e-06/0.004991, allocations: 4.375 kB / 289.6 MB, free: 4.566 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.891e-05/0.00501, allocations: 384 / 289.6 MB, free: 4.566 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001152/0.005125, allocations: 98.36 kB / 289.7 MB, free: 4.449 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.005136, allocations: 8.141 kB / 289.7 MB, free: 4.441 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.116e-06/0.005145, allocations: 8.125 kB / 289.7 MB, free: 4.434 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.005149, allocations: 0 / 289.7 MB, free: 4.434 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.911e-05/0.005168, allocations: 7.984 kB / 289.7 MB, free: 4.426 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002053/0.005374, allocations: 167.1 kB / 289.9 MB, free: 4.246 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001271/0.005501, allocations: 29.39 kB / 289.9 MB, free: 4.207 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.291e-05/0.005514, allocations: 8.859 kB / 289.9 MB, free: 4.195 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.506e-05/0.005529, allocations: 0 / 289.9 MB, free: 4.195 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.23e-05/0.005551, allocations: 38.64 kB / 290 MB, free: 4.148 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 8.71e-07/0.005552, allocations: 0 / 290 MB, free: 4.148 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002394/0.005791, allocations: 77.55 kB / 290 MB, free: 4.066 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.113e-05/0.005822, allocations: 59.41 kB / 290.1 MB, free: 3.996 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.276e-05/0.005915, allocations: 136.3 kB / 290.2 MB, free: 3.848 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.04e-05/0.005926, allocations: 25.7 kB / 290.3 MB, free: 3.816 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.367e-05/0.005959, allocations: 92.11 kB / 290.4 MB, free: 3.723 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.099e-05/0.00598, allocations: 19.84 kB / 290.4 MB, free: 3.703 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.395e-05/0.006004, allocations: 13.72 kB / 290.4 MB, free: 3.684 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.811e-05/0.006082, allocations: 318.8 kB / 290.7 MB, free: 3.363 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.837e-06/0.006091, allocations: 4 kB / 290.7 MB, free: 3.359 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.617e-05/0.006117, allocations: 47.36 kB / 290.7 MB, free: 3.301 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.819e-05/0.006145, allocations: 27.66 kB / 290.8 MB, free: 3.27 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.006146, allocations: 4.031 kB / 290.8 MB, free: 3.266 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.067e-05/0.006197, allocations: 49.62 kB / 290.8 MB, free: 3.211 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.033e-05/0.006207, allocations: 4 kB / 290.8 MB, free: 3.207 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.006211, allocations: 0 / 290.8 MB, free: 3.207 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.006226, allocations: 0 / 290.8 MB, free: 3.207 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.517e-05/0.006272, allocations: 19.92 kB / 290.9 MB, free: 3.188 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.896e-06/0.006274, allocations: 0 / 290.9 MB, free: 3.188 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.583e-05/0.00629, allocations: 256 / 290.9 MB, free: 3.188 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.608e-06/0.006295, allocations: 7.938 kB / 290.9 MB, free: 3.18 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 5.454e-05/0.006349, allocations: 112.7 kB / 291 MB, free: 3.059 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.76e-05/0.006367, allocations: 19.92 kB / 291 MB, free: 3.039 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.367e-05/0.006441, allocations: 57.78 kB / 291 MB, free: 2.98 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.006442, allocations: 0 / 291 MB, free: 2.98 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.006444, allocations: 4 kB / 291 MB, free: 2.977 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.006446, allocations: 0 / 291 MB, free: 2.977 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001701/0.006616, allocations: 210.7 kB / 291.3 MB, free: 2.746 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.006618, allocations: 3.938 kB / 291.3 MB, free: 2.742 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.793e-05/0.006645, allocations: 11.98 kB / 291.3 MB, free: 2.73 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.174e-06/0.006653, allocations: 4 kB / 291.3 MB, free: 2.727 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.006655, allocations: 0 / 291.3 MB, free: 2.727 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.547e-06/0.006658, allocations: 4 kB / 291.3 MB, free: 2.723 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.006659, allocations: 0 / 291.3 MB, free: 2.723 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.00666, allocations: 0 / 291.3 MB, free: 2.723 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.838e-05/0.006738, allocations: 155.4 kB / 291.4 MB, free: 2.555 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.977e-06/0.006747, allocations: 0 / 291.4 MB, free: 2.555 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.903e-05/0.006776, allocations: 4 kB / 291.4 MB, free: 2.551 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.369e-05/0.0068, allocations: 3.984 kB / 291.4 MB, free: 2.547 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.354e-06/0.006802, allocations: 4 kB / 291.4 MB, free: 2.543 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.736e-05/0.00683, allocations: 27.67 kB / 291.5 MB, free: 2.512 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00683, allocations: 0 / 291.5 MB, free: 2.512 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001358/0.006965, allocations: 19.94 kB / 291.5 MB, free: 2.492 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.001401/0.008367, allocations: 0.6124 MB / 292.1 MB, free: 2.184 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.598e-05/0.008442, allocations: 28.78 kB / 292.1 MB, free: 2.152 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.008447, allocations: 4 kB / 292.1 MB, free: 2.148 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.491e-05/0.008472, allocations: 20.8 kB / 292.2 MB, free: 2.125 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000191/0.008663, allocations: 95.25 kB / 292.2 MB, free: 2.02 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004046/0.009068, allocations: 162 kB / 292.4 MB, free: 1.832 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.588e-05/0.009104, allocations: 63.34 kB / 292.5 MB, free: 1.75 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.338e-05/0.009147, allocations: 15.97 kB / 292.5 MB, free: 1.734 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.909e-05/0.009206, allocations: 59.38 kB / 292.5 MB, free: 1.676 MB / 282.7 MB Notification: Performance of SimCode: time 8.72e-07/0.009207, allocations: 4 kB / 292.5 MB, free: 1.672 MB / 282.7 MB Notification: Performance of Templates: time 0.002974/0.01218, allocations: 1.552 MB / 294.1 MB, free: 144 kB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test33/Test33.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.7147798435762525]