Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.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.CombiTable2Ds.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001334/0.001334, allocations: 177 kB / 17.06 MB, free: 5.094 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.251/1.251, allocations: 223.2 MB / 241 MB, free: 11.88 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.0008169/0.000817, allocations: 91.09 kB / 292.2 MB, free: 10.91 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.3319/0.3319, allocations: 44.22 MB / 387.5 MB, free: 38.8 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002973/0.0002973, allocations: 12 kB / 459.9 MB, free: 1.512 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4031/0.4034, allocations: 61.9 MB / 0.5096 GB, free: 38.07 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1206/0.5241, allocations: 88.56 MB / 0.596 GB, free: 6.57 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002123/0.5244, allocations: 75.92 kB / 0.5961 GB, free: 6.5 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01135/0.5357, allocations: 4.637 MB / 0.6006 GB, free: 1.859 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.462e-06/0.5358, allocations: 7.938 kB / 0.6006 GB, free: 1.852 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.245e-05/0.5358, allocations: 4 kB / 0.6007 GB, free: 1.848 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005071/0.5363, allocations: 430.7 kB / 0.6011 GB, free: 1.379 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/0.5364, allocations: 8.562 kB / 0.6011 GB, free: 1.371 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.371e-05/0.5364, allocations: 7.906 kB / 0.6011 GB, free: 1.363 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000298/0.5367, allocations: 194.9 kB / 0.6013 GB, free: 1.133 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.688e-05/0.5368, allocations: 7.953 kB / 0.6013 GB, free: 1.125 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.64e-05/0.5368, allocations: 4 kB / 0.6013 GB, free: 1.121 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001764/0.537, allocations: 69.61 kB / 0.6013 GB, free: 1.047 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/0.537, allocations: 0 / 0.6013 GB, free: 1.047 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.537, allocations: 7.938 kB / 0.6014 GB, free: 1.039 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.515e-06/0.537, allocations: 4 kB / 0.6014 GB, free: 1.035 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001454/0.5372, allocations: 47.95 kB / 0.6014 GB, free: 0.9883 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004266/0.5376, allocations: 312.7 kB / 0.6017 GB, free: 0.6328 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002352/0.5379, allocations: 62.58 kB / 0.6018 GB, free: 0.5625 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.949e-05/0.5379, allocations: 4 kB / 0.6018 GB, free: 0.5586 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.292e-05/0.5379, allocations: 34.56 kB / 0.6018 GB, free: 0.5156 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.5379, allocations: 0 / 0.6018 GB, free: 0.5156 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.001478/0.5394, allocations: 464.9 kB / 0.6022 GB, free: 56 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.473e-05/0.5395, allocations: 60.64 kB / 0.6023 GB, free: 15.98 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001857/0.5397, allocations: 175.3 kB / 0.6025 GB, free: 15.81 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.184e-05/0.5397, allocations: 29.64 kB / 0.6025 GB, free: 15.77 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.501e-05/0.5398, allocations: 100.1 kB / 0.6026 GB, free: 15.67 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.131e-05/0.5398, allocations: 39.45 kB / 0.6026 GB, free: 15.63 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.871e-06/0.5398, allocations: 4 kB / 0.6026 GB, free: 15.63 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.54, allocations: 322.8 kB / 0.6029 GB, free: 15.3 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000128/0.5401, allocations: 47.97 kB / 0.603 GB, free: 15.26 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001157/0.5402, allocations: 51.97 kB / 0.603 GB, free: 15.21 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001311/0.5404, allocations: 56.3 kB / 0.6031 GB, free: 15.15 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.5404, allocations: 0 / 0.6031 GB, free: 15.15 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003287/0.5407, allocations: 161.4 kB / 0.6032 GB, free: 14.99 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.5408, allocations: 4 kB / 0.6032 GB, free: 14.98 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.5408, allocations: 0.5625 kB / 0.6032 GB, free: 14.98 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.5408, allocations: 0 / 0.6032 GB, free: 14.98 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001216/0.5409, allocations: 39.91 kB / 0.6033 GB, free: 14.95 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.5409, allocations: 4 kB / 0.6033 GB, free: 14.94 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.842e-05/0.541, allocations: 19.84 kB / 0.6033 GB, free: 14.92 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.24e-05/0.541, allocations: 8 kB / 0.6033 GB, free: 14.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 (11): * Single equations (assignments): 11 * 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.0001143/0.5411, allocations: 121.8 kB / 0.6034 GB, free: 14.79 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.581e-05/0.5412, allocations: 11.91 kB / 0.6034 GB, free: 14.77 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000391/0.5416, allocations: 186.1 kB / 0.6036 GB, free: 14.59 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.5416, allocations: 0 / 0.6036 GB, free: 14.59 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.5416, allocations: 4 kB / 0.6036 GB, free: 14.58 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.5416, allocations: 4 kB / 0.6036 GB, free: 14.58 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006731/0.5423, allocations: 0.4921 MB / 0.6041 GB, free: 14.02 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/0.5423, allocations: 4 kB / 0.6041 GB, free: 14.02 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001006/0.5424, allocations: 31.92 kB / 0.6041 GB, free: 13.99 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.5424, allocations: 0 / 0.6041 GB, free: 13.99 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.5424, allocations: 3.953 kB / 0.6041 GB, free: 13.98 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.552e-06/0.5425, allocations: 8.062 kB / 0.6042 GB, free: 13.98 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.5425, allocations: 0 / 0.6042 GB, free: 13.98 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000362/0.5428, allocations: 292.4 kB / 0.6044 GB, free: 13.66 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.175e-05/0.5429, allocations: 100.9 kB / 0.6045 GB, free: 13.54 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.066e-05/0.543, allocations: 0 / 0.6045 GB, free: 13.54 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.86e-05/0.5431, allocations: 20 kB / 0.6045 GB, free: 13.52 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.065e-05/0.5431, allocations: 11.97 kB / 0.6046 GB, free: 13.51 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.767e-06/0.5431, allocations: 7.984 kB / 0.6046 GB, free: 13.5 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001139/0.5432, allocations: 141 kB / 0.6047 GB, free: 13.36 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5433, allocations: 0 / 0.6047 GB, free: 13.36 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002508/0.5435, allocations: 31.98 kB / 0.6047 GB, free: 13.33 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.0009923/0.5445, allocations: 465.5 kB / 0.6052 GB, free: 13.05 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003484/0.5449, allocations: 127.8 kB / 0.6053 GB, free: 12.93 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.5449, allocations: 0 / 0.6053 GB, free: 12.93 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001475/0.545, allocations: 71.97 kB / 0.6054 GB, free: 12.86 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002546/0.5453, allocations: 22.91 kB / 0.6054 GB, free: 12.84 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005618/0.5459, allocations: 298.5 kB / 0.6057 GB, free: 12.52 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003407/0.5462, allocations: 0.7121 MB / 0.6064 GB, free: 11.78 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.731e-05/0.5463, allocations: 24.53 kB / 0.6064 GB, free: 11.75 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.653e-05/0.5464, allocations: 15.44 kB / 0.6064 GB, free: 11.73 MB / 426.7 MB Notification: Performance of SimCode: time 5.61e-07/0.5464, allocations: 0 / 0.6064 GB, free: 11.73 MB / 426.7 MB Notification: Performance of Templates: time 0.004053/0.5504, allocations: 1.516 MB / 0.6079 GB, free: 10.23 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test28/Test28.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches