Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.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.Test8,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.Test8") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test8,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.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009002/0.0009003, allocations: 179 kB / 18.09 MB, free: 3.754 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.205/1.205, allocations: 223.3 MB / 242.1 MB, free: 11.71 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.000731/0.0007311, allocations: 100.9 kB / 293.3 MB, free: 10.78 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.2865/0.2865, allocations: 44.14 MB / 388.5 MB, free: 38.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003521/0.0003521, allocations: 12 kB / 461.1 MB, free: 1.316 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2819/0.2823, allocations: 61.88 MB / 0.5107 GB, free: 38.29 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1032/0.3855, allocations: 88.07 MB / 0.5967 GB, free: 7.012 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001974/0.3858, allocations: 83.94 kB / 0.5968 GB, free: 6.934 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009143/0.3949, allocations: 3.726 MB / 0.6004 GB, free: 3.203 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.744e-06/0.395, allocations: 4 kB / 0.6005 GB, free: 3.199 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.295e-06/0.395, allocations: 0 / 0.6005 GB, free: 3.199 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.0003419/0.3953, allocations: 399 kB / 0.6008 GB, free: 2.758 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.3954, allocations: 8.031 kB / 0.6008 GB, free: 2.75 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.187e-05/0.3954, allocations: 8.844 kB / 0.6008 GB, free: 2.742 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001686/0.3956, allocations: 192.2 kB / 0.601 GB, free: 2.516 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.755e-06/0.3956, allocations: 384 / 0.601 GB, free: 2.516 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.366e-05/0.3956, allocations: 384 / 0.601 GB, free: 2.516 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001167/0.3957, allocations: 54.25 kB / 0.6011 GB, free: 2.457 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.3957, allocations: 192 / 0.6011 GB, free: 2.457 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.759e-06/0.3958, allocations: 7.938 kB / 0.6011 GB, free: 2.449 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.3958, allocations: 0 / 0.6011 GB, free: 2.449 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.82e-05/0.3959, allocations: 31.91 kB / 0.6011 GB, free: 2.418 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003224/0.3962, allocations: 288.9 kB / 0.6014 GB, free: 2.086 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001664/0.3964, allocations: 50.44 kB / 0.6014 GB, free: 2.027 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.949e-05/0.3964, allocations: 20.94 kB / 0.6015 GB, free: 2.004 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.415e-05/0.3965, allocations: 0 / 0.6015 GB, free: 2.004 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.994e-05/0.3965, allocations: 42.44 kB / 0.6015 GB, free: 1.953 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 9.11e-07/0.3965, allocations: 0 / 0.6015 GB, free: 1.953 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004993/0.397, allocations: 177.2 kB / 0.6017 GB, free: 1.773 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.648e-05/0.397, allocations: 51.41 kB / 0.6017 GB, free: 1.711 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001248/0.3972, allocations: 155.1 kB / 0.6019 GB, free: 1.551 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.09e-05/0.3972, allocations: 25.7 kB / 0.6019 GB, free: 1.52 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.409e-05/0.3972, allocations: 92.14 kB / 0.602 GB, free: 1.426 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.869e-05/0.3972, allocations: 15.73 kB / 0.602 GB, free: 1.41 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.018e-06/0.3973, allocations: 4 kB / 0.602 GB, free: 1.406 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.94e-05/0.3974, allocations: 318.8 kB / 0.6023 GB, free: 1.086 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.669e-05/0.3974, allocations: 27.98 kB / 0.6023 GB, free: 1.059 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.879e-05/0.3975, allocations: 27.97 kB / 0.6024 GB, free: 1.031 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001231/0.3976, allocations: 60.83 kB / 0.6024 GB, free: 0.9688 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.3976, allocations: 0 / 0.6024 GB, free: 0.9688 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001736/0.3978, allocations: 93.52 kB / 0.6025 GB, free: 0.8711 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.3978, allocations: 8 kB / 0.6025 GB, free: 0.8633 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.3978, allocations: 3.984 kB / 0.6025 GB, free: 0.8594 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.017e-06/0.3979, allocations: 0 / 0.6025 GB, free: 0.8594 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.912e-05/0.3979, allocations: 16 kB / 0.6025 GB, free: 0.8438 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.3979, allocations: 0 / 0.6025 GB, free: 0.8438 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.727e-05/0.398, allocations: 7.984 kB / 0.6025 GB, free: 0.8359 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-06/0.398, allocations: 0 / 0.6025 GB, free: 0.8359 MB / 410.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 6.925e-05/0.3981, allocations: 126.3 kB / 0.6027 GB, free: 0.7031 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.746e-05/0.3981, allocations: 7.906 kB / 0.6027 GB, free: 0.6953 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002175/0.3983, allocations: 109.9 kB / 0.6028 GB, free: 0.5859 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.3983, allocations: 0 / 0.6028 GB, free: 0.5859 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.3983, allocations: 4 kB / 0.6028 GB, free: 0.582 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.3983, allocations: 0 / 0.6028 GB, free: 0.582 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003756/0.3987, allocations: 362.8 kB / 0.6031 GB, free: 176 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.3987, allocations: 4.062 kB / 0.6031 GB, free: 172 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.135e-05/0.3988, allocations: 15.98 kB / 0.6031 GB, free: 156 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.3988, allocations: 4 kB / 0.6031 GB, free: 152 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.112e-06/0.3988, allocations: 0 / 0.6031 GB, free: 152 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.3988, allocations: 0 / 0.6031 GB, free: 152 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.3988, allocations: 7.875 kB / 0.6032 GB, free: 144 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002124/0.399, allocations: 191.4 kB / 0.6033 GB, free: 15.94 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.985e-05/0.3991, allocations: 89.02 kB / 0.6034 GB, free: 15.83 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.52e-05/0.3991, allocations: 4 kB / 0.6034 GB, free: 15.83 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.604e-05/0.3992, allocations: 7.984 kB / 0.6034 GB, free: 15.82 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.097e-05/0.3992, allocations: 11.88 kB / 0.6034 GB, free: 15.81 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.3992, allocations: 4 kB / 0.6034 GB, free: 15.8 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.875e-05/0.3993, allocations: 116.8 kB / 0.6036 GB, free: 15.69 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3993, allocations: 0 / 0.6036 GB, free: 15.69 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002161/0.3996, allocations: 20 kB / 0.6036 GB, free: 15.67 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.0007493/0.4003, allocations: 403 kB / 0.604 GB, free: 15.43 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001811/0.4005, allocations: 67.89 kB / 0.604 GB, free: 15.36 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.4005, allocations: 0 / 0.604 GB, free: 15.36 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.435e-05/0.4006, allocations: 27.98 kB / 0.6041 GB, free: 15.34 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002472/0.4009, allocations: 23.91 kB / 0.6041 GB, free: 15.31 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003288/0.4012, allocations: 204.1 kB / 0.6043 GB, free: 15.09 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002186/0.4014, allocations: 0.7004 MB / 0.605 GB, free: 14.36 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 4.79e-05/0.4015, allocations: 11.98 kB / 0.605 GB, free: 14.35 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.758e-05/0.4015, allocations: 15.44 kB / 0.605 GB, free: 14.34 MB / 426.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4015, allocations: 0 / 0.605 GB, free: 14.34 MB / 426.7 MB Notification: Performance of Templates: time 0.002809/0.4043, allocations: 1.068 MB / 0.606 GB, free: 13.28 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test8/Test8.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches