Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.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.Test21,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.Test21") translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,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.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001042/0.001042, allocations: 179.5 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.328/1.328, allocations: 221.3 MB / 236 MB, free: 2.961 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.0009637/0.0009639, allocations: 95.78 kB / 287 MB, free: 252 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.1673/0.1673, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.453e-05/2.457e-05, allocations: 4.219 kB / 451.8 MB, free: 9.434 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1156, allocations: 61.91 MB / 0.5017 GB, free: 11.46 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3793/0.495, allocations: 89.22 MB / 0.5888 GB, free: 88 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002174/0.4952, allocations: 72.52 kB / 0.5889 GB, free: 16 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0149/0.5101, allocations: 5.564 MB / 0.5943 GB, free: 10.46 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.5102, allocations: 3.938 kB / 0.5943 GB, free: 10.46 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.202e-05/0.5102, allocations: 0 / 0.5943 GB, free: 10.46 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.0004396/0.5107, allocations: 398.3 kB / 0.5947 GB, free: 10.03 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.5107, allocations: 8.031 kB / 0.5947 GB, free: 10.02 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.315e-05/0.5108, allocations: 7.906 kB / 0.5947 GB, free: 10.01 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002954/0.5111, allocations: 214.8 kB / 0.5949 GB, free: 9.762 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.896e-05/0.5111, allocations: 11.95 kB / 0.595 GB, free: 9.75 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.8e-05/0.5111, allocations: 0 / 0.595 GB, free: 9.75 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001127/0.5112, allocations: 53.69 kB / 0.595 GB, free: 9.691 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.5113, allocations: 0 / 0.595 GB, free: 9.691 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/0.5113, allocations: 4 kB / 0.595 GB, free: 9.688 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.5113, allocations: 3.938 kB / 0.595 GB, free: 9.684 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.291e-05/0.5114, allocations: 23.92 kB / 0.595 GB, free: 9.66 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003853/0.5118, allocations: 288.9 kB / 0.5953 GB, free: 9.328 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001131/0.5119, allocations: 54.7 kB / 0.5954 GB, free: 9.266 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.945e-05/0.5119, allocations: 24.91 kB / 0.5954 GB, free: 9.238 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.457e-05/0.512, allocations: 4 kB / 0.5954 GB, free: 9.234 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001305/0.5121, allocations: 63.39 kB / 0.5955 GB, free: 9.16 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.5121, allocations: 0 / 0.5955 GB, free: 9.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004289/0.5125, allocations: 161.1 kB / 0.5956 GB, free: 8.996 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.334e-05/0.5126, allocations: 51.41 kB / 0.5957 GB, free: 8.934 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001638/0.5128, allocations: 169.4 kB / 0.5958 GB, free: 8.762 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.744e-05/0.5128, allocations: 25.7 kB / 0.5958 GB, free: 8.73 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.894e-05/0.5128, allocations: 100.1 kB / 0.5959 GB, free: 8.629 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.176e-05/0.5129, allocations: 23.7 kB / 0.596 GB, free: 8.605 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.887e-06/0.5129, allocations: 0 / 0.596 GB, free: 8.605 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.513, allocations: 330.8 kB / 0.5963 GB, free: 8.273 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.603e-05/0.5131, allocations: 20 kB / 0.5963 GB, free: 8.254 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.264e-05/0.5131, allocations: 41.7 kB / 0.5963 GB, free: 8.207 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.42e-05/0.5132, allocations: 19.98 kB / 0.5964 GB, free: 8.188 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.5132, allocations: 3.938 kB / 0.5964 GB, free: 8.184 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001391/0.5134, allocations: 93.5 kB / 0.5964 GB, free: 8.086 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.5134, allocations: 9.094 kB / 0.5965 GB, free: 8.078 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.5134, allocations: 0 / 0.5965 GB, free: 8.078 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.5134, allocations: 0 / 0.5965 GB, free: 8.078 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.977e-05/0.5135, allocations: 24.14 kB / 0.5965 GB, free: 8.055 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.163e-05/0.5135, allocations: 4.188 kB / 0.5965 GB, free: 8.051 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.72e-05/0.5136, allocations: 11.94 kB / 0.5965 GB, free: 8.039 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-06/0.5136, allocations: 7.938 kB / 0.5965 GB, free: 8.031 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 8.089e-05/0.5137, allocations: 116.9 kB / 0.5966 GB, free: 7.91 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.957e-05/0.5137, allocations: 7.906 kB / 0.5966 GB, free: 7.902 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002044/0.5139, allocations: 114.2 kB / 0.5967 GB, free: 7.789 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.5139, allocations: 0 / 0.5967 GB, free: 7.789 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.5139, allocations: 4 kB / 0.5967 GB, free: 7.785 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.5139, allocations: 0 / 0.5967 GB, free: 7.785 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004094/0.5144, allocations: 411.2 kB / 0.5971 GB, free: 7.324 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.5144, allocations: 0 / 0.5971 GB, free: 7.324 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.32e-05/0.5144, allocations: 12 kB / 0.5971 GB, free: 7.312 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.5144, allocations: 7.922 kB / 0.5971 GB, free: 7.305 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.5145, allocations: 4 kB / 0.5971 GB, free: 7.301 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.5145, allocations: 4 kB / 0.5972 GB, free: 7.297 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.5145, allocations: 32 / 0.5972 GB, free: 7.297 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000196/0.5147, allocations: 225.9 kB / 0.5974 GB, free: 7.051 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.139e-05/0.5147, allocations: 85.02 kB / 0.5975 GB, free: 6.949 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.337e-05/0.5148, allocations: 4 kB / 0.5975 GB, free: 6.945 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.352e-05/0.5148, allocations: 7.984 kB / 0.5975 GB, free: 6.938 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.305e-05/0.5149, allocations: 11.89 kB / 0.5975 GB, free: 6.926 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.348e-06/0.5149, allocations: 8 kB / 0.5975 GB, free: 6.918 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001066/0.515, allocations: 144.9 kB / 0.5976 GB, free: 6.777 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.515, allocations: 0 / 0.5976 GB, free: 6.777 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000239/0.5153, allocations: 28 kB / 0.5976 GB, free: 6.75 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.0009497/0.5162, allocations: 443.4 kB / 0.5981 GB, free: 6.426 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001312/0.5164, allocations: 55.94 kB / 0.5981 GB, free: 6.371 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.5164, allocations: 0 / 0.5981 GB, free: 6.371 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.969e-05/0.5164, allocations: 31.94 kB / 0.5982 GB, free: 6.34 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002459/0.5167, allocations: 31.81 kB / 0.5982 GB, free: 6.309 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003436/0.517, allocations: 163 kB / 0.5983 GB, free: 6.117 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002696/0.5173, allocations: 0.7082 MB / 0.599 GB, free: 5.383 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.035e-05/0.5174, allocations: 16.41 kB / 0.599 GB, free: 5.367 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.199e-05/0.5174, allocations: 15.44 kB / 0.5991 GB, free: 5.352 MB / 410.7 MB Notification: Performance of SimCode: time 2.3e-07/0.5175, allocations: 0 / 0.5991 GB, free: 5.352 MB / 410.7 MB Notification: Performance of Templates: time 0.004255/0.5217, allocations: 1.694 MB / 0.6007 GB, free: 3.672 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test21/Test21.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches