Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test19.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.0015/0.0015, allocations: 79.59 kB / 21.18 MB, free: 3.387 MB / 18.57 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.00169/0.00169, allocations: 161 kB / 24.55 MB, free: 20 kB / 18.57 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 1.018/1.018, allocations: 177.1 MB / 205 MB, free: 5.281 MB / 186.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.2467/0.2467, allocations: 34.27 MB / 295.7 MB, free: 0.7109 MB / 266.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.CombiTable2Ds.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.[0-9,]+.|combiTable2D.y|combiTable2DT.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test19") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.[0-9,]+.|combiTable2D.y|combiTable2DT.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test19") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 378 MB, free: 2.652 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.284e-05/1.413e-05, allocations: 2.312 kB / 378 MB, free: 2.648 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test19): time 0.002206/0.00222, allocations: 1.947 MB / 380 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001194/0.003415, allocations: 0.9771 MB / 381 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.953e-05/0.003484, allocations: 0 / 381 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003355/0.00382, allocations: 258.9 kB / 381.2 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003547/0.004174, allocations: 267 kB / 381.5 MB, free: 15.19 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005492/0.004723, allocations: 462.8 kB / 381.9 MB, free: 14.73 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002552/0.004979, allocations: 307 kB / 382.2 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.005091, allocations: 40.84 kB / 382.3 MB, free: 14.39 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001336/0.005225, allocations: 159.6 kB / 382.4 MB, free: 14.24 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001668/0.005391, allocations: 191.6 kB / 382.6 MB, free: 14.05 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.026e-05/0.005412, allocations: 8 kB / 382.6 MB, free: 14.04 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.164e-05/0.005493, allocations: 55.86 kB / 382.7 MB, free: 13.99 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.024e-05/0.005583, allocations: 87.61 kB / 382.8 MB, free: 13.9 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.36e-05/0.005627, allocations: 51.72 kB / 382.8 MB, free: 13.85 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002206/0.005848, allocations: 207.1 kB / 383 MB, free: 13.65 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.00585, allocations: 0 / 383 MB, free: 13.65 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.00585, allocations: 4 kB / 383 MB, free: 13.64 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.857e-06/0.005854, allocations: 0 / 383 MB, free: 13.64 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004914/0.006346, allocations: 0.6661 MB / 383.7 MB, free: 12.94 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.922e-05/0.006375, allocations: 12.03 kB / 383.7 MB, free: 12.93 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.3e-05/0.006428, allocations: 48.59 kB / 383.7 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002062/0.006634, allocations: 258.8 kB / 384 MB, free: 12.6 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.715e-06/0.006642, allocations: 4.375 kB / 384 MB, free: 12.6 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.199e-05/0.006654, allocations: 8.375 kB / 384 MB, free: 12.59 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001188/0.006773, allocations: 78.92 kB / 384.1 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.004e-06/0.00678, allocations: 192 / 384.1 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.238e-06/0.006789, allocations: 4.125 kB / 384.1 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.006796, allocations: 4 kB / 384.1 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.853e-05/0.006844, allocations: 31.92 kB / 384.1 MB, free: 12.46 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003873/0.007232, allocations: 427.4 kB / 384.5 MB, free: 12.01 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.548e-05/0.007297, allocations: 51.05 kB / 384.6 MB, free: 11.95 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.741e-05/0.007325, allocations: 23.61 kB / 384.6 MB, free: 11.92 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.051e-05/0.007345, allocations: 0 / 384.6 MB, free: 11.92 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.815e-05/0.007363, allocations: 37.52 kB / 384.7 MB, free: 11.88 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.007364, allocations: 0 / 384.7 MB, free: 11.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001778/0.007542, allocations: 105.5 kB / 384.8 MB, free: 11.77 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.386e-05/0.007566, allocations: 51.41 kB / 384.8 MB, free: 11.7 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005985/0.008165, allocations: 490.7 kB / 385.3 MB, free: 11.21 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.017e-05/0.008175, allocations: 33.7 kB / 385.3 MB, free: 11.17 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001101/0.008285, allocations: 250.8 kB / 385.6 MB, free: 10.92 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.173e-05/0.008307, allocations: 19.8 kB / 385.6 MB, free: 10.9 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.146e-05/0.008338, allocations: 31.36 kB / 385.6 MB, free: 10.86 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.008464, allocations: 0.5312 MB / 386.1 MB, free: 10.32 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.911e-05/0.008483, allocations: 8 kB / 386.2 MB, free: 10.31 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.635e-05/0.008499, allocations: 8 kB / 386.2 MB, free: 10.3 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.454e-05/0.008544, allocations: 31.67 kB / 386.2 MB, free: 10.27 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.008546, allocations: 0 / 386.2 MB, free: 10.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 9.678e-05/0.008642, allocations: 93.45 kB / 386.3 MB, free: 10.17 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.039e-05/0.008653, allocations: 4 kB / 386.3 MB, free: 10.17 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-06/0.008656, allocations: 4 kB / 386.3 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.008671, allocations: 4 kB / 386.3 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.212e-05/0.008733, allocations: 15.92 kB / 386.3 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.008738, allocations: 0 / 386.3 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.538e-05/0.008763, allocations: 4 kB / 386.3 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.00877, allocations: 7.938 kB / 386.3 MB, free: 10.13 MB / 362.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 (6): * Single equations (assignments): 6 * 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.872e-05/0.008839, allocations: 160.5 kB / 386.5 MB, free: 9.965 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.883e-05/0.008878, allocations: 43.7 kB / 386.5 MB, free: 9.922 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001484/0.009026, allocations: 113.5 kB / 386.6 MB, free: 9.805 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-06/0.009028, allocations: 4 kB / 386.6 MB, free: 9.801 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.009031, allocations: 0 / 386.6 MB, free: 9.801 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.009033, allocations: 4.062 kB / 386.6 MB, free: 9.797 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001826/0.009216, allocations: 248.5 kB / 386.9 MB, free: 9.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.21e-07/0.009216, allocations: 0 / 386.9 MB, free: 9.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.201e-05/0.009248, allocations: 15.94 kB / 386.9 MB, free: 9.504 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.00925, allocations: 0 / 386.9 MB, free: 9.504 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.34e-06/0.009255, allocations: 0 / 386.9 MB, free: 9.504 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.009256, allocations: 0 / 386.9 MB, free: 9.504 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.009257, allocations: 0 / 386.9 MB, free: 9.504 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001253/0.009382, allocations: 251.6 kB / 387.1 MB, free: 9.238 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.896e-05/0.009401, allocations: 27.81 kB / 387.2 MB, free: 9.211 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.554e-05/0.009417, allocations: 4 kB / 387.2 MB, free: 9.207 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.723e-05/0.009454, allocations: 4 kB / 387.2 MB, free: 9.203 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.312e-05/0.009467, allocations: 3.984 kB / 387.2 MB, free: 9.199 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.467e-06/0.009471, allocations: 4 kB / 387.2 MB, free: 9.195 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001954/0.009666, allocations: 327 kB / 387.5 MB, free: 8.875 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009666, allocations: 0 / 387.5 MB, free: 8.875 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001818/0.009848, allocations: 35.89 kB / 387.5 MB, free: 8.84 MB / 362.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 (6): * Single equations (assignments): 6 * 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.001137/0.01098, allocations: 0.5664 MB / 388.1 MB, free: 8.508 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.19e-05/0.01108, allocations: 39.67 kB / 388.1 MB, free: 8.465 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.01108, allocations: 0 / 388.1 MB, free: 8.465 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.241e-05/0.0111, allocations: 27.61 kB / 388.2 MB, free: 8.434 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002962/0.0114, allocations: 84.47 kB / 388.3 MB, free: 8.355 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005476/0.01194, allocations: 0.5075 MB / 388.8 MB, free: 7.816 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.375e-05/0.01201, allocations: 107.9 kB / 388.9 MB, free: 7.691 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.122e-05/0.01207, allocations: 37.44 kB / 388.9 MB, free: 7.652 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.774e-05/0.01211, allocations: 28.48 kB / 388.9 MB, free: 7.625 MB / 362.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01211, allocations: 0 / 388.9 MB, free: 7.625 MB / 362.7 MB Notification: Performance of Templates: time 0.004643/0.01675, allocations: 2.789 MB / 391.7 MB, free: 4.875 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test19.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test19.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test19 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test19/Test19.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: 3.257693105842918]