Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.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.001279/0.001279, allocations: 82.7 kB / 20.68 MB, free: 0.8906 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.001419/0.001419, allocations: 168 kB / 23.96 MB, free: 3.91 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.417/1.417, allocations: 177.1 MB / 204.3 MB, free: 9.199 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.2052/0.2052, allocations: 32.81 MB / 293.5 MB, free: 56 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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 440.1 MB, free: 8.18 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.109e-05/2.241e-05, allocations: 2.281 kB / 440.1 MB, free: 8.176 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.002723/0.002745, allocations: 1.607 MB / 441.7 MB, free: 6.559 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001047/0.003792, allocations: 0.5414 MB / 442.2 MB, free: 6.012 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.107e-05/0.003843, allocations: 0 / 442.2 MB, free: 6.012 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006068/0.00445, allocations: 466.9 kB / 442.7 MB, free: 5.555 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004618/0.004912, allocations: 287.2 kB / 443 MB, free: 5.273 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004088/0.005321, allocations: 177.8 kB / 443.2 MB, free: 5.105 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002269/0.005547, allocations: 171.7 kB / 443.3 MB, free: 4.938 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.043e-05/0.005638, allocations: 7.938 kB / 443.3 MB, free: 4.93 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001486/0.005786, allocations: 115.8 kB / 443.4 MB, free: 4.816 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002706/0.006057, allocations: 247.5 kB / 443.7 MB, free: 4.574 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.453e-05/0.006082, allocations: 4 kB / 443.7 MB, free: 4.57 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.809e-05/0.00615, allocations: 19.98 kB / 443.7 MB, free: 4.551 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001043/0.006254, allocations: 83.72 kB / 443.8 MB, free: 4.469 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.666e-05/0.006321, allocations: 39.72 kB / 443.8 MB, free: 4.43 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002976/0.006618, allocations: 227.1 kB / 444.1 MB, free: 4.207 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.006621, allocations: 4 kB / 444.1 MB, free: 4.203 MB / 366.1 MB Notification: Performance of FrontEnd: time 6.32e-07/0.006622, allocations: 0 / 444.1 MB, free: 4.203 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.006627, allocations: 4 kB / 444.1 MB, free: 4.199 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007368/0.007364, allocations: 0.566 MB / 444.6 MB, free: 3.602 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.168e-05/0.007396, allocations: 8.031 kB / 444.6 MB, free: 3.594 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.476e-05/0.00746, allocations: 44.66 kB / 444.7 MB, free: 3.551 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002706/0.007731, allocations: 246 kB / 444.9 MB, free: 3.285 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.007743, allocations: 4.375 kB / 444.9 MB, free: 3.281 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.775e-06/0.00775, allocations: 384 / 444.9 MB, free: 3.281 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001407/0.007891, allocations: 50.25 kB / 445 MB, free: 3.227 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.007902, allocations: 4.172 kB / 445 MB, free: 3.223 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.448e-06/0.007912, allocations: 4.125 kB / 445 MB, free: 3.219 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.007915, allocations: 4 kB / 445 MB, free: 3.215 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.857e-05/0.008004, allocations: 23.98 kB / 445 MB, free: 3.191 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004379/0.008442, allocations: 328.5 kB / 445.3 MB, free: 2.84 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.692e-05/0.008539, allocations: 30.56 kB / 445.4 MB, free: 2.801 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.974e-05/0.008589, allocations: 20.86 kB / 445.4 MB, free: 2.777 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.79e-05/0.008606, allocations: 3.938 kB / 445.4 MB, free: 2.773 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.003e-05/0.008636, allocations: 38.48 kB / 445.4 MB, free: 2.727 MB / 366.1 MB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.008638, allocations: 0 / 445.4 MB, free: 2.727 MB / 366.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002631/0.008901, allocations: 109.3 kB / 445.5 MB, free: 2.613 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.703e-05/0.008948, allocations: 51.41 kB / 445.6 MB, free: 2.551 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008861/0.009834, allocations: 0.8652 MB / 446.4 MB, free: 1.672 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.599e-05/0.00986, allocations: 25.7 kB / 446.5 MB, free: 1.641 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001742/0.01003, allocations: 216.1 kB / 446.7 MB, free: 1.426 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.507e-05/0.01006, allocations: 7.938 kB / 446.7 MB, free: 1.418 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.216e-05/0.01009, allocations: 13.72 kB / 446.7 MB, free: 1.398 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001794/0.01027, allocations: 362.8 kB / 447.1 MB, free: 1.035 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.209e-05/0.01031, allocations: 4 kB / 447.1 MB, free: 1.031 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.984e-05/0.01035, allocations: 20.11 kB / 447.1 MB, free: 1.012 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.464e-05/0.01044, allocations: 24.84 kB / 447.1 MB, free: 0.9844 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.01044, allocations: 4 kB / 447.1 MB, free: 0.9805 MB / 366.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001692/0.01061, allocations: 101.3 kB / 447.2 MB, free: 0.875 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.01062, allocations: 4 kB / 447.2 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.01063, allocations: 3.984 kB / 447.2 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.081e-05/0.01064, allocations: 0 / 447.2 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.925e-05/0.0107, allocations: 12.09 kB / 447.2 MB, free: 0.8555 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.496e-06/0.0107, allocations: 0 / 447.2 MB, free: 0.8555 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.199e-05/0.01074, allocations: 0 / 447.2 MB, free: 0.8555 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.01075, allocations: 0 / 447.2 MB, free: 0.8555 MB / 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 (2): * Single equations (assignments): 2 * 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.0002005/0.01095, allocations: 214.4 kB / 447.4 MB, free: 0.6367 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.792e-05/0.01101, allocations: 43.66 kB / 447.5 MB, free: 0.5938 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002195/0.01123, allocations: 116.6 kB / 447.6 MB, free: 480 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.01123, allocations: 0 / 447.6 MB, free: 480 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.01123, allocations: 0 / 447.6 MB, free: 480 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.01124, allocations: 4.031 kB / 447.6 MB, free: 476 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000258/0.01149, allocations: 229.2 kB / 447.8 MB, free: 216 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.01149, allocations: 0 / 447.8 MB, free: 216 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.841e-05/0.01153, allocations: 8 kB / 447.8 MB, free: 208 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.01154, allocations: 3.938 kB / 447.8 MB, free: 204 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.292e-06/0.01154, allocations: 4 kB / 447.8 MB, free: 200 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.01155, allocations: 3.984 kB / 447.8 MB, free: 196 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.01155, allocations: 0 / 447.8 MB, free: 196 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1744/0.186, allocations: 184.4 kB / 448 MB, free: 21.68 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.475e-05/0.186, allocations: 42.02 kB / 448.1 MB, free: 21.68 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.071e-05/0.1861, allocations: 3.234 kB / 448.1 MB, free: 21.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.36e-05/0.1862, allocations: 3.109 kB / 448.1 MB, free: 21.68 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.473e-05/0.1862, allocations: 5.547 kB / 448.1 MB, free: 21.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.558e-06/0.1862, allocations: 0.6562 kB / 448.1 MB, free: 21.68 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000593/0.1868, allocations: 0.6594 MB / 448.7 MB, free: 21.59 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1868, allocations: 0 / 448.7 MB, free: 21.59 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002712/0.187, allocations: 17.61 kB / 448.7 MB, free: 21.59 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 (2): * Single equations (assignments): 2 * 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.001273/0.1883, allocations: 366.2 kB / 449.1 MB, free: 21.47 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001555/0.1885, allocations: 27.41 kB / 449.1 MB, free: 21.47 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1885, allocations: 0 / 449.1 MB, free: 21.47 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.277e-05/0.1885, allocations: 10.62 kB / 449.1 MB, free: 21.47 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003639/0.1889, allocations: 28.81 kB / 449.2 MB, free: 21.46 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001033/0.1899, allocations: 0.7955 MB / 450 MB, free: 21.12 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002093/0.1901, allocations: 217.2 kB / 450.2 MB, free: 21.03 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.653e-05/0.1902, allocations: 13.41 kB / 450.2 MB, free: 21.03 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.84e-05/0.1902, allocations: 12.69 kB / 450.2 MB, free: 21.02 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1902, allocations: 0 / 450.2 MB, free: 21.02 MB / 366.1 MB Notification: Performance of Templates: time 0.004614/0.1948, allocations: 1.122 MB / 451.3 MB, free: 20.85 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.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.6430725157260895]