Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.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.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001052/0.001052, allocations: 90.89 kB / 16.98 MB, free: 5.938 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.00141/0.00141, allocations: 186.9 kB / 17.88 MB, free: 5.594 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.438/1.438, allocations: 223.2 MB / 241.8 MB, free: 14.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2274/0.2274, allocations: 44.22 MB / 337.1 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003523/0.0003525, allocations: 11.94 kB / 409.5 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1466/0.1469, allocations: 61.92 MB / 471.5 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab): time 0.002064/0.149, allocations: 1.259 MB / 472.7 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007021/0.1498, allocations: 379.5 kB / 473.1 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.564e-05/0.1498, allocations: 0 / 473.1 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002087/0.15, allocations: 27.84 kB / 473.1 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001412/0.1502, allocations: 27.91 kB / 473.1 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002352/0.1504, allocations: 75.78 kB / 473.2 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001326/0.1506, allocations: 39.95 kB / 473.2 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.612e-05/0.1507, allocations: 12.17 kB / 473.3 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.56e-05/0.1507, allocations: 27.84 kB / 473.3 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.291e-05/0.1508, allocations: 11.92 kB / 473.3 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.506e-05/0.1508, allocations: 4 kB / 473.3 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.575e-05/0.1509, allocations: 35.92 kB / 473.3 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.707e-05/0.151, allocations: 11.92 kB / 473.4 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.569e-05/0.151, allocations: 37.7 kB / 473.4 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001581/0.1512, allocations: 68.17 kB / 473.5 MB, free: 11.72 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.1512, allocations: 3.938 kB / 473.5 MB, free: 11.72 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.765e-06/0.1512, allocations: 0 / 473.5 MB, free: 11.72 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.1512, allocations: 0 / 473.5 MB, free: 11.72 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005066/0.1517, allocations: 383 kB / 473.8 MB, free: 11.3 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.1518, allocations: 8.562 kB / 473.8 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.799e-05/0.1518, allocations: 7.906 kB / 473.8 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003316/0.1522, allocations: 183 kB / 474 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.386e-05/0.1522, allocations: 8 kB / 474 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.849e-05/0.1522, allocations: 4 kB / 474 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001819/0.1524, allocations: 71.3 kB / 474.1 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.1524, allocations: 0 / 474.1 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.1524, allocations: 0 / 474.1 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.777e-06/0.1525, allocations: 3.984 kB / 474.1 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001097/0.1526, allocations: 31.98 kB / 474.1 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00048/0.1531, allocations: 292.8 kB / 474.4 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001259/0.1532, allocations: 62.48 kB / 474.5 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.439e-05/0.1532, allocations: 0 / 474.5 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.761e-05/0.1533, allocations: 38.56 kB / 474.5 MB, free: 10.48 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 7.41e-07/0.1533, allocations: 0 / 474.5 MB, free: 10.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000638/0.1539, allocations: 201.4 kB / 474.7 MB, free: 10.28 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.893e-05/0.154, allocations: 77.11 kB / 474.8 MB, free: 10.18 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001386/0.1541, allocations: 149.2 kB / 474.9 MB, free: 10.03 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.51e-05/0.1542, allocations: 33.64 kB / 475 MB, free: 9.988 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.803e-05/0.1542, allocations: 88.14 kB / 475.1 MB, free: 9.898 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.834e-05/0.1543, allocations: 27.64 kB / 475.1 MB, free: 9.871 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.69e-06/0.1543, allocations: 7.938 kB / 475.1 MB, free: 9.863 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.1544, allocations: 318.8 kB / 475.4 MB, free: 9.543 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000112/0.1545, allocations: 39.97 kB / 475.4 MB, free: 9.504 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.851e-05/0.1546, allocations: 49.69 kB / 475.5 MB, free: 9.449 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.95e-05/0.1547, allocations: 39.95 kB / 475.5 MB, free: 9.41 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.1547, allocations: 4 kB / 475.5 MB, free: 9.406 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002262/0.155, allocations: 117.9 kB / 475.7 MB, free: 9.285 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.155, allocations: 4 kB / 475.7 MB, free: 9.281 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.155, allocations: 0 / 475.7 MB, free: 9.281 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.155, allocations: 0 / 475.7 MB, free: 9.281 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001176/0.1551, allocations: 31.98 kB / 475.7 MB, free: 9.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.1552, allocations: 4 kB / 475.7 MB, free: 9.246 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.381e-05/0.1552, allocations: 7.984 kB / 475.7 MB, free: 9.238 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-06/0.1552, allocations: 4 kB / 475.7 MB, free: 9.234 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 (9): * Single equations (assignments): 9 * 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.06e-05/0.1553, allocations: 117.8 kB / 475.8 MB, free: 9.109 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.815e-05/0.1554, allocations: 7.906 kB / 475.8 MB, free: 9.102 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002813/0.1556, allocations: 134.3 kB / 476 MB, free: 8.965 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.1557, allocations: 4 kB / 476 MB, free: 8.961 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.1557, allocations: 0 / 476 MB, free: 8.961 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.1557, allocations: 0 / 476 MB, free: 8.961 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006446/0.1563, allocations: 398.4 kB / 476.4 MB, free: 8.516 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.1563, allocations: 288 / 476.4 MB, free: 8.516 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.723e-05/0.1564, allocations: 19.98 kB / 476.4 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.1564, allocations: 0 / 476.4 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.1564, allocations: 7.938 kB / 476.4 MB, free: 8.488 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-06/0.1564, allocations: 0 / 476.4 MB, free: 8.488 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1564, allocations: 4 kB / 476.4 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002553/0.1567, allocations: 207.4 kB / 476.6 MB, free: 8.266 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.604e-05/0.1568, allocations: 88.94 kB / 476.7 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.962e-05/0.1568, allocations: 4 kB / 476.7 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.174e-05/0.1569, allocations: 12 kB / 476.7 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.753e-05/0.1569, allocations: 11.97 kB / 476.7 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.519e-06/0.1569, allocations: 0 / 476.7 MB, free: 8.133 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.452e-05/0.157, allocations: 115.2 kB / 476.8 MB, free: 8.02 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.472e-06/0.157, allocations: 0 / 476.8 MB, free: 8.02 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00025/0.1573, allocations: 31.94 kB / 476.8 MB, free: 7.988 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 (8): * Single equations (assignments): 8 * 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.001141/0.1584, allocations: 444.5 kB / 477.3 MB, free: 7.723 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002777/0.1587, allocations: 79.88 kB / 477.4 MB, free: 7.645 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.1588, allocations: 4 kB / 477.4 MB, free: 7.641 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.01e-05/0.1588, allocations: 43.97 kB / 477.4 MB, free: 7.598 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002896/0.1591, allocations: 15.95 kB / 477.4 MB, free: 7.582 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004665/0.1596, allocations: 209.3 kB / 477.6 MB, free: 7.355 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003817/0.16, allocations: 0.6965 MB / 478.3 MB, free: 6.633 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.28e-05/0.1601, allocations: 16.8 kB / 478.3 MB, free: 6.609 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.259e-05/0.1602, allocations: 23.36 kB / 478.4 MB, free: 6.59 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1602, allocations: 0 / 478.4 MB, free: 6.59 MB / 350.1 MB Notification: Performance of Templates: time 0.004475/0.1646, allocations: 1.465 MB / 479.8 MB, free: 5.129 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test25_usertab/Test25_usertab.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches