Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.001984/0.001984, allocations: 84.47 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.002508/0.002508, allocations: 163.7 kB / 23.95 MB, free: 4.156 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.403/1.403, allocations: 177.1 MB / 204.3 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] 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.2069/0.2069, allocations: 32.81 MB / 293.5 MB, free: 32 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.CombiTable2Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 440.1 MB, free: 8.129 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.729e-05/2.928e-05, allocations: 5.516 kB / 440.1 MB, free: 8.125 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test6): time 0.003346/0.003375, allocations: 1.647 MB / 441.8 MB, free: 6.469 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001174/0.004549, allocations: 0.5414 MB / 442.3 MB, free: 5.922 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.23e-05/0.004602, allocations: 0 / 442.3 MB, free: 5.922 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006068/0.005209, allocations: 462.9 kB / 442.8 MB, free: 5.469 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005036/0.005712, allocations: 295.2 kB / 443 MB, free: 5.18 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000366/0.006078, allocations: 130.3 kB / 443.2 MB, free: 5.055 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002752/0.006353, allocations: 171.6 kB / 443.3 MB, free: 4.887 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.689e-05/0.00645, allocations: 11.98 kB / 443.3 MB, free: 4.875 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002039/0.006654, allocations: 123.7 kB / 443.5 MB, free: 4.754 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002987/0.006953, allocations: 243.6 kB / 443.7 MB, free: 4.516 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.486e-05/0.006978, allocations: 7.938 kB / 443.7 MB, free: 4.508 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001072/0.007085, allocations: 43.86 kB / 443.8 MB, free: 4.465 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001166/0.007201, allocations: 83.72 kB / 443.8 MB, free: 4.383 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.173e-05/0.007263, allocations: 39.72 kB / 443.9 MB, free: 4.344 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003482/0.007611, allocations: 239.1 kB / 444.1 MB, free: 4.109 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.007614, allocations: 0 / 444.1 MB, free: 4.109 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.007615, allocations: 0 / 444.1 MB, free: 4.109 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.109e-05/0.007626, allocations: 0 / 444.1 MB, free: 4.109 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.0008824/0.008509, allocations: 0.5815 MB / 444.7 MB, free: 3.496 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.008545, allocations: 12.03 kB / 444.7 MB, free: 3.484 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.975e-05/0.008635, allocations: 40.66 kB / 444.7 MB, free: 3.445 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003031/0.008938, allocations: 250 kB / 445 MB, free: 3.176 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.008949, allocations: 4.375 kB / 445 MB, free: 3.172 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.522e-05/0.008974, allocations: 8.375 kB / 445 MB, free: 3.164 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001731/0.009148, allocations: 54.23 kB / 445.1 MB, free: 3.105 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.009159, allocations: 192 / 445.1 MB, free: 3.105 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.458e-05/0.009174, allocations: 8.125 kB / 445.1 MB, free: 3.098 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.009178, allocations: 0 / 445.1 MB, free: 3.098 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001446/0.009323, allocations: 35.97 kB / 445.1 MB, free: 3.062 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005005/0.009823, allocations: 328.4 kB / 445.4 MB, free: 2.711 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001482/0.009971, allocations: 42.56 kB / 445.5 MB, free: 2.66 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.795e-05/0.01005, allocations: 24.88 kB / 445.5 MB, free: 2.633 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.32e-05/0.01007, allocations: 7.984 kB / 445.5 MB, free: 2.625 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.891e-05/0.0101, allocations: 30.56 kB / 445.5 MB, free: 2.586 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 3.316e-06/0.0101, allocations: 3.984 kB / 445.5 MB, free: 2.582 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0009161/0.01102, allocations: 308.6 kB / 445.8 MB, free: 2.273 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.562e-05/0.01107, allocations: 55.41 kB / 445.9 MB, free: 2.207 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009356/0.012, allocations: 0.8574 MB / 446.7 MB, free: 1.336 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.123e-05/0.01202, allocations: 29.7 kB / 446.8 MB, free: 1.301 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000193/0.01222, allocations: 208.1 kB / 447 MB, free: 1.094 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.595e-05/0.01225, allocations: 31.73 kB / 447 MB, free: 1.062 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.138e-05/0.01229, allocations: 17.72 kB / 447 MB, free: 1.039 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001937/0.01249, allocations: 362.8 kB / 447.4 MB, free: 0.6758 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001262/0.01261, allocations: 35.97 kB / 447.4 MB, free: 0.6406 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001114/0.01272, allocations: 31.92 kB / 447.4 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002348/0.01296, allocations: 80.73 kB / 447.5 MB, free: 0.5273 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.01296, allocations: 0 / 447.5 MB, free: 0.5273 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003383/0.0133, allocations: 149.3 kB / 447.7 MB, free: 384 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.01331, allocations: 4 kB / 447.7 MB, free: 380 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.01332, allocations: 0 / 447.7 MB, free: 380 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.01333, allocations: 0 / 447.7 MB, free: 380 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001443/0.01348, allocations: 23.98 kB / 447.7 MB, free: 356 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.01348, allocations: 7.875 kB / 447.7 MB, free: 348 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.117e-05/0.01356, allocations: 15.92 kB / 447.7 MB, free: 332 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.793e-06/0.01357, allocations: 0 / 447.7 MB, free: 332 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.0002109/0.01378, allocations: 222.4 kB / 447.9 MB, free: 100 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.386e-05/0.01384, allocations: 43.72 kB / 448 MB, free: 56 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1584/0.1723, allocations: 157 kB / 448.1 MB, free: 21.55 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.676e-06/0.1723, allocations: 1.125 kB / 448.1 MB, free: 21.55 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.1723, allocations: 1.156 kB / 448.1 MB, free: 21.55 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.1723, allocations: 1.219 kB / 448.1 MB, free: 21.55 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006074/0.1729, allocations: 441.5 kB / 448.6 MB, free: 21.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.1729, allocations: 2.062 kB / 448.6 MB, free: 21.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.723e-05/0.173, allocations: 20.14 kB / 448.6 MB, free: 21.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.173, allocations: 0 / 448.6 MB, free: 21.32 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.173, allocations: 5.5 kB / 448.6 MB, free: 21.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.173, allocations: 4.281 kB / 448.6 MB, free: 21.32 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.173, allocations: 0 / 448.6 MB, free: 21.32 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000312/0.1733, allocations: 251.7 kB / 448.8 MB, free: 21.2 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.313e-05/0.1734, allocations: 35.41 kB / 448.9 MB, free: 21.2 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.626e-05/0.1734, allocations: 1.219 kB / 448.9 MB, free: 21.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/0.1735, allocations: 10.52 kB / 448.9 MB, free: 21.2 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.174e-05/0.1735, allocations: 7.703 kB / 448.9 MB, free: 21.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.784e-06/0.1736, allocations: 4.641 kB / 448.9 MB, free: 21.2 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005423/0.1741, allocations: 0.6532 MB / 449.5 MB, free: 21.01 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1741, allocations: 0 / 449.5 MB, free: 21.01 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002633/0.1744, allocations: 27.92 kB / 449.6 MB, free: 21.01 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.00148/0.1758, allocations: 441.3 kB / 450 MB, free: 20.88 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002827/0.1761, allocations: 73.47 kB / 450.1 MB, free: 20.87 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1761, allocations: 0 / 450.1 MB, free: 20.87 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001192/0.1762, allocations: 37.33 kB / 450.1 MB, free: 20.86 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003384/0.1766, allocations: 34.45 kB / 450.1 MB, free: 20.85 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001005/0.1776, allocations: 0.813 MB / 451 MB, free: 20.5 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001861/0.1778, allocations: 224 kB / 451.2 MB, free: 20.41 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.688e-05/0.1778, allocations: 8.875 kB / 451.2 MB, free: 20.41 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.334e-05/0.1779, allocations: 19.12 kB / 451.2 MB, free: 20.4 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1779, allocations: 1.281 kB / 451.2 MB, free: 20.4 MB / 366.1 MB Notification: Performance of Templates: time 0.005177/0.183, allocations: 1.465 MB / 452.7 MB, free: 20.17 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.545347191393375]