Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.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.0009566/0.0009566, 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.0009541/0.0009541, allocations: 161 kB / 24.56 MB, free: 12 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 0.9505/0.9505, allocations: 177.1 MB / 205 MB, free: 5.656 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.2528/0.2528, allocations: 32.8 MB / 294.3 MB, free: 1.238 MB / 266.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.CombiTable2Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.[0-9,]+.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.[0-9,]+.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 3.938 kB / 376 MB, free: 4.652 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.818e-05/2.999e-05, allocations: 2.312 kB / 376 MB, free: 4.648 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test21): time 0.003635/0.003665, allocations: 2.043 MB / 378.1 MB, free: 2.59 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001741/0.005405, allocations: 1 MB / 379.1 MB, free: 1.582 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001243/0.00553, allocations: 4 kB / 379.1 MB, free: 1.578 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004959/0.006026, allocations: 266.9 kB / 379.3 MB, free: 1.316 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005469/0.006572, allocations: 270.9 kB / 379.6 MB, free: 1.051 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009458/0.007518, allocations: 478.8 kB / 380.1 MB, free: 0.582 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004483/0.007966, allocations: 339 kB / 380.4 MB, free: 256 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001689/0.008135, allocations: 44.89 kB / 380.4 MB, free: 212 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002267/0.008362, allocations: 179.5 kB / 380.6 MB, free: 32 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000265/0.008627, allocations: 191.7 kB / 380.8 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.359e-05/0.008661, allocations: 16 kB / 380.8 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002008/0.008861, allocations: 103.8 kB / 380.9 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001009/0.008962, allocations: 99.59 kB / 381 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.119e-05/0.009014, allocations: 55.72 kB / 381.1 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002884/0.009302, allocations: 258.9 kB / 381.3 MB, free: 15.32 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.009305, allocations: 0 / 381.3 MB, free: 15.32 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.009306, allocations: 4 kB / 381.3 MB, free: 15.31 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.421e-06/0.009312, allocations: 0 / 381.3 MB, free: 15.31 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0005395/0.009851, allocations: 0.6931 MB / 382 MB, free: 14.58 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.009887, allocations: 15.98 kB / 382 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.118e-05/0.009958, allocations: 56.61 kB / 382.1 MB, free: 14.51 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002254/0.01018, allocations: 270.8 kB / 382.4 MB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.08e-05/0.01019, allocations: 4.375 kB / 382.4 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.533e-05/0.01022, allocations: 16.33 kB / 382.4 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001538/0.01037, allocations: 98.91 kB / 382.5 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.01038, allocations: 192 / 382.5 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.01039, allocations: 12.06 kB / 382.5 MB, free: 14.08 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.0104, allocations: 0 / 382.5 MB, free: 14.08 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.524e-05/0.01047, allocations: 40.56 kB / 382.5 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004648/0.01093, allocations: 479.3 kB / 383 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001025/0.01103, allocations: 75.03 kB / 383.1 MB, free: 13.45 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.297e-05/0.01107, allocations: 31.61 kB / 383.1 MB, free: 13.42 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.995e-05/0.01109, allocations: 4 kB / 383.1 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.962e-05/0.01111, allocations: 33.61 kB / 383.1 MB, free: 13.37 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.022e-06/0.01111, allocations: 3.938 kB / 383.1 MB, free: 13.37 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005539/0.01166, allocations: 326.2 kB / 383.5 MB, free: 13.05 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.344e-05/0.01169, allocations: 55.41 kB / 383.5 MB, free: 12.98 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003361/0.01203, allocations: 486.7 kB / 384 MB, free: 12.49 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.845e-05/0.01205, allocations: 29.7 kB / 384 MB, free: 12.46 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001341/0.01218, allocations: 263.2 kB / 384.3 MB, free: 12.19 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.196e-05/0.01223, allocations: 63.48 kB / 384.3 MB, free: 12.13 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.592e-05/0.01227, allocations: 35.38 kB / 384.4 MB, free: 12.09 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.01241, allocations: 0.5313 MB / 384.9 MB, free: 11.54 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.638e-05/0.01246, allocations: 31.89 kB / 384.9 MB, free: 11.51 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.029e-05/0.0125, allocations: 27.98 kB / 385 MB, free: 11.48 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.804e-05/0.0126, allocations: 77.95 kB / 385 MB, free: 11.41 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.0126, allocations: 0 / 385 MB, free: 11.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001819/0.01278, allocations: 161.3 kB / 385.2 MB, free: 11.24 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.01279, allocations: 7.938 kB / 385.2 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.0128, allocations: 3.938 kB / 385.2 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.01281, allocations: 4 kB / 385.2 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001188/0.01293, allocations: 31.98 kB / 385.2 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.01294, allocations: 0 / 385.2 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.456e-05/0.01297, allocations: 11.98 kB / 385.2 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.074e-05/0.01298, allocations: 8 kB / 385.3 MB, free: 11.18 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 (17): * Single equations (assignments): 17 * 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 8.703e-05/0.01307, allocations: 164.5 kB / 385.4 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.603e-05/0.01311, allocations: 47.72 kB / 385.5 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002486/0.01336, allocations: 187.7 kB / 385.6 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.01337, allocations: 4 kB / 385.7 MB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.01337, allocations: 0 / 385.7 MB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.01337, allocations: 0 / 385.7 MB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004604/0.01383, allocations: 0.5596 MB / 386.2 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.01383, allocations: 0 / 386.2 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.854e-05/0.0139, allocations: 35.92 kB / 386.2 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.01391, allocations: 4 kB / 386.2 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.418e-06/0.01392, allocations: 0 / 386.2 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.01392, allocations: 4 kB / 386.3 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.01392, allocations: 0 / 386.3 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002042/0.01412, allocations: 322 kB / 386.6 MB, free: 9.785 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.191e-05/0.01415, allocations: 27.77 kB / 386.6 MB, free: 9.758 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.087e-05/0.01417, allocations: 8 kB / 386.6 MB, free: 9.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.609e-05/0.01421, allocations: 4 kB / 386.6 MB, free: 9.746 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.971e-05/0.01425, allocations: 15.97 kB / 386.6 MB, free: 9.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.324e-06/0.01426, allocations: 4 kB / 386.6 MB, free: 9.727 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002053/0.01447, allocations: 323 kB / 386.9 MB, free: 9.414 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01447, allocations: 0 / 386.9 MB, free: 9.414 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002136/0.01468, allocations: 55.83 kB / 387 MB, free: 9.359 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 (17): * Single equations (assignments): 17 * 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.001496/0.01618, allocations: 0.6693 MB / 387.7 MB, free: 8.977 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001736/0.01635, allocations: 95.48 kB / 387.8 MB, free: 8.879 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.01635, allocations: 4 kB / 387.8 MB, free: 8.875 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.498e-05/0.01641, allocations: 57.62 kB / 387.8 MB, free: 8.816 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003468/0.01675, allocations: 88.48 kB / 387.9 MB, free: 8.734 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006718/0.01742, allocations: 0.573 MB / 388.5 MB, free: 8.133 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.776e-05/0.01749, allocations: 116.3 kB / 388.6 MB, free: 8 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.957e-05/0.01757, allocations: 45.89 kB / 388.6 MB, free: 7.957 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.495e-05/0.01763, allocations: 32.48 kB / 388.7 MB, free: 7.926 MB / 362.7 MB Notification: Performance of SimCode: time 1.132e-06/0.01763, allocations: 0 / 388.7 MB, free: 7.926 MB / 362.7 MB Notification: Performance of Templates: time 0.006054/0.02368, allocations: 3.635 MB / 392.3 MB, free: 4.332 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test21/Test21.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.1255422718822956]