Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008952/0.0008953, allocations: 95.97 kB / 15.69 MB, free: 484 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.0008707/0.0008709, allocations: 173.8 kB / 16.56 MB, free: 6.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.395/1.395, allocations: 205.4 MB / 222.7 MB, free: 5.668 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.2989/0.2989, allocations: 43.54 MB / 314.5 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.0004942/0.0004945, allocations: 16 kB / 383.9 MB, free: 8.035 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1215, allocations: 58.86 MB / 442.8 MB, free: 13.07 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.002071/0.1237, allocations: 1.299 MB / 444.1 MB, free: 11.76 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006626/0.1244, allocations: 295.8 kB / 444.3 MB, free: 11.47 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.058e-05/0.1245, allocations: 4 kB / 444.3 MB, free: 11.46 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005702/0.125, allocations: 443.1 kB / 444.8 MB, free: 11.03 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003582/0.1254, allocations: 239.5 kB / 445 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000425/0.1259, allocations: 135.7 kB / 445.1 MB, free: 10.66 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002235/0.1261, allocations: 119.8 kB / 445.3 MB, free: 10.55 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.414e-05/0.1262, allocations: 20.16 kB / 445.3 MB, free: 10.53 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001262/0.1263, allocations: 99.78 kB / 445.4 MB, free: 10.43 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002038/0.1265, allocations: 147.7 kB / 445.5 MB, free: 10.29 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.442e-05/0.1266, allocations: 0 / 445.5 MB, free: 10.29 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.979e-05/0.1267, allocations: 23.92 kB / 445.5 MB, free: 10.26 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.512e-05/0.1268, allocations: 83.69 kB / 445.6 MB, free: 10.18 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.733e-05/0.1268, allocations: 65.52 kB / 445.7 MB, free: 10.11 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002648/0.1271, allocations: 188 kB / 445.9 MB, free: 9.926 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.1271, allocations: 0 / 445.9 MB, free: 9.926 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1271, allocations: 4 kB / 445.9 MB, free: 9.922 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.1271, allocations: 0 / 445.9 MB, free: 9.922 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.0007792/0.1279, allocations: 0.5988 MB / 446.5 MB, free: 9.273 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.128, allocations: 15.95 kB / 446.5 MB, free: 9.258 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.76e-05/0.128, allocations: 47.39 kB / 446.5 MB, free: 9.211 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003023/0.1283, allocations: 275.3 kB / 446.8 MB, free: 8.902 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.1284, allocations: 4 kB / 446.8 MB, free: 8.898 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.783e-05/0.1284, allocations: 0 / 446.8 MB, free: 8.898 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001492/0.1285, allocations: 61.67 kB / 446.9 MB, free: 8.832 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.1286, allocations: 0 / 446.9 MB, free: 8.832 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.1286, allocations: 0 / 446.9 MB, free: 8.832 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.1286, allocations: 8 kB / 446.9 MB, free: 8.824 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001041/0.1287, allocations: 35.94 kB / 446.9 MB, free: 8.789 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005262/0.1292, allocations: 404.6 kB / 447.3 MB, free: 8.344 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002034/0.1295, allocations: 46.56 kB / 447.4 MB, free: 8.289 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.685e-05/0.1295, allocations: 0 / 447.4 MB, free: 8.289 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.326e-05/0.1295, allocations: 38.5 kB / 447.4 MB, free: 8.242 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.1295, allocations: 0 / 447.4 MB, free: 8.242 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006425/0.1302, allocations: 252 kB / 447.6 MB, free: 7.988 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.887e-05/0.1302, allocations: 55.41 kB / 447.7 MB, free: 7.922 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007923/0.131, allocations: 0.8652 MB / 448.6 MB, free: 7.047 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.288e-05/0.1311, allocations: 29.7 kB / 448.6 MB, free: 7.012 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001562/0.1312, allocations: 220.1 kB / 448.8 MB, free: 6.793 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.909e-05/0.1313, allocations: 23.66 kB / 448.8 MB, free: 6.77 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.516e-06/0.1313, allocations: 0 / 448.8 MB, free: 6.77 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001739/0.1315, allocations: 358.8 kB / 449.2 MB, free: 6.41 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.33e-05/0.1315, allocations: 31.91 kB / 449.2 MB, free: 6.379 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.398e-05/0.1316, allocations: 27.98 kB / 449.2 MB, free: 6.352 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.187e-05/0.1317, allocations: 23.98 kB / 449.3 MB, free: 6.328 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.1317, allocations: 0 / 449.3 MB, free: 6.328 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002303/0.1319, allocations: 125.2 kB / 449.4 MB, free: 6.199 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.132, allocations: 11.94 kB / 449.4 MB, free: 6.188 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.132, allocations: 4 kB / 449.4 MB, free: 6.184 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.132, allocations: 0 / 449.4 MB, free: 6.184 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.548e-05/0.1321, allocations: 12 kB / 449.4 MB, free: 6.172 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.1321, allocations: 0 / 449.4 MB, free: 6.172 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.1e-05/0.1321, allocations: 7.984 kB / 449.4 MB, free: 6.164 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.154e-05/0.1322, allocations: 11.94 kB / 449.4 MB, free: 6.152 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 (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 0.0001785/0.1324, allocations: 217.7 kB / 449.6 MB, free: 5.93 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.933e-05/0.1325, allocations: 39.72 kB / 449.7 MB, free: 5.891 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002908/0.1328, allocations: 149 kB / 449.8 MB, free: 5.738 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.1328, allocations: 7.984 kB / 449.8 MB, free: 5.73 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.1328, allocations: 4 kB / 449.8 MB, free: 5.727 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.1328, allocations: 0 / 449.8 MB, free: 5.727 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006332/0.1334, allocations: 478.8 kB / 450.3 MB, free: 5.203 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/0.1335, allocations: 4.062 kB / 450.3 MB, free: 5.199 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.408e-05/0.1335, allocations: 19.95 kB / 450.3 MB, free: 5.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.1335, allocations: 0 / 450.3 MB, free: 5.18 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.1336, allocations: 4 kB / 450.3 MB, free: 5.176 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.22e-06/0.1336, allocations: 4 kB / 450.3 MB, free: 5.172 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.1336, allocations: 0 / 450.3 MB, free: 5.172 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003192/0.1339, allocations: 226.9 kB / 450.6 MB, free: 4.934 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001038/0.134, allocations: 120.5 kB / 450.7 MB, free: 4.797 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.886e-05/0.1341, allocations: 3.953 kB / 450.7 MB, free: 4.793 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.883e-05/0.1341, allocations: 4 kB / 450.7 MB, free: 4.789 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.474e-05/0.1342, allocations: 7.984 kB / 450.7 MB, free: 4.781 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-06/0.1342, allocations: 0 / 450.7 MB, free: 4.781 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006756/0.1349, allocations: 0.6589 MB / 451.3 MB, free: 4.125 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.1349, allocations: 3.938 kB / 451.4 MB, free: 4.121 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002702/0.1352, allocations: 20 kB / 451.4 MB, free: 4.102 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 (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.0009673/0.1362, allocations: 397.1 kB / 451.8 MB, free: 3.746 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002276/0.1364, allocations: 63.95 kB / 451.8 MB, free: 3.684 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.1364, allocations: 4 kB / 451.8 MB, free: 3.68 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.469e-05/0.1365, allocations: 31.92 kB / 451.9 MB, free: 3.648 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003096/0.1368, allocations: 26.23 kB / 451.9 MB, free: 3.617 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001111/0.1379, allocations: 0.8256 MB / 452.7 MB, free: 2.766 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004231/0.1384, allocations: 0.8379 MB / 453.5 MB, free: 1.902 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.492e-05/0.1385, allocations: 11.98 kB / 453.6 MB, free: 1.891 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.281e-05/0.1385, allocations: 19.38 kB / 453.6 MB, free: 1.871 MB / 382.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1385, allocations: 0 / 453.6 MB, free: 1.871 MB / 382.1 MB Notification: Performance of Templates: time 0.004854/0.1434, allocations: 1.389 MB / 455 MB, free: 492 kB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches