Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001272/0.001272, allocations: 84.7 kB / 20.68 MB, free: 1.023 MB / 14.72 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.001421/0.001421, allocations: 166.5 kB / 23.95 MB, free: 4.16 MB / 14.72 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.386/1.386, allocations: 177.1 MB / 204.3 MB, free: 9.172 MB / 190.1 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.199/0.199, allocations: 32.82 MB / 293.5 MB, free: 16 kB / 270.1 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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 440.1 MB, free: 8.129 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.901e-05/3.075e-05, allocations: 2.281 kB / 440.1 MB, free: 8.125 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.003079/0.00311, allocations: 1.672 MB / 441.8 MB, free: 6.445 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001106/0.004216, allocations: 0.5647 MB / 442.3 MB, free: 5.875 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.523e-05/0.004281, allocations: 0 / 442.3 MB, free: 5.875 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006211/0.004902, allocations: 459 kB / 442.8 MB, free: 5.426 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005038/0.005406, allocations: 299.1 kB / 443.1 MB, free: 5.133 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004541/0.00586, allocations: 185.3 kB / 443.3 MB, free: 4.957 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002775/0.006138, allocations: 183.6 kB / 443.4 MB, free: 4.777 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.006251, allocations: 16.22 kB / 443.5 MB, free: 4.758 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001514/0.006402, allocations: 119.8 kB / 443.6 MB, free: 4.641 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002893/0.006692, allocations: 247.6 kB / 443.8 MB, free: 4.398 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.692e-05/0.006719, allocations: 8 kB / 443.8 MB, free: 4.391 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001208/0.006839, allocations: 55.84 kB / 443.9 MB, free: 4.336 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000107/0.006946, allocations: 83.72 kB / 444 MB, free: 4.254 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.402e-05/0.007, allocations: 31.75 kB / 444 MB, free: 4.223 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003336/0.007334, allocations: 263 kB / 444.3 MB, free: 3.965 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.007337, allocations: 0 / 444.3 MB, free: 3.965 MB / 366.1 MB Notification: Performance of FrontEnd: time 7.22e-07/0.007338, allocations: 0 / 444.3 MB, free: 3.965 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.007342, allocations: 0 / 444.3 MB, free: 3.965 MB / 366.1 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.0007178/0.00806, allocations: 0.5815 MB / 444.8 MB, free: 3.352 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.008094, allocations: 8.031 kB / 444.8 MB, free: 3.344 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.094e-05/0.008165, allocations: 44.66 kB / 444.9 MB, free: 3.301 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002805/0.008445, allocations: 254 kB / 445.1 MB, free: 3.027 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.008456, allocations: 384 / 445.1 MB, free: 3.027 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.21e-05/0.008478, allocations: 8.312 kB / 445.1 MB, free: 3.02 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001677/0.008646, allocations: 62.23 kB / 445.2 MB, free: 2.953 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.008659, allocations: 192 / 445.2 MB, free: 2.953 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.008672, allocations: 8.125 kB / 445.2 MB, free: 2.945 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.008676, allocations: 0 / 445.2 MB, free: 2.945 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001119/0.008788, allocations: 35.91 kB / 445.2 MB, free: 2.91 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004879/0.009275, allocations: 344.3 kB / 445.6 MB, free: 2.543 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001204/0.009396, allocations: 50.53 kB / 445.6 MB, free: 2.484 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.673e-05/0.009453, allocations: 20.94 kB / 445.7 MB, free: 2.461 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.061e-05/0.009473, allocations: 0 / 445.7 MB, free: 2.461 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.971e-05/0.009503, allocations: 34.56 kB / 445.7 MB, free: 2.418 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 9.01e-07/0.009504, allocations: 0 / 445.7 MB, free: 2.418 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.001026/0.01053, allocations: 340.7 kB / 446 MB, free: 2.078 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.744e-05/0.01058, allocations: 55.39 kB / 446.1 MB, free: 2.012 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008851/0.01146, allocations: 0.8613 MB / 446.9 MB, free: 1.137 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.494e-05/0.01149, allocations: 29.7 kB / 447 MB, free: 1.102 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001719/0.01166, allocations: 212.1 kB / 447.2 MB, free: 0.8906 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.724e-05/0.0117, allocations: 31.67 kB / 447.2 MB, free: 0.8594 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.581e-05/0.01174, allocations: 25.72 kB / 447.2 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001688/0.01191, allocations: 366.7 kB / 447.6 MB, free: 472 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.575e-05/0.012, allocations: 27.98 kB / 447.6 MB, free: 444 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.496e-05/0.01208, allocations: 35.97 kB / 447.6 MB, free: 408 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001776/0.01226, allocations: 76.77 kB / 447.7 MB, free: 328 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.01226, allocations: 0 / 447.7 MB, free: 328 kB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000273/0.01253, allocations: 145.4 kB / 447.9 MB, free: 176 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.01255, allocations: 4 kB / 447.9 MB, free: 172 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.01255, allocations: 4 kB / 447.9 MB, free: 168 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.01257, allocations: 0 / 447.9 MB, free: 168 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.01267, allocations: 19.98 kB / 447.9 MB, free: 148 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.01267, allocations: 0 / 447.9 MB, free: 148 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.631e-05/0.01273, allocations: 4 kB / 447.9 MB, free: 144 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.223e-05/0.01274, allocations: 8 kB / 447.9 MB, free: 136 kB / 366.1 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 0.1727/0.1854, allocations: 217.5 kB / 448.1 MB, free: 21.24 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.081e-05/0.1855, allocations: 47.31 kB / 448.2 MB, free: 21.24 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004076/0.1859, allocations: 169.3 kB / 448.3 MB, free: 21.2 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.1859, allocations: 10.78 kB / 448.3 MB, free: 21.2 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.1859, allocations: 4.719 kB / 448.3 MB, free: 21.2 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.1859, allocations: 0.5156 kB / 448.3 MB, free: 21.2 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005738/0.1865, allocations: 470.3 kB / 448.8 MB, free: 20.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.1865, allocations: 1.188 kB / 448.8 MB, free: 20.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.634e-05/0.1866, allocations: 17.48 kB / 448.8 MB, free: 20.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.479e-06/0.1866, allocations: 3.656 kB / 448.8 MB, free: 20.96 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.828e-06/0.1866, allocations: 1.875 kB / 448.8 MB, free: 20.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.1866, allocations: 4.844 kB / 448.8 MB, free: 20.96 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.1866, allocations: 0.5625 kB / 448.8 MB, free: 20.96 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002506/0.1868, allocations: 246.8 kB / 449.1 MB, free: 20.83 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.442e-05/0.1869, allocations: 38.81 kB / 449.1 MB, free: 20.81 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.893e-05/0.1869, allocations: 9.391 kB / 449.1 MB, free: 20.81 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.694e-05/0.187, allocations: 4.938 kB / 449.1 MB, free: 20.81 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.343e-05/0.187, allocations: 6.797 kB / 449.1 MB, free: 20.81 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.706e-06/0.187, allocations: 2.188 kB / 449.1 MB, free: 20.81 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005576/0.1876, allocations: 0.6568 MB / 449.8 MB, free: 20.66 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1876, allocations: 1.344 kB / 449.8 MB, free: 20.66 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002628/0.1879, allocations: 26.58 kB / 449.8 MB, free: 20.66 MB / 366.1 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.00171/0.1896, allocations: 493.6 kB / 450.3 MB, free: 20.53 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002552/0.1898, allocations: 72.66 kB / 450.4 MB, free: 20.51 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1898, allocations: 3.25 kB / 450.4 MB, free: 20.51 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.565e-05/0.1899, allocations: 39.31 kB / 450.4 MB, free: 20.5 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003545/0.1903, allocations: 31.3 kB / 450.4 MB, free: 20.49 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001167/0.1914, allocations: 0.8447 MB / 451.3 MB, free: 20.12 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002297/0.1917, allocations: 227.3 kB / 451.5 MB, free: 20.02 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.676e-05/0.1917, allocations: 22.55 kB / 451.5 MB, free: 20.02 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.687e-05/0.1918, allocations: 14.95 kB / 451.5 MB, free: 20.01 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1918, allocations: 4 kB / 451.6 MB, free: 20 MB / 366.1 MB Notification: Performance of Templates: time 0.005535/0.1973, allocations: 1.617 MB / 453.2 MB, free: 19.75 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.642397001385689]