Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000863/0.000863, allocations: 175.1 kB / 16.72 MB, free: 5.055 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.219/1.219, allocations: 205.4 MB / 222.9 MB, free: 9.031 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007315/0.0007316, allocations: 82.41 kB / 271.2 MB, free: 8.266 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2814/0.2814, allocations: 43.56 MB / 363.1 MB, free: 52.1 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003544/0.0003548, allocations: 16 kB / 432 MB, free: 5.848 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0916/0.09197, allocations: 58.86 MB / 490.8 MB, free: 10.91 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test6): time 0.001704/0.09371, allocations: 1.267 MB / 492.1 MB, free: 9.629 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005139/0.09425, allocations: 307.7 kB / 492.4 MB, free: 9.324 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.312e-05/0.09431, allocations: 0 / 492.4 MB, free: 9.324 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002314/0.09455, allocations: 87.8 kB / 492.5 MB, free: 9.238 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001421/0.0947, allocations: 59.8 kB / 492.5 MB, free: 9.18 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002031/0.09492, allocations: 63.92 kB / 492.6 MB, free: 9.117 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001302/0.09506, allocations: 67.81 kB / 492.7 MB, free: 9.051 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.176e-05/0.09515, allocations: 20.16 kB / 492.7 MB, free: 9.031 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.122e-05/0.09521, allocations: 31.84 kB / 492.7 MB, free: 9 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.498e-05/0.09531, allocations: 43.89 kB / 492.8 MB, free: 8.957 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.359e-05/0.09533, allocations: 3.938 kB / 492.8 MB, free: 8.953 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.033e-05/0.0954, allocations: 35.97 kB / 492.8 MB, free: 8.918 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.866e-05/0.09545, allocations: 23.92 kB / 492.8 MB, free: 8.895 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.833e-05/0.0955, allocations: 49.52 kB / 492.9 MB, free: 8.84 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001132/0.09562, allocations: 71.88 kB / 492.9 MB, free: 8.77 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.09564, allocations: 0 / 492.9 MB, free: 8.77 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.09564, allocations: 3.938 kB / 492.9 MB, free: 8.766 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.647e-06/0.09565, allocations: 0 / 492.9 MB, free: 8.766 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004068/0.09606, allocations: 407.2 kB / 493.3 MB, free: 8.32 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.096e-05/0.0961, allocations: 12.03 kB / 493.4 MB, free: 8.309 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.329e-05/0.09614, allocations: 12.75 kB / 493.4 MB, free: 8.297 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001669/0.09631, allocations: 200.1 kB / 493.6 MB, free: 8.062 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.748e-06/0.09633, allocations: 4.375 kB / 493.6 MB, free: 8.059 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.734e-05/0.09635, allocations: 4.375 kB / 493.6 MB, free: 8.055 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001316/0.09649, allocations: 61.61 kB / 493.6 MB, free: 7.988 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.09651, allocations: 0 / 493.6 MB, free: 7.988 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.787e-06/0.09653, allocations: 3.938 kB / 493.6 MB, free: 7.984 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.09653, allocations: 0 / 493.6 MB, free: 7.984 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001115/0.09665, allocations: 47.95 kB / 493.7 MB, free: 7.938 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003349/0.09699, allocations: 300.7 kB / 494 MB, free: 7.594 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000105/0.09711, allocations: 54.5 kB / 494 MB, free: 7.531 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.14e-05/0.09717, allocations: 24.97 kB / 494.1 MB, free: 7.504 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.052e-05/0.0972, allocations: 4 kB / 494.1 MB, free: 7.5 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.389e-05/0.09723, allocations: 30.56 kB / 494.1 MB, free: 7.461 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 9.92e-07/0.09724, allocations: 0 / 494.1 MB, free: 7.461 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005802/0.09782, allocations: 193.2 kB / 494.3 MB, free: 7.266 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.316e-05/0.09787, allocations: 55.42 kB / 494.3 MB, free: 7.199 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001982/0.09807, allocations: 242.2 kB / 494.6 MB, free: 6.953 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.415e-05/0.09809, allocations: 29.7 kB / 494.6 MB, free: 6.918 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.206e-05/0.09815, allocations: 112 kB / 494.7 MB, free: 6.805 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.269e-05/0.09818, allocations: 27.64 kB / 494.7 MB, free: 6.777 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.23e-05/0.0982, allocations: 4 kB / 494.7 MB, free: 6.773 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.657e-05/0.0983, allocations: 322.8 kB / 495 MB, free: 6.449 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.456e-05/0.09838, allocations: 23.98 kB / 495.1 MB, free: 6.426 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.855e-05/0.09846, allocations: 31.98 kB / 495.1 MB, free: 6.395 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001377/0.0986, allocations: 64.83 kB / 495.2 MB, free: 6.328 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.09861, allocations: 0 / 495.2 MB, free: 6.328 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001991/0.09882, allocations: 121.3 kB / 495.3 MB, free: 6.203 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.09884, allocations: 8 kB / 495.3 MB, free: 6.195 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.09885, allocations: 0 / 495.3 MB, free: 6.195 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.032e-05/0.09886, allocations: 3.984 kB / 495.3 MB, free: 6.191 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.37e-05/0.09896, allocations: 19.98 kB / 495.3 MB, free: 6.172 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.09898, allocations: 0 / 495.3 MB, free: 6.172 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.234e-05/0.09903, allocations: 11.94 kB / 495.3 MB, free: 6.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.271e-06/0.09904, allocations: 0 / 495.3 MB, free: 6.16 MB / 378.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 (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 prepare postOptimizeDAE: time 9.278e-05/0.09914, allocations: 137.8 kB / 495.5 MB, free: 6.016 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.084e-05/0.09917, allocations: 15.84 kB / 495.5 MB, free: 6 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002543/0.09943, allocations: 131.2 kB / 495.6 MB, free: 5.863 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.09944, allocations: 0 / 495.6 MB, free: 5.863 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.09945, allocations: 0 / 495.6 MB, free: 5.863 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.09946, allocations: 11.94 kB / 495.6 MB, free: 5.852 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004544/0.09992, allocations: 398.8 kB / 496 MB, free: 5.406 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.09994, allocations: 0 / 496 MB, free: 5.406 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.997e-05/0.1, allocations: 27.98 kB / 496 MB, free: 5.379 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.1, allocations: 7.938 kB / 496 MB, free: 5.371 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.1, allocations: 0 / 496 MB, free: 5.371 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1001, allocations: 4 kB / 496 MB, free: 5.367 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.1001, allocations: 0 / 496 MB, free: 5.367 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002187/0.1003, allocations: 207.4 kB / 496.2 MB, free: 5.148 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.767e-05/0.1003, allocations: 84.92 kB / 496.3 MB, free: 5.047 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.803e-05/0.1004, allocations: 11.94 kB / 496.3 MB, free: 5.035 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.83e-05/0.1004, allocations: 7.984 kB / 496.4 MB, free: 5.027 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.461e-05/0.1005, allocations: 7.984 kB / 496.4 MB, free: 5.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.1005, allocations: 0 / 496.4 MB, free: 5.02 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001323/0.1006, allocations: 172.2 kB / 496.5 MB, free: 4.852 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.1006, allocations: 0 / 496.5 MB, free: 4.852 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002236/0.1009, allocations: 19.98 kB / 496.5 MB, free: 4.832 MB / 378.7 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.000737/0.1016, allocations: 402.9 kB / 496.9 MB, free: 4.48 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001987/0.1018, allocations: 75.88 kB / 497 MB, free: 4.406 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1018, allocations: 0 / 497 MB, free: 4.406 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.259e-05/0.1019, allocations: 39.98 kB / 497.1 MB, free: 4.367 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002855/0.1022, allocations: 15.98 kB / 497.1 MB, free: 4.352 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004283/0.1026, allocations: 303 kB / 497.4 MB, free: 4.02 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002338/0.1029, allocations: 0.7082 MB / 498.1 MB, free: 3.285 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.06e-05/0.1029, allocations: 11.44 kB / 498.1 MB, free: 3.277 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.1029, allocations: 0 / 498.1 MB, free: 3.277 MB / 378.7 MB Notification: Performance of Templates: time 0.002875/0.1058, allocations: 1.665 MB / 499.7 MB, free: 1.613 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test6/Test6.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches