Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.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.001443/0.001443, allocations: 80.2 kB / 20.65 MB, free: 3.844 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.001935/0.001935, allocations: 173 kB / 24.06 MB, free: 456 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9727/0.9727, allocations: 158.6 MB / 185.9 MB, free: 2.789 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1636/0.1636, allocations: 32.37 MB / 270.7 MB, free: 14.53 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable2D.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31") translateModel(ModelicaTest.Tables.CombiTable2D.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 348.1 MB, free: 9.164 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.978e-05/3.175e-05, allocations: 8.219 kB / 348.1 MB, free: 9.156 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test31): time 0.002926/0.002958, allocations: 1.642 MB / 349.8 MB, free: 7.504 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00116/0.004118, allocations: 1.064 MB / 350.8 MB, free: 6.434 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.714e-05/0.004175, allocations: 0 / 350.8 MB, free: 6.434 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002376/0.004413, allocations: 23.84 kB / 350.9 MB, free: 6.41 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002695/0.004682, allocations: 43.73 kB / 350.9 MB, free: 6.367 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002991/0.004981, allocations: 111.6 kB / 351 MB, free: 6.258 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001435/0.005125, allocations: 63.83 kB / 351.1 MB, free: 6.195 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.636e-05/0.005221, allocations: 8.188 kB / 351.1 MB, free: 6.188 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.012e-05/0.005291, allocations: 35.89 kB / 351.1 MB, free: 6.152 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001016/0.005393, allocations: 19.92 kB / 351.1 MB, free: 6.133 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.556e-05/0.005409, allocations: 4 kB / 351.1 MB, free: 6.129 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001119/0.00552, allocations: 59.84 kB / 351.2 MB, free: 6.07 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.176e-05/0.005572, allocations: 15.92 kB / 351.2 MB, free: 6.055 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.516e-05/0.005597, allocations: 11.98 kB / 351.2 MB, free: 6.043 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001866/0.005784, allocations: 91.66 kB / 351.3 MB, free: 5.953 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.005787, allocations: 0 / 351.3 MB, free: 5.953 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.005788, allocations: 0 / 351.3 MB, free: 5.953 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.668e-06/0.005793, allocations: 4 kB / 351.3 MB, free: 5.949 MB / 282.7 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.0003399/0.006133, allocations: 408.1 kB / 351.7 MB, free: 5.516 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.006173, allocations: 15.97 kB / 351.7 MB, free: 5.5 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.556e-05/0.006208, allocations: 4.938 kB / 351.7 MB, free: 5.496 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001298/0.006338, allocations: 140.4 kB / 351.9 MB, free: 5.332 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.021e-05/0.006348, allocations: 4.375 kB / 351.9 MB, free: 5.328 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.901e-05/0.006367, allocations: 4.375 kB / 351.9 MB, free: 5.324 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001377/0.006505, allocations: 104 kB / 352 MB, free: 5.199 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.006515, allocations: 192 / 352 MB, free: 5.199 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.964e-06/0.006523, allocations: 7.938 kB / 352 MB, free: 5.191 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.006528, allocations: 0 / 352 MB, free: 5.191 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.452e-05/0.006553, allocations: 11.92 kB / 352 MB, free: 5.18 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002192/0.006772, allocations: 252.5 kB / 352.3 MB, free: 4.906 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.711e-05/0.006829, allocations: 47.03 kB / 352.3 MB, free: 4.848 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.607e-05/0.006845, allocations: 11.69 kB / 352.3 MB, free: 4.832 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.451e-05/0.00687, allocations: 7.938 kB / 352.3 MB, free: 4.824 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.226e-05/0.006892, allocations: 41.41 kB / 352.4 MB, free: 4.773 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.006893, allocations: 0 / 352.4 MB, free: 4.773 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003464/0.007239, allocations: 109.5 kB / 352.5 MB, free: 4.66 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.716e-05/0.007266, allocations: 77.11 kB / 352.5 MB, free: 4.566 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.89e-05/0.007355, allocations: 184.6 kB / 352.7 MB, free: 4.371 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.01e-05/0.007365, allocations: 33.7 kB / 352.8 MB, free: 4.332 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.333e-05/0.007399, allocations: 138.8 kB / 352.9 MB, free: 4.191 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.216e-05/0.007421, allocations: 27.75 kB / 352.9 MB, free: 4.164 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.952e-05/0.00746, allocations: 35.34 kB / 353 MB, free: 4.121 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.782e-05/0.007508, allocations: 496.1 kB / 353.4 MB, free: 3.625 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.623e-05/0.007525, allocations: 7.984 kB / 353.4 MB, free: 3.617 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.415e-05/0.007559, allocations: 53.14 kB / 353.5 MB, free: 3.551 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.864e-05/0.007597, allocations: 31.61 kB / 353.5 MB, free: 3.516 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.007599, allocations: 3.938 kB / 353.5 MB, free: 3.512 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.303e-05/0.007692, allocations: 65.58 kB / 353.6 MB, free: 3.441 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.007704, allocations: 8 kB / 353.6 MB, free: 3.434 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.89e-06/0.007709, allocations: 0 / 353.6 MB, free: 3.434 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.007723, allocations: 8.016 kB / 353.6 MB, free: 3.426 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.592e-05/0.007809, allocations: 12 kB / 353.6 MB, free: 3.414 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.065e-06/0.007812, allocations: 0 / 353.6 MB, free: 3.414 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.157e-05/0.007843, allocations: 11.98 kB / 353.6 MB, free: 3.402 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.601e-06/0.007849, allocations: 0 / 353.6 MB, free: 3.402 MB / 282.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 (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 6.201e-05/0.007911, allocations: 160.5 kB / 353.8 MB, free: 3.234 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.787e-05/0.007939, allocations: 7.953 kB / 353.8 MB, free: 3.227 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001087/0.008048, allocations: 78.05 kB / 353.9 MB, free: 3.148 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.00805, allocations: 0 / 353.9 MB, free: 3.148 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.365e-06/0.008052, allocations: 0 / 353.9 MB, free: 3.148 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.008057, allocations: 4 kB / 353.9 MB, free: 3.145 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002462/0.008303, allocations: 310 kB / 354.2 MB, free: 2.809 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.008305, allocations: 3.938 kB / 354.2 MB, free: 2.805 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.836e-05/0.008363, allocations: 12 kB / 354.2 MB, free: 2.793 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-06/0.008366, allocations: 0 / 354.2 MB, free: 2.793 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.285e-06/0.008374, allocations: 7.984 kB / 354.2 MB, free: 2.785 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.008376, allocations: 0 / 354.2 MB, free: 2.785 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.008377, allocations: 0 / 354.2 MB, free: 2.785 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001084/0.008486, allocations: 215.8 kB / 354.4 MB, free: 2.555 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.707e-06/0.008495, allocations: 3.953 kB / 354.4 MB, free: 2.551 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.463e-05/0.008509, allocations: 8 kB / 354.4 MB, free: 2.543 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.077e-05/0.00858, allocations: 12 kB / 354.4 MB, free: 2.531 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.253e-05/0.008612, allocations: 3.984 kB / 354.4 MB, free: 2.527 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.56e-06/0.008618, allocations: 4 kB / 354.4 MB, free: 2.523 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.032e-05/0.008658, allocations: 147.1 kB / 354.6 MB, free: 2.379 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008658, allocations: 4 kB / 354.6 MB, free: 2.375 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002931/0.008951, allocations: 27.88 kB / 354.6 MB, free: 2.348 MB / 282.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 (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.001151/0.0101, allocations: 423.4 kB / 355 MB, free: 2.027 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001128/0.01022, allocations: 35.66 kB / 355.1 MB, free: 1.988 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.01022, allocations: 4 kB / 355.1 MB, free: 1.984 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.77e-05/0.01025, allocations: 27.61 kB / 355.1 MB, free: 1.953 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002603/0.01051, allocations: 23.83 kB / 355.1 MB, free: 1.93 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003151/0.01082, allocations: 186.5 kB / 355.3 MB, free: 1.719 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.913e-05/0.01085, allocations: 59.34 kB / 355.4 MB, free: 1.641 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.746e-05/0.0109, allocations: 20.28 kB / 355.4 MB, free: 1.621 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.514e-05/0.01096, allocations: 90.19 kB / 355.5 MB, free: 1.531 MB / 282.7 MB Notification: Performance of SimCode: time 8.21e-07/0.01096, allocations: 0 / 355.5 MB, free: 1.531 MB / 282.7 MB Notification: Performance of Templates: time 0.004054/0.01502, allocations: 1.735 MB / 357.2 MB, free: 15.8 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test31/Test31.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.350302909966558]