Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001145/0.001145, allocations: 84.25 kB / 22.22 MB, free: 2.281 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001224/0.001224, allocations: 164.5 kB / 25.61 MB, free: 8.879 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9389/0.9389, allocations: 177 MB / 205.9 MB, free: 4.445 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1459/0.1459, allocations: 34.88 MB / 297.4 MB, free: 13.34 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.073e-06/2.073e-06, allocations: 0 / 380 MB, free: 22.72 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.254e-05/2.462e-05, allocations: 3.578 kB / 380 MB, free: 22.72 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test24): time 0.002385/0.002409, allocations: 1.696 MB / 381.7 MB, free: 21.02 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008075/0.003217, allocations: 0.5446 MB / 382.3 MB, free: 20.47 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.029e-05/0.003287, allocations: 0 / 382.3 MB, free: 20.47 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002515/0.003539, allocations: 59.67 kB / 382.3 MB, free: 20.41 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002761/0.003815, allocations: 95.53 kB / 382.4 MB, free: 20.32 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002592/0.004074, allocations: 131.6 kB / 382.6 MB, free: 20.19 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001391/0.004213, allocations: 75.77 kB / 382.6 MB, free: 20.11 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.51e-05/0.004308, allocations: 12.23 kB / 382.6 MB, free: 20.1 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.103e-05/0.004379, allocations: 55.81 kB / 382.7 MB, free: 20.04 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.207e-05/0.004461, allocations: 31.95 kB / 382.7 MB, free: 20.01 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.494e-05/0.004476, allocations: 4 kB / 382.7 MB, free: 20.01 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.517e-05/0.004561, allocations: 51.92 kB / 382.8 MB, free: 19.96 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.282e-05/0.004624, allocations: 27.84 kB / 382.8 MB, free: 19.93 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.013e-05/0.004644, allocations: 19.92 kB / 382.8 MB, free: 19.91 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000161/0.004805, allocations: 91.59 kB / 382.9 MB, free: 19.82 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.004807, allocations: 0 / 382.9 MB, free: 19.82 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.004809, allocations: 0 / 382.9 MB, free: 19.82 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.004813, allocations: 0 / 382.9 MB, free: 19.82 MB / 314.7 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.0002984/0.005112, allocations: 440 kB / 383.3 MB, free: 19.35 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.005155, allocations: 12.03 kB / 383.4 MB, free: 19.34 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.555e-05/0.00519, allocations: 12.89 kB / 383.4 MB, free: 19.33 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.759e-05/0.005288, allocations: 144.9 kB / 383.5 MB, free: 19.16 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.194e-06/0.005295, allocations: 4.375 kB / 383.5 MB, free: 19.16 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.48e-05/0.00531, allocations: 384 / 383.5 MB, free: 19.16 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.61e-05/0.005386, allocations: 62.94 kB / 383.6 MB, free: 19.09 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.005394, allocations: 8.141 kB / 383.6 MB, free: 19.08 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.795e-06/0.005402, allocations: 4.125 kB / 383.6 MB, free: 19.07 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.005407, allocations: 0 / 383.6 MB, free: 19.07 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.514e-05/0.005432, allocations: 19.86 kB / 383.6 MB, free: 19.05 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001887/0.00562, allocations: 272.3 kB / 383.9 MB, free: 18.76 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001074/0.005728, allocations: 47.08 kB / 383.9 MB, free: 18.7 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.499e-05/0.005743, allocations: 15.67 kB / 383.9 MB, free: 18.68 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.358e-05/0.005756, allocations: 7.938 kB / 383.9 MB, free: 18.68 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.274e-05/0.005769, allocations: 41.52 kB / 384 MB, free: 18.62 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 8.02e-07/0.00577, allocations: 0 / 384 MB, free: 18.62 MB / 314.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004041/0.006174, allocations: 229.7 kB / 384.2 MB, free: 18.39 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.449e-05/0.006189, allocations: 55.34 kB / 384.3 MB, free: 18.33 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.388e-05/0.006272, allocations: 210.9 kB / 384.5 MB, free: 18.11 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.344e-06/0.00628, allocations: 25.7 kB / 384.5 MB, free: 18.07 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.726e-05/0.006317, allocations: 154.8 kB / 384.6 MB, free: 17.92 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.29e-05/0.00634, allocations: 31.7 kB / 384.7 MB, free: 17.89 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.17e-05/0.006372, allocations: 39.34 kB / 384.7 MB, free: 17.84 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.101e-05/0.006423, allocations: 0.4961 MB / 385.2 MB, free: 17.33 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.68e-05/0.006439, allocations: 8 kB / 385.2 MB, free: 17.32 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.087e-05/0.00646, allocations: 19.16 kB / 385.2 MB, free: 17.31 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.21e-05/0.006502, allocations: 39.61 kB / 385.3 MB, free: 17.27 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.21e-07/0.006503, allocations: 0 / 385.3 MB, free: 17.27 MB / 314.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 7.432e-05/0.006577, allocations: 89.56 kB / 385.4 MB, free: 17.17 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.00659, allocations: 4 kB / 385.4 MB, free: 17.17 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.006595, allocations: 0 / 385.4 MB, free: 17.17 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.006606, allocations: 4 kB / 385.4 MB, free: 17.16 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.138e-05/0.006668, allocations: 19.98 kB / 385.4 MB, free: 17.14 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.406e-06/0.006671, allocations: 0 / 385.4 MB, free: 17.14 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.499e-05/0.006696, allocations: 15.92 kB / 385.4 MB, free: 17.13 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.006703, allocations: 11.94 kB / 385.4 MB, free: 17.12 MB / 314.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 (11): * Single equations (assignments): 11 * 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 4.982e-05/0.006752, allocations: 160.5 kB / 385.6 MB, free: 16.95 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.39e-05/0.006776, allocations: 15.91 kB / 385.6 MB, free: 16.93 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001244/0.006901, allocations: 102.4 kB / 385.7 MB, free: 16.83 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.006903, allocations: 0 / 385.7 MB, free: 16.83 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.006905, allocations: 0 / 385.7 MB, free: 16.83 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.006909, allocations: 3.984 kB / 385.7 MB, free: 16.82 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002492/0.007159, allocations: 385.2 kB / 386.1 MB, free: 16.41 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.007161, allocations: 0 / 386.1 MB, free: 16.41 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.802e-05/0.007209, allocations: 28.05 kB / 386.1 MB, free: 16.38 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.007212, allocations: 0 / 386.1 MB, free: 16.38 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.704e-06/0.00722, allocations: 4 kB / 386.1 MB, free: 16.38 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.484e-06/0.007222, allocations: 0 / 386.1 MB, free: 16.38 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.007223, allocations: 0 / 386.1 MB, free: 16.38 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001052/0.007329, allocations: 262.1 kB / 386.4 MB, free: 16.09 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.368e-06/0.007338, allocations: 15.91 kB / 386.4 MB, free: 16.08 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.178e-05/0.00735, allocations: 0 / 386.4 MB, free: 16.08 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.912e-05/0.007389, allocations: 7.984 kB / 386.4 MB, free: 16.07 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.302e-05/0.007422, allocations: 15.92 kB / 386.4 MB, free: 16.05 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.06e-06/0.007427, allocations: 8.125 kB / 386.4 MB, free: 16.05 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.885e-05/0.007466, allocations: 155.2 kB / 386.6 MB, free: 15.9 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007466, allocations: 0 / 386.6 MB, free: 15.9 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001798/0.007646, allocations: 23.94 kB / 386.6 MB, free: 15.88 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001071/0.008717, allocations: 426.2 kB / 387 MB, free: 15.62 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001222/0.008839, allocations: 59.53 kB / 387.1 MB, free: 15.55 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.008842, allocations: 0 / 387.1 MB, free: 15.55 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.193e-05/0.008874, allocations: 43.66 kB / 387.1 MB, free: 15.51 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002312/0.009105, allocations: 23.97 kB / 387.1 MB, free: 15.48 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000344/0.009449, allocations: 249.5 kB / 387.4 MB, free: 15.2 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.535e-05/0.009484, allocations: 67.34 kB / 387.4 MB, free: 15.12 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.389e-05/0.009528, allocations: 16.55 kB / 387.4 MB, free: 15.1 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.218e-05/0.00958, allocations: 86.19 kB / 387.5 MB, free: 15.02 MB / 314.7 MB Notification: Performance of SimCode: time 9.42e-07/0.009581, allocations: 0 / 387.5 MB, free: 15.02 MB / 314.7 MB Notification: Performance of Templates: time 0.003563/0.01314, allocations: 1.756 MB / 389.3 MB, free: 13.29 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test24/Test24.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.259725915733725]