Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.001405/0.001405, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001168/0.001168, allocations: 167.9 kB / 25.61 MB, free: 8.582 MB / 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.003/1.003, allocations: 177.1 MB / 206.1 MB, free: 4.477 MB / 186.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.1446/0.1446, allocations: 32.81 MB / 295.4 MB, free: 15.37 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.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.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D1D.y.[0-9,]+.|combiTable2D1DT.y.[0-9,]+.|clock1.y|combiTable1D.y.[0-9,]+.|combiTable2D.y.[0-9,]+.|combiTable2DT.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D1D.y.[0-9,]+.|combiTable2D1DT.y.[0-9,]+.|clock1.y|combiTable1D.y.[0-9,]+.|combiTable2D.y.[0-9,]+.|combiTable2DT.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 377.3 MB, free: 25.59 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.063e-05/2.2e-05, allocations: 3.188 kB / 377.3 MB, free: 25.59 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test19): time 0.002035/0.002057, allocations: 1.926 MB / 379.2 MB, free: 23.64 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001084/0.003141, allocations: 1.074 MB / 380.3 MB, free: 22.56 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.85e-05/0.003229, allocations: 7.938 kB / 380.3 MB, free: 22.55 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003552/0.003585, allocations: 255 kB / 380.5 MB, free: 22.3 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003449/0.003929, allocations: 270.9 kB / 380.8 MB, free: 22.04 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007426/0.004672, allocations: 0.6235 MB / 381.4 MB, free: 21.41 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002912/0.004963, allocations: 338.9 kB / 381.7 MB, free: 21.08 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00013/0.005093, allocations: 36.77 kB / 381.8 MB, free: 21.05 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001329/0.005226, allocations: 167.6 kB / 381.9 MB, free: 20.88 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001593/0.005386, allocations: 191.6 kB / 382.1 MB, free: 20.7 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.918e-05/0.005405, allocations: 8 kB / 382.1 MB, free: 20.69 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.8e-05/0.005493, allocations: 63.86 kB / 382.2 MB, free: 20.62 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 8.215e-05/0.005575, allocations: 91.62 kB / 382.3 MB, free: 20.54 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.78e-05/0.005613, allocations: 51.72 kB / 382.3 MB, free: 20.48 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002005/0.005813, allocations: 231 kB / 382.6 MB, free: 20.26 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.005816, allocations: 0 / 382.6 MB, free: 20.26 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.005817, allocations: 0 / 382.6 MB, free: 20.26 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.419e-06/0.005821, allocations: 0 / 382.6 MB, free: 20.26 MB / 314.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.0004247/0.006246, allocations: 0.6737 MB / 383.2 MB, free: 19.55 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.094e-05/0.006277, allocations: 8.031 kB / 383.3 MB, free: 19.54 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.864e-05/0.006326, allocations: 44.66 kB / 383.3 MB, free: 19.5 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001839/0.00651, allocations: 274.7 kB / 383.6 MB, free: 19.2 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.053e-05/0.00652, allocations: 4.375 kB / 383.6 MB, free: 19.2 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.649e-06/0.00653, allocations: 8.375 kB / 383.6 MB, free: 19.19 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001067/0.006637, allocations: 74.72 kB / 383.6 MB, free: 19.11 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.926e-06/0.006646, allocations: 192 / 383.6 MB, free: 19.11 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.856e-06/0.006654, allocations: 8.125 kB / 383.7 MB, free: 19.1 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.00666, allocations: 4 kB / 383.7 MB, free: 19.1 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.5e-05/0.006695, allocations: 15.98 kB / 383.7 MB, free: 19.08 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003001/0.006995, allocations: 372 kB / 384 MB, free: 18.69 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.802e-05/0.007053, allocations: 47.05 kB / 384.1 MB, free: 18.63 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.909e-05/0.007072, allocations: 23.61 kB / 384.1 MB, free: 18.61 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.994e-05/0.007092, allocations: 4 kB / 384.1 MB, free: 18.6 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.547e-05/0.007108, allocations: 33.39 kB / 384.1 MB, free: 18.56 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.007109, allocations: 0 / 384.1 MB, free: 18.56 MB / 314.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001572/0.007266, allocations: 97.58 kB / 384.2 MB, free: 18.46 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.043e-05/0.007287, allocations: 59.39 kB / 384.3 MB, free: 18.39 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002059/0.007492, allocations: 482.4 kB / 384.8 MB, free: 17.9 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.141e-06/0.007499, allocations: 25.7 kB / 384.8 MB, free: 17.87 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.175e-05/0.00758, allocations: 266.8 kB / 385.1 MB, free: 17.61 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.026e-05/0.007601, allocations: 23.78 kB / 385.1 MB, free: 17.58 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.671e-05/0.007627, allocations: 23.38 kB / 385.1 MB, free: 17.55 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.285e-05/0.00769, allocations: 0.5428 MB / 385.6 MB, free: 17 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.605e-05/0.007706, allocations: 11.98 kB / 385.7 MB, free: 16.98 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.354e-05/0.00772, allocations: 8 kB / 385.7 MB, free: 16.98 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.636e-05/0.007756, allocations: 28.05 kB / 385.7 MB, free: 16.95 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.007758, allocations: 0 / 385.7 MB, free: 16.95 MB / 314.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 7.692e-05/0.007835, allocations: 93.45 kB / 385.8 MB, free: 16.85 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.055e-05/0.007845, allocations: 4 kB / 385.8 MB, free: 16.84 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.00785, allocations: 0 / 385.8 MB, free: 16.84 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.055e-06/0.007858, allocations: 0 / 385.8 MB, free: 16.84 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.911e-05/0.007917, allocations: 15.94 kB / 385.8 MB, free: 16.83 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.144e-06/0.007919, allocations: 4 kB / 385.8 MB, free: 16.82 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.689e-05/0.007946, allocations: 7.938 kB / 385.8 MB, free: 16.82 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.92e-06/0.007951, allocations: 4 kB / 385.8 MB, free: 16.81 MB / 314.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 5.032e-05/0.008001, allocations: 160.5 kB / 386 MB, free: 16.64 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.128e-05/0.008032, allocations: 39.77 kB / 386 MB, free: 16.61 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001207/0.008153, allocations: 109.1 kB / 386.1 MB, free: 16.49 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.008155, allocations: 7.984 kB / 386.1 MB, free: 16.48 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.333e-06/0.008156, allocations: 0 / 386.1 MB, free: 16.48 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.008159, allocations: 0 / 386.1 MB, free: 16.48 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001229/0.008282, allocations: 185 kB / 386.3 MB, free: 16.28 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.008283, allocations: 4 kB / 386.3 MB, free: 16.27 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.096e-05/0.008314, allocations: 15.94 kB / 386.3 MB, free: 16.26 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-06/0.008315, allocations: 0 / 386.3 MB, free: 16.26 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.368e-06/0.008319, allocations: 0 / 386.3 MB, free: 16.26 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.00832, allocations: 3.984 kB / 386.3 MB, free: 16.25 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.008321, allocations: 0 / 386.3 MB, free: 16.25 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.943e-05/0.008411, allocations: 243.6 kB / 386.6 MB, free: 16 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.831e-05/0.008429, allocations: 31.7 kB / 386.6 MB, free: 15.96 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.648e-05/0.008446, allocations: 7.938 kB / 386.6 MB, free: 15.96 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.83e-05/0.008484, allocations: 192 / 386.6 MB, free: 15.96 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.28e-05/0.008497, allocations: 3.984 kB / 386.6 MB, free: 15.95 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-06/0.008501, allocations: 16 kB / 386.6 MB, free: 15.94 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001156/0.008617, allocations: 307 kB / 386.9 MB, free: 15.64 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008617, allocations: 0 / 386.9 MB, free: 15.64 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001763/0.008793, allocations: 31.95 kB / 387 MB, free: 15.61 MB / 314.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.001293/0.01009, allocations: 0.5554 MB / 387.5 MB, free: 15.28 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.076e-05/0.01017, allocations: 35.67 kB / 387.5 MB, free: 15.24 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.462e-06/0.01017, allocations: 0 / 387.5 MB, free: 15.24 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.67e-05/0.01019, allocations: 31.59 kB / 387.6 MB, free: 15.21 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002977/0.01048, allocations: 90.16 kB / 387.7 MB, free: 15.13 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004566/0.01094, allocations: 0.5254 MB / 388.2 MB, free: 14.57 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.726e-05/0.01099, allocations: 115.8 kB / 388.3 MB, free: 14.44 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.007e-05/0.01105, allocations: 29.45 kB / 388.3 MB, free: 14.41 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.032e-05/0.01113, allocations: 110.2 kB / 388.4 MB, free: 14.3 MB / 314.7 MB Notification: Performance of SimCode: time 4.91e-07/0.01113, allocations: 0 / 388.4 MB, free: 14.3 MB / 314.7 MB Notification: Performance of Templates: time 0.004768/0.0159, allocations: 3.168 MB / 391.6 MB, free: 11.18 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/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.2338698520325124]