Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.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.Test24,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.Test24") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test24,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.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001578/0.001578, allocations: 174.4 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.426/1.426, allocations: 221.5 MB / 230.7 MB, free: 7.531 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008181/0.0008183, allocations: 89.84 kB / 281.6 MB, free: 5.266 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.1977/0.1977, allocations: 44.14 MB / 376.5 MB, free: 3.043 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.661e-05/1.662e-05, allocations: 224 / 444.6 MB, free: 15.24 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1201, allocations: 61.91 MB / 0.4947 GB, free: 1.262 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4657/0.5858, allocations: 87.61 MB / 0.5802 GB, free: 8.926 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002355/0.5861, allocations: 67.95 kB / 0.5803 GB, free: 8.859 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01055/0.5967, allocations: 4.173 MB / 0.5844 GB, free: 4.699 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.5967, allocations: 0 / 0.5844 GB, free: 4.699 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.118e-05/0.5968, allocations: 0 / 0.5844 GB, free: 4.699 MB / 394.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.0003651/0.5971, allocations: 364 kB / 0.5847 GB, free: 4.305 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.5972, allocations: 15.98 kB / 0.5847 GB, free: 4.289 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.06e-05/0.5972, allocations: 11.89 kB / 0.5847 GB, free: 4.277 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002335/0.5975, allocations: 186.9 kB / 0.5849 GB, free: 4.055 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.5975, allocations: 0 / 0.5849 GB, free: 4.055 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.223e-05/0.5975, allocations: 0 / 0.5849 GB, free: 4.055 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.508e-05/0.5976, allocations: 19.94 kB / 0.5849 GB, free: 4.035 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001073/0.5977, allocations: 63.97 kB / 0.585 GB, free: 3.961 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.5977, allocations: 0 / 0.585 GB, free: 3.961 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.5978, allocations: 0 / 0.585 GB, free: 3.961 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.5978, allocations: 0 / 0.585 GB, free: 3.961 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003579/0.5981, allocations: 261.4 kB / 0.5852 GB, free: 3.668 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000173/0.5983, allocations: 42.45 kB / 0.5853 GB, free: 3.617 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.739e-05/0.5984, allocations: 16.8 kB / 0.5853 GB, free: 3.598 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.343e-05/0.5984, allocations: 4 kB / 0.5853 GB, free: 3.594 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.087e-05/0.5984, allocations: 34.56 kB / 0.5853 GB, free: 3.551 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.403e-06/0.5984, allocations: 0 / 0.5853 GB, free: 3.551 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003894/0.5988, allocations: 105.4 kB / 0.5854 GB, free: 3.441 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.446e-05/0.5989, allocations: 81.11 kB / 0.5855 GB, free: 3.344 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001096/0.599, allocations: 117 kB / 0.5856 GB, free: 3.223 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.454e-05/0.599, allocations: 25.7 kB / 0.5857 GB, free: 3.191 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.162e-05/0.5991, allocations: 96.14 kB / 0.5857 GB, free: 3.094 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.215e-05/0.5991, allocations: 15.73 kB / 0.5858 GB, free: 3.078 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.218e-06/0.5991, allocations: 0 / 0.5858 GB, free: 3.078 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.934e-05/0.5992, allocations: 318.8 kB / 0.5861 GB, free: 2.758 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.546e-05/0.5993, allocations: 11.98 kB / 0.5861 GB, free: 2.746 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.663e-05/0.5993, allocations: 21.72 kB / 0.5861 GB, free: 2.719 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.884e-05/0.5993, allocations: 12 kB / 0.5861 GB, free: 2.707 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.5993, allocations: 0 / 0.5861 GB, free: 2.707 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000104/0.5994, allocations: 85.5 kB / 0.5862 GB, free: 2.617 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.5995, allocations: 4 kB / 0.5862 GB, free: 2.613 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.5995, allocations: 0 / 0.5862 GB, free: 2.613 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.5995, allocations: 0 / 0.5862 GB, free: 2.613 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.07e-05/0.5996, allocations: 12 kB / 0.5862 GB, free: 2.602 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.5996, allocations: 0 / 0.5862 GB, free: 2.602 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.887e-05/0.5996, allocations: 7.984 kB / 0.5862 GB, free: 2.594 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.161e-06/0.5997, allocations: 4 kB / 0.5862 GB, free: 2.59 MB / 394.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 () * 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.765e-05/0.5997, allocations: 105 kB / 0.5863 GB, free: 2.48 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.929e-05/0.5998, allocations: 11.86 kB / 0.5863 GB, free: 2.469 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001504/0.5999, allocations: 78.16 kB / 0.5864 GB, free: 2.383 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.5999, allocations: 3.984 kB / 0.5864 GB, free: 2.379 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.6, allocations: 0 / 0.5864 GB, free: 2.379 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.706e-06/0.6, allocations: 0 / 0.5864 GB, free: 2.379 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003021/0.6003, allocations: 319.4 kB / 0.5867 GB, free: 2.023 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.6003, allocations: 0 / 0.5867 GB, free: 2.023 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.724e-05/0.6003, allocations: 12 kB / 0.5867 GB, free: 2.012 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.6004, allocations: 4 kB / 0.5867 GB, free: 2.008 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.268e-06/0.6004, allocations: 3.938 kB / 0.5867 GB, free: 2.004 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.6004, allocations: 3.938 kB / 0.5867 GB, free: 2 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.6004, allocations: 0 / 0.5867 GB, free: 2 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001339/0.6005, allocations: 163.4 kB / 0.5869 GB, free: 1.824 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.572e-05/0.6006, allocations: 84.97 kB / 0.587 GB, free: 1.723 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.898e-05/0.6006, allocations: 4 kB / 0.587 GB, free: 1.719 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.097e-05/0.6007, allocations: 11.98 kB / 0.587 GB, free: 1.707 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.711e-05/0.6007, allocations: 4 kB / 0.587 GB, free: 1.703 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.192e-06/0.6007, allocations: 7.938 kB / 0.587 GB, free: 1.695 MB / 394.7 MB Notification: Performance of sorting global known variables: time 5.757e-05/0.6008, allocations: 101.5 kB / 0.5871 GB, free: 1.598 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.6008, allocations: 0 / 0.5871 GB, free: 1.598 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000244/0.6011, allocations: 24 kB / 0.5871 GB, free: 1.574 MB / 394.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 () * 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.0008225/0.6019, allocations: 388.7 kB / 0.5875 GB, free: 1.262 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001049/0.602, allocations: 31.98 kB / 0.5875 GB, free: 1.23 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.602, allocations: 4 kB / 0.5875 GB, free: 1.227 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.071e-05/0.602, allocations: 16 kB / 0.5875 GB, free: 1.211 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002061/0.6023, allocations: 11.98 kB / 0.5875 GB, free: 1.199 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002613/0.6025, allocations: 99.92 kB / 0.5876 GB, free: 1.074 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002427/0.6028, allocations: 0.6963 MB / 0.5883 GB, free: 360 kB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.236e-05/0.6029, allocations: 16.17 kB / 0.5883 GB, free: 344 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.675e-05/0.6029, allocations: 15.44 kB / 0.5884 GB, free: 328 kB / 394.7 MB Notification: Performance of SimCode: time 2.81e-07/0.6029, allocations: 3.938 kB / 0.5884 GB, free: 324 kB / 394.7 MB Notification: Performance of Templates: time 0.003412/0.6063, allocations: 1.253 MB / 0.5896 GB, free: 15.06 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test24/Test24.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches