Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.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.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40") translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009457/0.0009457, allocations: 180.8 kB / 14.15 MB, free: 1.176 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.248/1.248, allocations: 221.3 MB / 236 MB, free: 2.953 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.0008132/0.000813, allocations: 84.05 kB / 287 MB, free: 244 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1741/0.1741, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.19e-05/2.211e-05, allocations: 4.219 kB / 451.8 MB, free: 9.422 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1098, allocations: 61.91 MB / 0.5017 GB, free: 11.45 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3705/0.4804, allocations: 89.21 MB / 0.5888 GB, free: 92 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001756/0.4806, allocations: 71.97 kB / 0.5889 GB, free: 20 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0139/0.4945, allocations: 5.692 MB / 0.5945 GB, free: 10.34 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.4946, allocations: 3.938 kB / 0.5945 GB, free: 10.34 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.103e-05/0.4946, allocations: 4 kB / 0.5945 GB, free: 10.34 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003794/0.495, allocations: 402.3 kB / 0.5948 GB, free: 9.898 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.495, allocations: 8.031 kB / 0.5949 GB, free: 9.891 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.877e-05/0.495, allocations: 11.81 kB / 0.5949 GB, free: 9.879 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002645/0.4953, allocations: 223.4 kB / 0.5951 GB, free: 9.621 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.965e-05/0.4953, allocations: 7.953 kB / 0.5951 GB, free: 9.613 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.043e-05/0.4954, allocations: 7.938 kB / 0.5951 GB, free: 9.605 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000112/0.4955, allocations: 53.67 kB / 0.5951 GB, free: 9.547 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.4955, allocations: 3.938 kB / 0.5951 GB, free: 9.543 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.437e-06/0.4955, allocations: 0 / 0.5951 GB, free: 9.543 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-06/0.4955, allocations: 0 / 0.5951 GB, free: 9.543 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.911e-05/0.4956, allocations: 16 kB / 0.5952 GB, free: 9.527 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003507/0.4959, allocations: 304.8 kB / 0.5955 GB, free: 9.18 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000119/0.4961, allocations: 54.62 kB / 0.5955 GB, free: 9.117 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.313e-05/0.4961, allocations: 16.98 kB / 0.5955 GB, free: 9.098 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.188e-05/0.4961, allocations: 4 kB / 0.5955 GB, free: 9.094 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001078/0.4962, allocations: 67.39 kB / 0.5956 GB, free: 9.016 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.223e-06/0.4963, allocations: 0 / 0.5956 GB, free: 9.016 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003928/0.4967, allocations: 161.3 kB / 0.5957 GB, free: 8.852 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.476e-05/0.4967, allocations: 55.41 kB / 0.5958 GB, free: 8.785 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001765/0.4969, allocations: 198.4 kB / 0.596 GB, free: 8.582 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.465e-05/0.4969, allocations: 25.7 kB / 0.596 GB, free: 8.551 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.661e-05/0.497, allocations: 100.1 kB / 0.5961 GB, free: 8.449 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.715e-05/0.497, allocations: 27.64 kB / 0.5961 GB, free: 8.422 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.767e-06/0.497, allocations: 0 / 0.5961 GB, free: 8.422 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.969e-05/0.4971, allocations: 330.8 kB / 0.5964 GB, free: 8.09 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.756e-05/0.4972, allocations: 20 kB / 0.5965 GB, free: 8.07 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.679e-05/0.4972, allocations: 45.62 kB / 0.5965 GB, free: 8.02 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.116e-05/0.4973, allocations: 20 kB / 0.5965 GB, free: 8 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.4973, allocations: 0 / 0.5965 GB, free: 8 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001475/0.4974, allocations: 105.5 kB / 0.5966 GB, free: 7.891 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.4974, allocations: 4 kB / 0.5966 GB, free: 7.887 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.4974, allocations: 8.031 kB / 0.5966 GB, free: 7.879 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.927e-06/0.4975, allocations: 0 / 0.5966 GB, free: 7.879 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.237e-05/0.4975, allocations: 16 kB / 0.5967 GB, free: 7.863 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.4976, allocations: 192 / 0.5967 GB, free: 7.863 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.646e-05/0.4976, allocations: 7.984 kB / 0.5967 GB, free: 7.855 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-06/0.4976, allocations: 7.938 kB / 0.5967 GB, free: 7.848 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 5.902e-05/0.4977, allocations: 108.9 kB / 0.5968 GB, free: 7.734 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.009e-05/0.4977, allocations: 11.91 kB / 0.5968 GB, free: 7.723 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002052/0.4979, allocations: 123.1 kB / 0.5969 GB, free: 7.59 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.4979, allocations: 0 / 0.5969 GB, free: 7.59 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.498, allocations: 0 / 0.5969 GB, free: 7.59 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.498, allocations: 3.984 kB / 0.5969 GB, free: 7.586 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003978/0.4984, allocations: 427.1 kB / 0.5973 GB, free: 7.109 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.4984, allocations: 0 / 0.5973 GB, free: 7.109 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.994e-05/0.4984, allocations: 11.94 kB / 0.5973 GB, free: 7.098 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.4984, allocations: 4 kB / 0.5973 GB, free: 7.094 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.4984, allocations: 0 / 0.5973 GB, free: 7.094 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.4985, allocations: 4.031 kB / 0.5973 GB, free: 7.09 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.4985, allocations: 4 kB / 0.5973 GB, free: 7.086 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002149/0.4987, allocations: 217.9 kB / 0.5975 GB, free: 6.848 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.576e-05/0.4988, allocations: 92.91 kB / 0.5976 GB, free: 6.738 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.41e-05/0.4988, allocations: 8 kB / 0.5976 GB, free: 6.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.507e-05/0.4989, allocations: 11.98 kB / 0.5977 GB, free: 6.719 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.276e-05/0.4989, allocations: 3.953 kB / 0.5977 GB, free: 6.715 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.644e-06/0.4989, allocations: 4 kB / 0.5977 GB, free: 6.711 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001252/0.499, allocations: 156.2 kB / 0.5978 GB, free: 6.559 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4991, allocations: 0 / 0.5978 GB, free: 6.559 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002488/0.4993, allocations: 39.92 kB / 0.5979 GB, free: 6.52 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0008649/0.5002, allocations: 440.1 kB / 0.5983 GB, free: 6.207 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000119/0.5003, allocations: 63.92 kB / 0.5983 GB, free: 6.145 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.5003, allocations: 0 / 0.5983 GB, free: 6.145 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.085e-05/0.5004, allocations: 31.94 kB / 0.5984 GB, free: 6.113 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002178/0.5006, allocations: 19.98 kB / 0.5984 GB, free: 6.094 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003202/0.5009, allocations: 183 kB / 0.5986 GB, free: 5.891 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002443/0.5012, allocations: 0.716 MB / 0.5993 GB, free: 5.148 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.656e-05/0.5012, allocations: 8.562 kB / 0.5993 GB, free: 5.141 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.559e-05/0.5013, allocations: 23.42 kB / 0.5993 GB, free: 5.117 MB / 410.7 MB Notification: Performance of SimCode: time 2.3e-07/0.5013, allocations: 0 / 0.5993 GB, free: 5.117 MB / 410.7 MB Notification: Performance of Templates: time 0.0037/0.505, allocations: 1.74 MB / 0.601 GB, free: 3.391 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches