Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.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.001342/0.001342, allocations: 84.92 kB / 20.68 MB, free: 1.035 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.001433/0.001433, allocations: 164.5 kB / 23.95 MB, free: 4.168 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.184 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.1964/0.1964, allocations: 32.81 MB / 293.5 MB, free: 44 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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 440.1 MB, free: 8.156 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.416e-05/2.584e-05, allocations: 2.281 kB / 440.1 MB, free: 8.152 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.003041/0.003067, allocations: 1.642 MB / 441.7 MB, free: 6.5 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001233/0.0043, allocations: 0.5842 MB / 442.3 MB, free: 5.91 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.477e-05/0.004365, allocations: 0 / 442.3 MB, free: 5.91 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006927/0.005058, allocations: 443.1 kB / 442.8 MB, free: 5.477 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005194/0.005577, allocations: 295.2 kB / 443.1 MB, free: 5.188 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004485/0.006026, allocations: 192.6 kB / 443.2 MB, free: 5.004 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002729/0.006298, allocations: 183.6 kB / 443.4 MB, free: 4.824 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.006409, allocations: 7.984 kB / 443.4 MB, free: 4.816 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000166/0.006575, allocations: 127.8 kB / 443.6 MB, free: 4.691 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003035/0.006878, allocations: 243.6 kB / 443.8 MB, free: 4.453 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.999e-05/0.006908, allocations: 4 kB / 443.8 MB, free: 4.449 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.386e-05/0.007002, allocations: 31.92 kB / 443.8 MB, free: 4.418 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001243/0.007127, allocations: 87.7 kB / 443.9 MB, free: 4.332 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.348e-05/0.00719, allocations: 39.73 kB / 443.9 MB, free: 4.293 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003436/0.007534, allocations: 251 kB / 444.2 MB, free: 4.047 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.544e-06/0.007536, allocations: 0 / 444.2 MB, free: 4.047 MB / 366.1 MB Notification: Performance of FrontEnd: time 5.31e-07/0.007537, allocations: 0 / 444.2 MB, free: 4.047 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.037e-06/0.007546, allocations: 4 kB / 444.2 MB, free: 4.043 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007895/0.008335, allocations: 0.5815 MB / 444.8 MB, free: 3.43 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.008371, allocations: 8.031 kB / 444.8 MB, free: 3.422 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.968e-05/0.008441, allocations: 44.66 kB / 444.8 MB, free: 3.379 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002836/0.008724, allocations: 246 kB / 445.1 MB, free: 3.113 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.008735, allocations: 384 / 445.1 MB, free: 3.113 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.137e-05/0.008756, allocations: 4.375 kB / 445.1 MB, free: 3.109 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000184/0.00894, allocations: 70.14 kB / 445.1 MB, free: 3.035 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/0.008957, allocations: 4.141 kB / 445.1 MB, free: 3.031 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.00897, allocations: 12.06 kB / 445.2 MB, free: 3.02 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.227e-06/0.008974, allocations: 3.938 kB / 445.2 MB, free: 3.016 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001407/0.009115, allocations: 39.97 kB / 445.2 MB, free: 2.977 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005391/0.009654, allocations: 340.4 kB / 445.5 MB, free: 2.613 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001444/0.009799, allocations: 50.48 kB / 445.6 MB, free: 2.555 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.988e-05/0.009879, allocations: 28.88 kB / 445.6 MB, free: 2.523 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.967e-05/0.009898, allocations: 4 kB / 445.6 MB, free: 2.52 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.854e-05/0.009927, allocations: 30.56 kB / 445.6 MB, free: 2.48 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.009928, allocations: 4 kB / 445.7 MB, free: 2.477 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0009271/0.01085, allocations: 320.5 kB / 446 MB, free: 2.156 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.216e-05/0.0109, allocations: 51.41 kB / 446 MB, free: 2.094 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008905/0.01179, allocations: 0.8653 MB / 446.9 MB, free: 1.215 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.815e-05/0.01181, allocations: 29.7 kB / 446.9 MB, free: 1.18 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001806/0.01199, allocations: 216 kB / 447.1 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.842e-05/0.01201, allocations: 23.8 kB / 447.1 MB, free: 0.9414 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.533e-05/0.01206, allocations: 21.7 kB / 447.2 MB, free: 0.9141 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001823/0.01224, allocations: 354.8 kB / 447.5 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001311/0.01237, allocations: 43.95 kB / 447.6 MB, free: 0.5156 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001134/0.01249, allocations: 35.97 kB / 447.6 MB, free: 492 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002477/0.01273, allocations: 92.73 kB / 447.7 MB, free: 396 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.01274, allocations: 0 / 447.7 MB, free: 396 kB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003466/0.01308, allocations: 165.3 kB / 447.8 MB, free: 224 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.0131, allocations: 8 kB / 447.8 MB, free: 216 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.0131, allocations: 0 / 447.8 MB, free: 216 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.01312, allocations: 288 / 447.8 MB, free: 216 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001264/0.01324, allocations: 23.98 kB / 447.9 MB, free: 192 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.01325, allocations: 0 / 447.9 MB, free: 192 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.556e-05/0.01332, allocations: 7.984 kB / 447.9 MB, free: 184 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.287e-06/0.01333, allocations: 4 kB / 447.9 MB, free: 180 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 (7): * Single equations (assignments): 7 * 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.1802/0.1936, allocations: 214.6 kB / 448.1 MB, free: 21.37 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001048/0.1937, allocations: 48.62 kB / 448.1 MB, free: 21.37 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004752/0.1941, allocations: 182.3 kB / 448.3 MB, free: 21.32 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/0.1942, allocations: 6.281 kB / 448.3 MB, free: 21.32 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.1942, allocations: 0 / 448.3 MB, free: 21.32 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.1942, allocations: 2.047 kB / 448.3 MB, free: 21.32 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006458/0.1948, allocations: 464.8 kB / 448.8 MB, free: 21.1 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.1948, allocations: 0.7031 kB / 448.8 MB, free: 21.1 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.58e-05/0.1949, allocations: 19.55 kB / 448.8 MB, free: 21.1 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.1949, allocations: 0.6562 kB / 448.8 MB, free: 21.1 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.1949, allocations: 8.438 kB / 448.8 MB, free: 21.1 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.1949, allocations: 8.641 kB / 448.8 MB, free: 21.1 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.1949, allocations: 0 / 448.8 MB, free: 21.1 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003192/0.1952, allocations: 257.6 kB / 449.1 MB, free: 20.97 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.507e-05/0.1953, allocations: 38.06 kB / 449.1 MB, free: 20.95 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.69e-05/0.1953, allocations: 0.6562 kB / 449.1 MB, free: 20.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/0.1954, allocations: 15.02 kB / 449.1 MB, free: 20.95 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.978e-05/0.1954, allocations: 8.203 kB / 449.1 MB, free: 20.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.694e-06/0.1955, allocations: 2.969 kB / 449.1 MB, free: 20.95 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005744/0.196, allocations: 0.656 MB / 449.8 MB, free: 20.82 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.196, allocations: 0 / 449.8 MB, free: 20.82 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000259/0.1963, allocations: 30 kB / 449.8 MB, free: 20.81 MB / 366.1 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 (7): * Single equations (assignments): 7 * 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.00149/0.1978, allocations: 421.8 kB / 450.2 MB, free: 20.7 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003064/0.1981, allocations: 92.11 kB / 450.3 MB, free: 20.68 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1981, allocations: 0 / 450.3 MB, free: 20.68 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001273/0.1982, allocations: 52.67 kB / 450.4 MB, free: 20.67 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003963/0.1986, allocations: 29.47 kB / 450.4 MB, free: 20.66 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0011/0.1997, allocations: 0.8424 MB / 451.2 MB, free: 20.29 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002177/0.1999, allocations: 228.8 kB / 451.5 MB, free: 20.2 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.227e-05/0.2, allocations: 28.39 kB / 451.5 MB, free: 20.18 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.601e-05/0.2, allocations: 15.83 kB / 451.5 MB, free: 20.18 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2, allocations: 0 / 451.5 MB, free: 20.18 MB / 366.1 MB Notification: Performance of Templates: time 0.005584/0.2056, allocations: 1.492 MB / 453 MB, free: 19.95 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.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.53994682431221]