Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001082/0.001082, allocations: 180.2 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.251/1.251, allocations: 221.3 MB / 236 MB, free: 2.949 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.0008342/0.0008342, allocations: 98.64 kB / 287 MB, free: 232 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.1872/0.1872, allocations: 44.15 MB / 382 MB, free: 14.66 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.576e-05/4.578e-05, allocations: 4.219 kB / 451.8 MB, free: 9.395 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1126, allocations: 61.91 MB / 0.5017 GB, free: 11.43 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3844/0.497, allocations: 90.13 MB / 0.5897 GB, free: 15.16 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002004/0.4972, allocations: 71.97 kB / 0.5898 GB, free: 15.09 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01136/0.5086, allocations: 4.386 MB / 0.5941 GB, free: 10.72 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.5087, allocations: 4 kB / 0.5941 GB, free: 10.72 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.377e-05/0.5087, allocations: 0 / 0.5941 GB, free: 10.72 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005439/0.5092, allocations: 459.8 kB / 0.5945 GB, free: 10.22 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/0.5093, allocations: 15.97 kB / 0.5945 GB, free: 10.2 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.422e-05/0.5093, allocations: 11.91 kB / 0.5946 GB, free: 10.19 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003368/0.5097, allocations: 219.2 kB / 0.5948 GB, free: 9.938 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.579e-05/0.5097, allocations: 15.94 kB / 0.5948 GB, free: 9.922 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.598e-05/0.5098, allocations: 4 kB / 0.5948 GB, free: 9.918 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001804/0.51, allocations: 108.2 kB / 0.5949 GB, free: 9.797 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.51, allocations: 0 / 0.5949 GB, free: 9.797 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/0.51, allocations: 0 / 0.5949 GB, free: 9.797 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.51, allocations: 0 / 0.5949 GB, free: 9.797 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.099e-05/0.5101, allocations: 47.92 kB / 0.5949 GB, free: 9.75 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005973/0.5107, allocations: 0.5204 MB / 0.5954 GB, free: 9.172 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002566/0.511, allocations: 78.69 kB / 0.5955 GB, free: 9.086 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.002e-05/0.511, allocations: 32.84 kB / 0.5955 GB, free: 9.051 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.202e-05/0.5111, allocations: 4.219 kB / 0.5955 GB, free: 9.047 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001528/0.5112, allocations: 79.33 kB / 0.5956 GB, free: 8.957 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.442e-06/0.5112, allocations: 3.938 kB / 0.5956 GB, free: 8.953 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002468/0.5115, allocations: 109.4 kB / 0.5957 GB, free: 8.84 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.161e-05/0.5115, allocations: 51.41 kB / 0.5958 GB, free: 8.777 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001809/0.5117, allocations: 170.6 kB / 0.5959 GB, free: 8.594 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.294e-05/0.5118, allocations: 37.69 kB / 0.596 GB, free: 8.551 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.979e-05/0.5118, allocations: 112 kB / 0.5961 GB, free: 8.438 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.296e-05/0.5119, allocations: 27.56 kB / 0.5961 GB, free: 8.41 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.123e-06/0.5119, allocations: 4 kB / 0.5961 GB, free: 8.406 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001181/0.512, allocations: 326.8 kB / 0.5964 GB, free: 8.078 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.846e-05/0.5121, allocations: 24 kB / 0.5965 GB, free: 8.055 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.81e-05/0.5121, allocations: 56.3 kB / 0.5965 GB, free: 7.984 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.016e-05/0.5122, allocations: 39.95 kB / 0.5965 GB, free: 7.945 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.5122, allocations: 0 / 0.5965 GB, free: 7.945 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001944/0.5124, allocations: 125.4 kB / 0.5967 GB, free: 7.816 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.5124, allocations: 4 kB / 0.5967 GB, free: 7.812 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.5124, allocations: 0 / 0.5967 GB, free: 7.812 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.5125, allocations: 4.125 kB / 0.5967 GB, free: 7.809 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001032/0.5126, allocations: 27.98 kB / 0.5967 GB, free: 7.781 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.5126, allocations: 0 / 0.5967 GB, free: 7.781 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.335e-05/0.5127, allocations: 19.92 kB / 0.5967 GB, free: 7.762 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.288e-05/0.5127, allocations: 11.89 kB / 0.5967 GB, free: 7.75 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.243e-05/0.5128, allocations: 110.2 kB / 0.5968 GB, free: 7.637 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.36e-05/0.5128, allocations: 11.81 kB / 0.5968 GB, free: 7.625 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002163/0.513, allocations: 119.1 kB / 0.597 GB, free: 7.5 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.513, allocations: 8 kB / 0.597 GB, free: 7.492 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.5131, allocations: 0 / 0.597 GB, free: 7.492 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.277e-05/0.5131, allocations: 3.984 kB / 0.597 GB, free: 7.488 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001934/0.5133, allocations: 213.7 kB / 0.5972 GB, free: 7.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.5133, allocations: 0 / 0.5972 GB, free: 7.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.058e-05/0.5134, allocations: 15.98 kB / 0.5972 GB, free: 7.215 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.5134, allocations: 0 / 0.5972 GB, free: 7.215 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.5134, allocations: 4 kB / 0.5972 GB, free: 7.211 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.5134, allocations: 0 / 0.5972 GB, free: 7.211 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.5134, allocations: 0 / 0.5972 GB, free: 7.211 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002788/0.5137, allocations: 189.8 kB / 0.5974 GB, free: 7.008 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.437e-05/0.5138, allocations: 96.89 kB / 0.5975 GB, free: 6.895 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.7e-05/0.5138, allocations: 7.938 kB / 0.5975 GB, free: 6.887 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.835e-05/0.5139, allocations: 11.98 kB / 0.5975 GB, free: 6.875 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.342e-05/0.5139, allocations: 7.984 kB / 0.5975 GB, free: 6.867 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.222e-05/0.5139, allocations: 4 kB / 0.5975 GB, free: 6.863 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001267/0.5141, allocations: 145.2 kB / 0.5976 GB, free: 6.723 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5141, allocations: 0 / 0.5976 GB, free: 6.723 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002246/0.5143, allocations: 36.11 kB / 0.5977 GB, free: 6.688 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.0009066/0.5152, allocations: 378.4 kB / 0.598 GB, free: 6.418 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001687/0.5154, allocations: 79.8 kB / 0.5981 GB, free: 6.34 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.5154, allocations: 0 / 0.5981 GB, free: 6.34 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.316e-05/0.5155, allocations: 28 kB / 0.5981 GB, free: 6.312 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002752/0.5158, allocations: 40.36 kB / 0.5982 GB, free: 6.27 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004413/0.5162, allocations: 192 kB / 0.5984 GB, free: 6.062 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003093/0.5165, allocations: 0.7165 MB / 0.5991 GB, free: 5.32 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.076e-05/0.5166, allocations: 21.19 kB / 0.5991 GB, free: 5.297 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.357e-05/0.5167, allocations: 19.44 kB / 0.5991 GB, free: 5.277 MB / 410.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5167, allocations: 0 / 0.5991 GB, free: 5.277 MB / 410.7 MB Notification: Performance of Templates: time 0.004464/0.5211, allocations: 1.781 MB / 0.6008 GB, free: 3.508 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches