Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.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.0006897/0.0006897, allocations: 77.36 kB / 10 MB, free: 0.6797 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001008/0.001698, allocations: 445.8 kB / 10.44 MB, free: 252 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.0006326/0.0006326, allocations: 148.9 kB / 11.34 MB, free: 2.832 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009162/0.001549, allocations: 475.6 kB / 11.8 MB, free: 2.363 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.9084/0.9084, allocations: 173.4 MB / 185.9 MB, free: 8.926 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07752/0.986, allocations: 52.49 MB / 238.4 MB, free: 4.371 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.1264/0.1264, allocations: 32.8 MB / 272 MB, free: 2.973 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1222/0.2486, allocations: 12.56 MB / 284.5 MB, free: 11.88 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.CombiTable1Ds.Test27,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.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test27,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.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.963e-06/1.963e-06, allocations: 0 / 285.9 MB, free: 10.84 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.949e-05/2.145e-05, allocations: 2.859 kB / 285.9 MB, free: 10.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test27): time 0.002924/0.002946, allocations: 1.672 MB / 287.5 MB, free: 9.48 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000793/0.003739, allocations: 418.6 kB / 287.9 MB, free: 9.176 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.312e-05/0.003792, allocations: 1.125 kB / 287.9 MB, free: 9.176 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002901/0.004082, allocations: 145.5 kB / 288.1 MB, free: 9.102 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001925/0.004274, allocations: 101.9 kB / 288.2 MB, free: 9.043 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00024/0.004514, allocations: 95.23 kB / 288.3 MB, free: 8.977 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001749/0.004689, allocations: 80.06 kB / 288.4 MB, free: 8.938 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.477e-05/0.004784, allocations: 13.61 kB / 288.4 MB, free: 8.93 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001337/0.004918, allocations: 66.62 kB / 288.4 MB, free: 8.898 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001282/0.005046, allocations: 66.14 kB / 288.5 MB, free: 8.871 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.058e-05/0.005066, allocations: 6.562 kB / 288.5 MB, free: 8.867 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001097/0.005176, allocations: 48.36 kB / 288.6 MB, free: 8.848 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.374e-05/0.00523, allocations: 25.33 kB / 288.6 MB, free: 8.836 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.065e-05/0.005261, allocations: 17.09 kB / 288.6 MB, free: 8.828 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001771/0.005438, allocations: 87.45 kB / 288.7 MB, free: 8.785 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.889e-06/0.005448, allocations: 7.875 kB / 288.7 MB, free: 8.777 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.774e-06/0.005449, allocations: 3.984 kB / 288.7 MB, free: 8.773 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.977e-06/0.005458, allocations: 0 / 288.7 MB, free: 8.773 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.0003925/0.005851, allocations: 340.2 kB / 289 MB, free: 8.465 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.005886, allocations: 16.88 kB / 289 MB, free: 8.457 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.146e-05/0.005918, allocations: 14.98 kB / 289.1 MB, free: 8.449 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001474/0.006065, allocations: 145.8 kB / 289.2 MB, free: 8.297 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.918e-06/0.006075, allocations: 6.375 kB / 289.2 MB, free: 8.293 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.045e-05/0.006096, allocations: 2.375 kB / 289.2 MB, free: 8.293 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.858e-05/0.006194, allocations: 60.94 kB / 289.3 MB, free: 8.234 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.006205, allocations: 8.109 kB / 289.3 MB, free: 8.227 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.006214, allocations: 7.922 kB / 289.3 MB, free: 8.219 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.00622, allocations: 2.188 kB / 289.3 MB, free: 8.219 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.517e-05/0.006245, allocations: 6 kB / 289.3 MB, free: 8.219 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002102/0.006456, allocations: 174.2 kB / 289.5 MB, free: 8.051 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.016e-05/0.006506, allocations: 33.73 kB / 289.5 MB, free: 8.02 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.452e-05/0.00652, allocations: 11.3 kB / 289.5 MB, free: 8.008 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.829e-05/0.006538, allocations: 4.078 kB / 289.5 MB, free: 8.004 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.08e-05/0.006559, allocations: 36.28 kB / 289.5 MB, free: 7.961 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.00656, allocations: 0 / 289.5 MB, free: 7.961 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.000406/0.006966, allocations: 140 kB / 289.7 MB, free: 7.883 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.674e-05/0.006993, allocations: 56.66 kB / 289.7 MB, free: 7.816 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001337/0.007127, allocations: 211.6 kB / 289.9 MB, free: 7.652 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.099e-05/0.007138, allocations: 29.7 kB / 290 MB, free: 7.617 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.797e-05/0.007176, allocations: 99.03 kB / 290.1 MB, free: 7.523 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.655e-05/0.007202, allocations: 27.28 kB / 290.1 MB, free: 7.5 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.684e-05/0.007229, allocations: 18.8 kB / 290.1 MB, free: 7.48 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.675e-05/0.007306, allocations: 331 kB / 290.4 MB, free: 7.152 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.231e-05/0.007318, allocations: 5.594 kB / 290.4 MB, free: 7.152 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.145e-05/0.00733, allocations: 5.344 kB / 290.4 MB, free: 7.152 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.423e-05/0.007364, allocations: 31.39 kB / 290.5 MB, free: 7.133 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.007365, allocations: 3.938 kB / 290.5 MB, free: 7.129 MB / 282.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.129e-05/0.007427, allocations: 56.61 kB / 290.5 MB, free: 7.09 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.007439, allocations: 4.781 kB / 290.5 MB, free: 7.09 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.316e-06/0.007443, allocations: 5.219 kB / 290.5 MB, free: 7.086 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.007455, allocations: 0 / 290.5 MB, free: 7.086 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.442e-05/0.007519, allocations: 18.86 kB / 290.6 MB, free: 7.082 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.166e-06/0.007522, allocations: 0 / 290.6 MB, free: 7.082 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.693e-05/0.007539, allocations: 7.031 kB / 290.6 MB, free: 7.078 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.734e-06/0.007547, allocations: 5.234 kB / 290.6 MB, free: 7.074 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.502e-05/0.007602, allocations: 118 kB / 290.7 MB, free: 6.949 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.795e-05/0.00762, allocations: 7.062 kB / 290.7 MB, free: 6.949 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.545e-05/0.007715, allocations: 80.16 kB / 290.8 MB, free: 6.891 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.614e-06/0.007718, allocations: 1.531 kB / 290.8 MB, free: 6.891 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.00772, allocations: 8 kB / 290.8 MB, free: 6.883 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.007724, allocations: 0 / 290.8 MB, free: 6.883 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002184/0.007942, allocations: 250.3 kB / 291 MB, free: 6.652 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.007944, allocations: 0 / 291 MB, free: 6.652 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.921e-05/0.007983, allocations: 22.23 kB / 291 MB, free: 6.645 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.104e-05/0.007994, allocations: 11.75 kB / 291.1 MB, free: 6.637 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.007997, allocations: 1.922 kB / 291.1 MB, free: 6.637 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.008003, allocations: 5.438 kB / 291.1 MB, free: 6.633 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.008005, allocations: 0 / 291.1 MB, free: 6.633 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.008006, allocations: 1.281 kB / 291.1 MB, free: 6.633 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.534e-05/0.008091, allocations: 170 kB / 291.2 MB, free: 6.473 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.154e-05/0.008102, allocations: 1.594 kB / 291.2 MB, free: 6.473 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.736e-05/0.00814, allocations: 9.531 kB / 291.2 MB, free: 6.465 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.06e-05/0.00817, allocations: 14.34 kB / 291.3 MB, free: 6.453 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-06/0.008174, allocations: 2.219 kB / 291.3 MB, free: 6.453 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.605e-05/0.00823, allocations: 63.14 kB / 291.3 MB, free: 6.426 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00823, allocations: 0 / 291.3 MB, free: 6.426 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001312/0.008361, allocations: 22.91 kB / 291.3 MB, free: 6.418 MB / 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.001358/0.00972, allocations: 0.6304 MB / 292 MB, free: 6.211 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.875e-05/0.009798, allocations: 33.45 kB / 292 MB, free: 6.195 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.249e-06/0.009804, allocations: 2.75 kB / 292 MB, free: 6.195 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.874e-05/0.009842, allocations: 44.06 kB / 292.1 MB, free: 6.164 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001925/0.01003, allocations: 82.45 kB / 292.1 MB, free: 6.09 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004573/0.01049, allocations: 255.1 kB / 292.4 MB, free: 5.879 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.41e-05/0.01054, allocations: 71.7 kB / 292.5 MB, free: 5.801 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.54e-05/0.01057, allocations: 18.31 kB / 292.5 MB, free: 5.785 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.14e-05/0.01062, allocations: 62.38 kB / 292.5 MB, free: 5.734 MB / 282.7 MB Notification: Performance of SimCode: time 4.21e-07/0.01062, allocations: 0 / 292.5 MB, free: 5.734 MB / 282.7 MB Notification: Performance of Templates: time 0.002994/0.01362, allocations: 1.481 MB / 294 MB, free: 4.98 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test27/Test27.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.6946695391088724]