Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.CombiTable1Ds.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001236/0.001236, allocations: 99.39 kB / 16.99 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00136/0.00136, allocations: 178 kB / 17.88 MB, free: 5.957 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.479/1.479, allocations: 223.2 MB / 241.8 MB, free: 372 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.248/0.248, allocations: 44.23 MB / 337.1 MB, free: 2.906 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00032/0.0003201, allocations: 8.812 kB / 409.5 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1313, allocations: 61.91 MB / 471.5 MB, free: 13.76 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test11): time 0.002293/0.1336, allocations: 1.259 MB / 472.7 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007366/0.1344, allocations: 355.6 kB / 473.1 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.821e-05/0.1345, allocations: 0 / 473.1 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001914/0.1347, allocations: 19.86 kB / 473.1 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001495/0.1348, allocations: 27.91 kB / 473.1 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002245/0.1351, allocations: 79.28 kB / 473.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001255/0.1352, allocations: 35.91 kB / 473.2 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.207e-05/0.1353, allocations: 19.97 kB / 473.2 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.864e-05/0.1353, allocations: 23.91 kB / 473.3 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.239e-05/0.1354, allocations: 11.94 kB / 473.3 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.433e-05/0.1354, allocations: 0 / 473.3 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.62e-05/0.1355, allocations: 23.92 kB / 473.3 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.335e-05/0.1356, allocations: 4 kB / 473.3 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.062e-05/0.1356, allocations: 37.64 kB / 473.3 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001121/0.1357, allocations: 63.84 kB / 473.4 MB, free: 11.79 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.1357, allocations: 0 / 473.4 MB, free: 11.79 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1357, allocations: 0 / 473.4 MB, free: 11.79 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.1357, allocations: 0 / 473.4 MB, free: 11.79 MB / 350.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.0004252/0.1362, allocations: 379.3 kB / 473.8 MB, free: 11.38 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.1362, allocations: 12.56 kB / 473.8 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.287e-05/0.1362, allocations: 7.906 kB / 473.8 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002103/0.1365, allocations: 183 kB / 474 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.1365, allocations: 11.89 kB / 474 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.833e-05/0.1365, allocations: 3.938 kB / 474 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000129/0.1366, allocations: 53.67 kB / 474 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.1367, allocations: 0 / 474 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.1367, allocations: 0 / 474 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.1367, allocations: 4 kB / 474 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001538/0.1368, allocations: 23.98 kB / 474.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003699/0.1372, allocations: 280.9 kB / 474.3 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001775/0.1374, allocations: 42.5 kB / 474.4 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.798e-05/0.1374, allocations: 0 / 474.4 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.168e-05/0.1375, allocations: 34.56 kB / 474.4 MB, free: 10.62 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.32e-07/0.1375, allocations: 4 kB / 474.4 MB, free: 10.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005395/0.138, allocations: 157.3 kB / 474.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.231e-05/0.1381, allocations: 59.34 kB / 474.6 MB, free: 10.38 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001605/0.1382, allocations: 168 kB / 474.8 MB, free: 10.21 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.416e-05/0.1383, allocations: 25.7 kB / 474.8 MB, free: 10.18 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.178e-05/0.1383, allocations: 96.12 kB / 474.9 MB, free: 10.08 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.476e-05/0.1384, allocations: 23.73 kB / 474.9 MB, free: 10.06 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.196e-06/0.1384, allocations: 0 / 474.9 MB, free: 10.06 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.1385, allocations: 322.8 kB / 475.2 MB, free: 9.734 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.822e-05/0.1386, allocations: 23.98 kB / 475.3 MB, free: 9.711 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.813e-05/0.1386, allocations: 23.98 kB / 475.3 MB, free: 9.688 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.34e-05/0.1387, allocations: 19.98 kB / 475.3 MB, free: 9.668 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.1387, allocations: 4 kB / 475.3 MB, free: 9.664 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001759/0.1389, allocations: 89.52 kB / 475.4 MB, free: 9.57 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.1389, allocations: 6.188 kB / 475.4 MB, free: 9.566 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.1389, allocations: 0 / 475.4 MB, free: 9.566 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.1389, allocations: 4 kB / 475.4 MB, free: 9.562 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.219e-05/0.139, allocations: 11.98 kB / 475.4 MB, free: 9.551 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.139, allocations: 4 kB / 475.4 MB, free: 9.547 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.113e-05/0.1391, allocations: 12 kB / 475.4 MB, free: 9.535 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/0.1391, allocations: 7.938 kB / 475.5 MB, free: 9.527 MB / 350.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 (5): * Single equations (assignments): 5 * 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.561e-05/0.1392, allocations: 117.8 kB / 475.6 MB, free: 9.402 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.643e-05/0.1392, allocations: 7.906 kB / 475.6 MB, free: 9.395 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002393/0.1395, allocations: 98.22 kB / 475.7 MB, free: 9.293 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.1395, allocations: 4 kB / 475.7 MB, free: 9.289 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.1395, allocations: 0 / 475.7 MB, free: 9.289 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.1395, allocations: 4 kB / 475.7 MB, free: 9.285 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00049/0.14, allocations: 354.5 kB / 476 MB, free: 8.883 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.14, allocations: 0 / 476 MB, free: 8.883 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.121e-05/0.1401, allocations: 19.94 kB / 476 MB, free: 8.863 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.1401, allocations: 0 / 476 MB, free: 8.863 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.1401, allocations: 0 / 476 MB, free: 8.863 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.1401, allocations: 3.938 kB / 476 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.1401, allocations: 3.984 kB / 476.1 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002315/0.1403, allocations: 187.7 kB / 476.2 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.192e-05/0.1404, allocations: 89.02 kB / 476.3 MB, free: 8.551 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.1404, allocations: 3.984 kB / 476.3 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.532e-05/0.1405, allocations: 11.92 kB / 476.3 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.667e-05/0.1405, allocations: 4 kB / 476.3 MB, free: 8.531 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.516e-06/0.1405, allocations: 0 / 476.3 MB, free: 8.531 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.185e-05/0.1406, allocations: 137.9 kB / 476.5 MB, free: 8.398 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1406, allocations: 4 kB / 476.5 MB, free: 8.395 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002324/0.1409, allocations: 15.91 kB / 476.5 MB, free: 8.379 MB / 350.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 (5): * Single equations (assignments): 5 * 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.0008007/0.1417, allocations: 403.4 kB / 476.9 MB, free: 8.133 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001809/0.1419, allocations: 55.91 kB / 476.9 MB, free: 8.078 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1419, allocations: 4 kB / 476.9 MB, free: 8.074 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.029e-05/0.142, allocations: 27.98 kB / 477 MB, free: 8.047 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002279/0.1422, allocations: 11.98 kB / 477 MB, free: 8.035 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003913/0.1426, allocations: 205.2 kB / 477.2 MB, free: 7.805 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002918/0.1429, allocations: 0.6965 MB / 477.9 MB, free: 7.082 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.884e-05/0.143, allocations: 7.984 kB / 477.9 MB, free: 7.074 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.836e-05/0.143, allocations: 19.42 kB / 477.9 MB, free: 7.055 MB / 350.1 MB Notification: Performance of SimCode: time 2.71e-07/0.143, allocations: 0 / 477.9 MB, free: 7.055 MB / 350.1 MB Notification: Performance of Templates: time 0.003198/0.1462, allocations: 1.006 MB / 478.9 MB, free: 6.055 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test11/Test11.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches