Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.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.001041/0.001041, allocations: 77.05 kB / 10 MB, free: 0.6797 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001432/0.002472, allocations: 453.9 kB / 10.45 MB, free: 244 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.0007436/0.0007436, allocations: 161.1 kB / 11.35 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009722/0.001716, allocations: 475.6 kB / 11.82 MB, free: 2.344 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.9279/0.9279, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1083/1.036, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.2407/0.2407, allocations: 34.26 MB / 278.4 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02425/0.2649, allocations: 13.1 MB / 291.5 MB, free: 7.34 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.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 292.9 MB, free: 6.168 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.884e-05/2.091e-05, allocations: 5.141 kB / 292.9 MB, free: 6.164 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.002281/0.002302, allocations: 1.749 MB / 294.6 MB, free: 4.406 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008336/0.003136, allocations: 0.5918 MB / 295.2 MB, free: 3.809 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.635e-05/0.003212, allocations: 4 kB / 295.2 MB, free: 3.805 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004595/0.003671, allocations: 498.9 kB / 295.7 MB, free: 3.316 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003347/0.004006, allocations: 315.2 kB / 296 MB, free: 3.008 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003342/0.00434, allocations: 189.7 kB / 296.2 MB, free: 2.824 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002151/0.004555, allocations: 171.6 kB / 296.4 MB, free: 2.656 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.266e-05/0.004648, allocations: 20.14 kB / 296.4 MB, free: 2.633 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001584/0.004807, allocations: 167.7 kB / 296.5 MB, free: 2.469 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001763/0.004983, allocations: 191.7 kB / 296.7 MB, free: 2.281 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.101e-05/0.005004, allocations: 4 kB / 296.7 MB, free: 2.277 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001076/0.005111, allocations: 59.84 kB / 296.8 MB, free: 2.219 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.485e-05/0.005206, allocations: 83.72 kB / 296.9 MB, free: 2.137 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.551e-05/0.005242, allocations: 35.75 kB / 296.9 MB, free: 2.102 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002085/0.00545, allocations: 203.2 kB / 297.1 MB, free: 1.902 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.21e-05/0.005462, allocations: 0 / 297.1 MB, free: 1.902 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.005464, allocations: 4 kB / 297.1 MB, free: 1.898 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.055e-05/0.005475, allocations: 0 / 297.1 MB, free: 1.898 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.0005492/0.006024, allocations: 0.6004 MB / 297.7 MB, free: 1.273 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.006058, allocations: 8.031 kB / 297.7 MB, free: 1.266 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.657e-05/0.006104, allocations: 28.84 kB / 297.7 MB, free: 1.238 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000191/0.006295, allocations: 254 kB / 298 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.658e-06/0.006305, allocations: 384 / 298 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.232e-05/0.006327, allocations: 8.375 kB / 298 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001039/0.006431, allocations: 58.94 kB / 298.1 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.006441, allocations: 4.188 kB / 298.1 MB, free: 0.8828 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.986e-06/0.006449, allocations: 8.062 kB / 298.1 MB, free: 0.875 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.006455, allocations: 0 / 298.1 MB, free: 0.875 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.266e-05/0.006477, allocations: 11.94 kB / 298.1 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002872/0.006764, allocations: 211 kB / 298.3 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.196e-05/0.006816, allocations: 33.44 kB / 298.3 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.816e-05/0.006835, allocations: 16.86 kB / 298.3 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.127e-05/0.006856, allocations: 3.938 kB / 298.3 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.067e-05/0.006877, allocations: 34.64 kB / 298.4 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 7.92e-07/0.006877, allocations: 0 / 298.4 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004704/0.007348, allocations: 161.5 kB / 298.5 MB, free: 376 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.844e-05/0.007376, allocations: 51.41 kB / 298.6 MB, free: 312 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000314/0.00769, allocations: 0.5322 MB / 299.1 MB, free: 15.76 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.226e-05/0.007702, allocations: 25.7 kB / 299.1 MB, free: 15.73 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.871e-05/0.007761, allocations: 153.2 kB / 299.3 MB, free: 15.57 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.551e-05/0.007787, allocations: 23.78 kB / 299.3 MB, free: 15.55 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.607e-05/0.007843, allocations: 25.66 kB / 299.3 MB, free: 15.52 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.268e-05/0.007935, allocations: 362.6 kB / 299.7 MB, free: 15.15 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.346e-05/0.007949, allocations: 8 kB / 299.7 MB, free: 15.14 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.277e-05/0.007962, allocations: 4 kB / 299.7 MB, free: 15.14 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.012e-05/0.008002, allocations: 39.64 kB / 299.7 MB, free: 15.1 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.008003, allocations: 0 / 299.7 MB, free: 15.1 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 7.249e-05/0.008076, allocations: 69.66 kB / 299.8 MB, free: 15.02 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/0.008087, allocations: 4 kB / 299.8 MB, free: 15.02 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.008091, allocations: 0 / 299.8 MB, free: 15.02 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.008105, allocations: 4.422 kB / 299.8 MB, free: 15.02 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.01e-05/0.008175, allocations: 23.92 kB / 299.8 MB, free: 14.99 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.00818, allocations: 0 / 299.8 MB, free: 14.99 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.548e-05/0.008205, allocations: 8 kB / 299.9 MB, free: 14.98 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-06/0.008211, allocations: 0 / 299.9 MB, free: 14.98 MB / 298.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 6.863e-05/0.008279, allocations: 116.6 kB / 300 MB, free: 14.86 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.61e-05/0.008305, allocations: 27.97 kB / 300 MB, free: 14.83 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001286/0.008434, allocations: 97.47 kB / 300.1 MB, free: 14.73 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.008437, allocations: 4 kB / 300.1 MB, free: 14.72 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.008438, allocations: 4 kB / 300.1 MB, free: 14.72 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.008441, allocations: 3.938 kB / 300.1 MB, free: 14.71 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002712/0.008713, allocations: 311.7 kB / 300.4 MB, free: 14.38 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.008714, allocations: 0 / 300.4 MB, free: 14.38 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.351e-05/0.008758, allocations: 19.98 kB / 300.4 MB, free: 14.36 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.411e-05/0.008782, allocations: 39.7 kB / 300.5 MB, free: 14.32 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-06/0.008784, allocations: 0 / 300.5 MB, free: 14.32 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.53e-06/0.00879, allocations: 0 / 300.5 MB, free: 14.32 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.008791, allocations: 80 / 300.5 MB, free: 14.32 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.008794, allocations: 3.984 kB / 300.5 MB, free: 14.32 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.369e-05/0.008888, allocations: 188.3 kB / 300.7 MB, free: 14.12 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.577e-05/0.008903, allocations: 4 kB / 300.7 MB, free: 14.11 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.682e-05/0.00894, allocations: 0 / 300.7 MB, free: 14.11 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.881e-05/0.008969, allocations: 7.984 kB / 300.7 MB, free: 14.11 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.417e-06/0.008972, allocations: 0 / 300.7 MB, free: 14.11 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001667/0.009139, allocations: 291.2 kB / 300.9 MB, free: 13.82 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009139, allocations: 0 / 300.9 MB, free: 13.82 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001415/0.009281, allocations: 27.94 kB / 301 MB, free: 13.79 MB / 298.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.001413/0.01069, allocations: 0.6355 MB / 301.6 MB, free: 13.51 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.958e-05/0.01077, allocations: 28.84 kB / 301.6 MB, free: 13.48 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.001e-05/0.01078, allocations: 15.88 kB / 301.7 MB, free: 13.46 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.165e-05/0.01082, allocations: 28.84 kB / 301.7 MB, free: 13.43 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002142/0.01103, allocations: 97.34 kB / 301.8 MB, free: 13.32 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006843/0.01171, allocations: 0.6136 MB / 302.4 MB, free: 12.68 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.169e-05/0.01179, allocations: 123.2 kB / 302.5 MB, free: 12.54 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.549e-05/0.01182, allocations: 17.17 kB / 302.5 MB, free: 12.52 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.616e-05/0.01188, allocations: 63.36 kB / 302.6 MB, free: 12.46 MB / 298.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01188, allocations: 4 kB / 302.6 MB, free: 12.45 MB / 298.7 MB Notification: Performance of Templates: time 0.003779/0.01566, allocations: 1.77 MB / 304.4 MB, free: 10.7 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.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.700593149289489]