Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 96.94 kB / 15.7 MB, free: 468 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001268/0.001268, allocations: 167.3 kB / 16.57 MB, free: 6.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.118/2.118, allocations: 205.4 MB / 222.7 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4455/0.4454, allocations: 43.58 MB / 314.6 MB, free: 8.742 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005032/0.0005032, allocations: 12 kB / 383.9 MB, free: 8.008 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1376/0.1381, allocations: 58.87 MB / 442.8 MB, free: 13.04 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test25): time 0.001962/0.1401, allocations: 1.31 MB / 444.1 MB, free: 11.71 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005575/0.1407, allocations: 319.9 kB / 444.4 MB, free: 11.4 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.159e-05/0.1408, allocations: 0 / 444.4 MB, free: 11.4 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002371/0.141, allocations: 47.88 kB / 444.5 MB, free: 11.35 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001522/0.1412, allocations: 35.89 kB / 444.5 MB, free: 11.32 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003662/0.1416, allocations: 147.7 kB / 444.7 MB, free: 11.17 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001356/0.1417, allocations: 63.81 kB / 444.7 MB, free: 11.11 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.1418, allocations: 19.97 kB / 444.7 MB, free: 11.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.425e-05/0.1419, allocations: 27.84 kB / 444.8 MB, free: 11.06 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.681e-05/0.142, allocations: 35.78 kB / 444.8 MB, free: 11.03 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.539e-05/0.142, allocations: 8 kB / 444.8 MB, free: 11.02 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.698e-05/0.1421, allocations: 27.98 kB / 444.8 MB, free: 10.99 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.373e-05/0.1421, allocations: 19.92 kB / 444.9 MB, free: 10.97 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.524e-05/0.1422, allocations: 33.7 kB / 444.9 MB, free: 10.93 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001306/0.1423, allocations: 64.11 kB / 445 MB, free: 10.87 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.1423, allocations: 0 / 445 MB, free: 10.87 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1423, allocations: 0 / 445 MB, free: 10.87 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.823e-06/0.1424, allocations: 7.938 kB / 445 MB, free: 10.86 MB / 382.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.0004815/0.1428, allocations: 391 kB / 445.3 MB, free: 10.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.1429, allocations: 16.02 kB / 445.4 MB, free: 10.42 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.06e-05/0.143, allocations: 11.86 kB / 445.4 MB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002305/0.1432, allocations: 182.9 kB / 445.6 MB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.1432, allocations: 0 / 445.6 MB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.355e-05/0.1432, allocations: 8 kB / 445.6 MB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001818/0.1434, allocations: 65.66 kB / 445.6 MB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.1434, allocations: 4 kB / 445.6 MB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.899e-06/0.1435, allocations: 0 / 445.6 MB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.217e-06/0.1435, allocations: 3.953 kB / 445.6 MB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000136/0.1436, allocations: 51.84 kB / 445.7 MB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004886/0.1441, allocations: 312.8 kB / 446 MB, free: 9.695 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001214/0.1443, allocations: 46.56 kB / 446 MB, free: 9.641 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.821e-05/0.1443, allocations: 36.92 kB / 446.1 MB, free: 9.602 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.865e-05/0.1444, allocations: 11.89 kB / 446.1 MB, free: 9.59 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.528e-05/0.1444, allocations: 30.56 kB / 446.1 MB, free: 9.551 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.1444, allocations: 0 / 446.1 MB, free: 9.551 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007628/0.1452, allocations: 261.1 kB / 446.4 MB, free: 9.289 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.379e-05/0.1452, allocations: 55.41 kB / 446.4 MB, free: 9.223 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001465/0.1454, allocations: 162.4 kB / 446.6 MB, free: 9.055 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.485e-05/0.1454, allocations: 25.7 kB / 446.6 MB, free: 9.023 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.729e-05/0.1455, allocations: 104 kB / 446.7 MB, free: 8.918 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.815e-05/0.1455, allocations: 23.66 kB / 446.7 MB, free: 8.895 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-06/0.1455, allocations: 0 / 446.7 MB, free: 8.895 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.1457, allocations: 326.8 kB / 447 MB, free: 8.566 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001122/0.1458, allocations: 44.05 kB / 447.1 MB, free: 8.523 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001002/0.1459, allocations: 43.95 kB / 447.1 MB, free: 8.48 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001138/0.146, allocations: 51.97 kB / 447.2 MB, free: 8.43 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.146, allocations: 0 / 447.2 MB, free: 8.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003511/0.1464, allocations: 149.4 kB / 447.3 MB, free: 8.277 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.1464, allocations: 4 kB / 447.3 MB, free: 8.273 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.1464, allocations: 0 / 447.3 MB, free: 8.273 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.1464, allocations: 0 / 447.3 MB, free: 8.273 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001119/0.1465, allocations: 23.98 kB / 447.4 MB, free: 8.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.1465, allocations: 4 kB / 447.4 MB, free: 8.246 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.371e-05/0.1466, allocations: 11.98 kB / 447.4 MB, free: 8.234 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.488e-06/0.1466, allocations: 8 kB / 447.4 MB, free: 8.227 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.996e-05/0.1467, allocations: 125.8 kB / 447.5 MB, free: 8.094 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.98e-05/0.1468, allocations: 11.86 kB / 447.5 MB, free: 8.082 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003376/0.1471, allocations: 162.6 kB / 447.7 MB, free: 7.922 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.1471, allocations: 0 / 447.7 MB, free: 7.922 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.1471, allocations: 3.938 kB / 447.7 MB, free: 7.918 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.1471, allocations: 0 / 447.7 MB, free: 7.918 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005178/0.1477, allocations: 426.5 kB / 448.1 MB, free: 7.445 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.1477, allocations: 4 kB / 448.1 MB, free: 7.441 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.554e-05/0.1478, allocations: 31.86 kB / 448.1 MB, free: 7.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.1478, allocations: 0 / 448.1 MB, free: 7.41 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.1478, allocations: 0 / 448.1 MB, free: 7.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.1478, allocations: 0 / 448.1 MB, free: 7.41 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1478, allocations: 0 / 448.1 MB, free: 7.41 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003146/0.1481, allocations: 243.6 kB / 448.4 MB, free: 7.156 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.64e-05/0.1482, allocations: 92.91 kB / 448.5 MB, free: 7.047 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.1482, allocations: 4 kB / 448.5 MB, free: 7.043 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.819e-05/0.1483, allocations: 15.98 kB / 448.5 MB, free: 7.027 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.272e-05/0.1483, allocations: 7.984 kB / 448.5 MB, free: 7.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.879e-06/0.1483, allocations: 0 / 448.5 MB, free: 7.02 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.951e-05/0.1484, allocations: 128.6 kB / 448.6 MB, free: 6.895 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1485, allocations: 0 / 448.6 MB, free: 6.895 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002339/0.1487, allocations: 27.98 kB / 448.6 MB, free: 6.867 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009173/0.1496, allocations: 399.5 kB / 449 MB, free: 6.5 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002811/0.1499, allocations: 103.9 kB / 449.1 MB, free: 6.398 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1499, allocations: 4 kB / 449.1 MB, free: 6.395 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001206/0.15, allocations: 55.91 kB / 449.2 MB, free: 6.34 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003212/0.1504, allocations: 23.92 kB / 449.2 MB, free: 6.316 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004513/0.1508, allocations: 245.2 kB / 449.4 MB, free: 6.051 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003234/0.1512, allocations: 0.7082 MB / 450.2 MB, free: 5.316 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.361e-05/0.1512, allocations: 24.28 kB / 450.2 MB, free: 5.293 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.251e-05/0.1513, allocations: 11.44 kB / 450.2 MB, free: 5.281 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1513, allocations: 0 / 450.2 MB, free: 5.281 MB / 382.1 MB Notification: Performance of Templates: time 0.003806/0.1551, allocations: 1.15 MB / 451.3 MB, free: 4.129 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test25/Test25.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches