Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.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.CombiTable1Ds.Test18,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_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test18,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_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001563/0.001562, allocations: 176.6 kB / 17.06 MB, free: 5.098 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.293/1.293, allocations: 223.2 MB / 241 MB, free: 10.14 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.0008946/0.0008946, allocations: 98.77 kB / 292.2 MB, free: 10.7 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.2989/0.2989, allocations: 44.21 MB / 387.5 MB, free: 38.51 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003097/0.0003096, allocations: 8 kB / 459.9 MB, free: 1.52 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3676/0.368, allocations: 61.9 MB / 0.5096 GB, free: 37.89 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1082/0.4762, allocations: 88.29 MB / 0.5958 GB, free: 6.828 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001953/0.4764, allocations: 83.92 kB / 0.5959 GB, free: 6.75 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01109/0.4875, allocations: 4.725 MB / 0.6005 GB, free: 2.023 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.213e-06/0.4875, allocations: 0 / 0.6005 GB, free: 2.023 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.308e-06/0.4876, allocations: 0 / 0.6005 GB, free: 2.023 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003887/0.4879, allocations: 387 kB / 0.6008 GB, free: 1.598 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.488, allocations: 8.562 kB / 0.6009 GB, free: 1.59 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.936e-05/0.488, allocations: 7.906 kB / 0.6009 GB, free: 1.582 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002014/0.4882, allocations: 196.6 kB / 0.6011 GB, free: 1.352 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.4883, allocations: 0 / 0.6011 GB, free: 1.352 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.203e-05/0.4883, allocations: 12 kB / 0.6011 GB, free: 1.34 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001605/0.4885, allocations: 87.31 kB / 0.6011 GB, free: 1.242 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-06/0.4885, allocations: 0 / 0.6011 GB, free: 1.242 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.889e-06/0.4885, allocations: 0 / 0.6011 GB, free: 1.242 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.4885, allocations: 0 / 0.6011 GB, free: 1.242 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001022/0.4886, allocations: 39.97 kB / 0.6012 GB, free: 1.203 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003677/0.489, allocations: 296.7 kB / 0.6015 GB, free: 0.8633 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001048/0.4891, allocations: 50.55 kB / 0.6015 GB, free: 0.8047 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.195e-05/0.4891, allocations: 4 kB / 0.6015 GB, free: 0.8008 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.419e-05/0.4892, allocations: 34.69 kB / 0.6016 GB, free: 0.7578 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.4892, allocations: 4 kB / 0.6016 GB, free: 0.7539 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.000584/0.4898, allocations: 189.3 kB / 0.6017 GB, free: 0.5625 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.075e-05/0.4898, allocations: 89.09 kB / 0.6018 GB, free: 468 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001121/0.4899, allocations: 123.2 kB / 0.6019 GB, free: 340 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.34e-05/0.49, allocations: 25.7 kB / 0.602 GB, free: 308 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.702e-05/0.49, allocations: 92.12 kB / 0.6021 GB, free: 212 kB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.535e-05/0.4901, allocations: 27.56 kB / 0.6021 GB, free: 184 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.356e-06/0.4901, allocations: 4 kB / 0.6021 GB, free: 180 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.4902, allocations: 322.7 kB / 0.6024 GB, free: 15.85 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.805e-05/0.4903, allocations: 35.98 kB / 0.6024 GB, free: 15.82 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.701e-05/0.4904, allocations: 41.69 kB / 0.6025 GB, free: 15.77 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.23e-05/0.4904, allocations: 31.92 kB / 0.6025 GB, free: 15.74 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.4905, allocations: 0 / 0.6025 GB, free: 15.74 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001873/0.4906, allocations: 105.6 kB / 0.6026 GB, free: 15.63 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.4907, allocations: 9.406 kB / 0.6026 GB, free: 15.62 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.4907, allocations: 0 / 0.6026 GB, free: 15.62 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.376e-06/0.4907, allocations: 0 / 0.6026 GB, free: 15.62 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.768e-05/0.4908, allocations: 23.92 kB / 0.6026 GB, free: 15.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.4908, allocations: 0 / 0.6026 GB, free: 15.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.248e-05/0.4909, allocations: 11.98 kB / 0.6026 GB, free: 15.59 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.4909, allocations: 4 kB / 0.6026 GB, free: 15.58 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 (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 8.102e-05/0.491, allocations: 121.8 kB / 0.6028 GB, free: 15.45 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.06e-05/0.491, allocations: 7.906 kB / 0.6028 GB, free: 15.45 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000253/0.4913, allocations: 130.3 kB / 0.6029 GB, free: 15.31 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.4913, allocations: 0 / 0.6029 GB, free: 15.31 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.4913, allocations: 0 / 0.6029 GB, free: 15.31 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.544e-06/0.4913, allocations: 0 / 0.6029 GB, free: 15.31 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004268/0.4917, allocations: 402.3 kB / 0.6033 GB, free: 14.86 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.4917, allocations: 0 / 0.6033 GB, free: 14.86 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.417e-05/0.4918, allocations: 16 kB / 0.6033 GB, free: 14.85 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.4918, allocations: 3.984 kB / 0.6033 GB, free: 14.84 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.028e-05/0.4918, allocations: 11.98 kB / 0.6033 GB, free: 14.83 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.4918, allocations: 0 / 0.6033 GB, free: 14.83 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.4918, allocations: 3.938 kB / 0.6033 GB, free: 14.83 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002246/0.4921, allocations: 199.8 kB / 0.6035 GB, free: 14.62 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.162e-05/0.4921, allocations: 89 kB / 0.6036 GB, free: 14.51 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.801e-05/0.4922, allocations: 4 kB / 0.6036 GB, free: 14.51 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.088e-05/0.4922, allocations: 15.98 kB / 0.6036 GB, free: 14.49 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.155e-05/0.4923, allocations: 0 / 0.6036 GB, free: 14.49 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.041e-06/0.4923, allocations: 8 kB / 0.6036 GB, free: 14.48 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.336e-05/0.4924, allocations: 113.1 kB / 0.6037 GB, free: 14.38 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4924, allocations: 0 / 0.6037 GB, free: 14.38 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002442/0.4926, allocations: 35.88 kB / 0.6038 GB, free: 14.34 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 (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.0009161/0.4935, allocations: 451.7 kB / 0.6042 GB, free: 14.07 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002059/0.4938, allocations: 71.95 kB / 0.6043 GB, free: 14 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.4938, allocations: 0 / 0.6043 GB, free: 14 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.526e-05/0.4939, allocations: 47.86 kB / 0.6043 GB, free: 13.95 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001836/0.4941, allocations: 19.94 kB / 0.6043 GB, free: 13.93 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004027/0.4945, allocations: 189.1 kB / 0.6045 GB, free: 13.71 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000259/0.4947, allocations: 0.7043 MB / 0.6052 GB, free: 12.98 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.779e-05/0.4948, allocations: 16.95 kB / 0.6052 GB, free: 12.96 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.001e-05/0.4949, allocations: 15.44 kB / 0.6052 GB, free: 12.95 MB / 426.7 MB Notification: Performance of SimCode: time 2.2e-07/0.4949, allocations: 0 / 0.6052 GB, free: 12.95 MB / 426.7 MB Notification: Performance of Templates: time 0.003549/0.4984, allocations: 1.355 MB / 0.6065 GB, free: 11.6 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test18/Test18.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches