Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test19,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.CombiTable1Dv.Test19") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test19,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.CombiTable1Dv.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001077/0.001077, allocations: 183.8 kB / 17.06 MB, free: 5.074 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.245/1.245, allocations: 223.2 MB / 241 MB, free: 11.86 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008287/0.0008287, allocations: 91.8 kB / 292.2 MB, free: 10.9 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2942/0.2942, allocations: 44.22 MB / 387.5 MB, free: 38.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003534/0.0003534, allocations: 15.98 kB / 459.9 MB, free: 1.523 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3544/0.3548, allocations: 61.91 MB / 0.5096 GB, free: 38.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1085/0.4633, allocations: 88.35 MB / 0.5958 GB, free: 6.766 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002069/0.4636, allocations: 79.94 kB / 0.5959 GB, free: 6.691 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01079/0.4744, allocations: 4.458 MB / 0.6003 GB, free: 2.238 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.487e-06/0.4744, allocations: 4 kB / 0.6003 GB, free: 2.234 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.103e-05/0.4744, allocations: 4 kB / 0.6003 GB, free: 2.23 MB / 410.7 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.0003674/0.4748, allocations: 387 kB / 0.6006 GB, free: 1.805 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.4749, allocations: 8.562 kB / 0.6007 GB, free: 1.797 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.644e-05/0.4749, allocations: 7.906 kB / 0.6007 GB, free: 1.789 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001835/0.4751, allocations: 186.9 kB / 0.6008 GB, free: 1.566 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.385e-06/0.4751, allocations: 4 kB / 0.6008 GB, free: 1.562 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.445e-05/0.4751, allocations: 0 / 0.6008 GB, free: 1.562 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001418/0.4753, allocations: 71.34 kB / 0.6009 GB, free: 1.48 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.936e-06/0.4753, allocations: 7.938 kB / 0.6009 GB, free: 1.473 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.846e-06/0.4753, allocations: 0 / 0.6009 GB, free: 1.473 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.4753, allocations: 3.984 kB / 0.6009 GB, free: 1.469 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.847e-05/0.4754, allocations: 31.92 kB / 0.601 GB, free: 1.438 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003428/0.4758, allocations: 276.9 kB / 0.6012 GB, free: 1.117 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001708/0.4759, allocations: 58.48 kB / 0.6013 GB, free: 1.051 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.326e-05/0.476, allocations: 0 / 0.6013 GB, free: 1.051 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.32e-05/0.476, allocations: 30.56 kB / 0.6013 GB, free: 1.012 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 7.72e-07/0.476, allocations: 3.938 kB / 0.6013 GB, free: 1.008 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005151/0.4765, allocations: 165.5 kB / 0.6015 GB, free: 0.8398 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.593e-05/0.4766, allocations: 77.11 kB / 0.6015 GB, free: 0.7461 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001197/0.4767, allocations: 134.6 kB / 0.6017 GB, free: 0.6094 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.272e-05/0.4767, allocations: 29.7 kB / 0.6017 GB, free: 0.5742 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.874e-05/0.4768, allocations: 92.12 kB / 0.6018 GB, free: 492 kB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.464e-05/0.4768, allocations: 15.75 kB / 0.6018 GB, free: 476 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.176e-06/0.4768, allocations: 0 / 0.6018 GB, free: 476 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001012/0.4769, allocations: 322.8 kB / 0.6021 GB, free: 144 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.677e-05/0.477, allocations: 23.98 kB / 0.6021 GB, free: 120 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.866e-05/0.4771, allocations: 37.7 kB / 0.6022 GB, free: 76 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.839e-05/0.4771, allocations: 23.98 kB / 0.6022 GB, free: 52 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.4771, allocations: 3.953 kB / 0.6022 GB, free: 48 kB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001939/0.4773, allocations: 97.59 kB / 0.6023 GB, free: 15.95 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.4774, allocations: 8 kB / 0.6023 GB, free: 15.94 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.4774, allocations: 0 / 0.6023 GB, free: 15.94 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.796e-06/0.4774, allocations: 0 / 0.6023 GB, free: 15.94 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.333e-05/0.4775, allocations: 19.92 kB / 0.6023 GB, free: 15.92 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.4775, allocations: 0 / 0.6023 GB, free: 15.92 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.874e-05/0.4775, allocations: 4 kB / 0.6023 GB, free: 15.91 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/0.4775, allocations: 4.25 kB / 0.6023 GB, free: 15.91 MB / 426.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 (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 7.248e-05/0.4776, allocations: 121.8 kB / 0.6024 GB, free: 15.78 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.009e-05/0.4776, allocations: 11.84 kB / 0.6024 GB, free: 15.77 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002243/0.4779, allocations: 109.6 kB / 0.6025 GB, free: 15.65 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.4779, allocations: 0 / 0.6025 GB, free: 15.65 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.4779, allocations: 4 kB / 0.6026 GB, free: 15.65 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.4779, allocations: 0 / 0.6026 GB, free: 15.65 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004258/0.4783, allocations: 366.4 kB / 0.6029 GB, free: 15.23 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.4783, allocations: 0 / 0.6029 GB, free: 15.23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.4e-05/0.4784, allocations: 15.98 kB / 0.6029 GB, free: 15.22 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.4784, allocations: 4 kB / 0.6029 GB, free: 15.21 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.604e-06/0.4784, allocations: 0 / 0.6029 GB, free: 15.21 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.4784, allocations: 0 / 0.6029 GB, free: 15.21 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.4784, allocations: 0 / 0.6029 GB, free: 15.21 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002267/0.4787, allocations: 199.3 kB / 0.6031 GB, free: 15 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.758e-05/0.4787, allocations: 85.09 kB / 0.6032 GB, free: 14.9 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.79e-05/0.4788, allocations: 4 kB / 0.6032 GB, free: 14.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.591e-05/0.4788, allocations: 4 kB / 0.6032 GB, free: 14.89 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.035e-05/0.4789, allocations: 3.984 kB / 0.6032 GB, free: 14.89 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.172e-06/0.4789, allocations: 7.938 kB / 0.6032 GB, free: 14.88 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.835e-05/0.479, allocations: 104.3 kB / 0.6033 GB, free: 14.78 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.479, allocations: 0 / 0.6033 GB, free: 14.78 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002314/0.4792, allocations: 27.91 kB / 0.6033 GB, free: 14.75 MB / 426.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 (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.0009497/0.4802, allocations: 464.4 kB / 0.6038 GB, free: 14.47 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001945/0.4804, allocations: 67.89 kB / 0.6038 GB, free: 14.4 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.4804, allocations: 0 / 0.6038 GB, free: 14.4 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.541e-05/0.4805, allocations: 27.98 kB / 0.6039 GB, free: 14.38 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001922/0.4807, allocations: 15.94 kB / 0.6039 GB, free: 14.36 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003414/0.481, allocations: 176.8 kB / 0.6041 GB, free: 14.16 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002669/0.4813, allocations: 0.6926 MB / 0.6047 GB, free: 13.44 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.117e-05/0.4813, allocations: 16.41 kB / 0.6047 GB, free: 13.42 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.268e-05/0.4814, allocations: 15.44 kB / 0.6048 GB, free: 13.41 MB / 426.7 MB Notification: Performance of SimCode: time 1.813e-06/0.4814, allocations: 4 kB / 0.6048 GB, free: 13.4 MB / 426.7 MB Notification: Performance of Templates: time 0.003368/0.4848, allocations: 1.287 MB / 0.606 GB, free: 12.13 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test19/Test19.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches