Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001008/0.001008, allocations: 180.3 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.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.0009212/0.0009211, allocations: 91.98 kB / 287 MB, free: 248 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.1849/0.1849, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.119e-05/3.121e-05, allocations: 8 kB / 451.8 MB, free: 9.422 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1157, allocations: 61.91 MB / 0.5017 GB, free: 11.45 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3822/0.498, allocations: 90.12 MB / 0.5897 GB, free: 15.2 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002409/0.4983, allocations: 72.59 kB / 0.5898 GB, free: 15.13 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01158/0.5098, allocations: 4.39 MB / 0.5941 GB, free: 10.75 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.5099, allocations: 0 / 0.5941 GB, free: 10.75 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.099e-05/0.5099, allocations: 0 / 0.5941 GB, free: 10.75 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.0004801/0.5104, allocations: 459.8 kB / 0.5945 GB, free: 10.25 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.5104, allocations: 8.031 kB / 0.5945 GB, free: 10.25 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.101e-05/0.5105, allocations: 15.91 kB / 0.5945 GB, free: 10.23 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000313/0.5108, allocations: 231.1 kB / 0.5948 GB, free: 9.965 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.115e-05/0.5109, allocations: 7.953 kB / 0.5948 GB, free: 9.957 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.598e-05/0.5109, allocations: 8 kB / 0.5948 GB, free: 9.949 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001723/0.5111, allocations: 101.1 kB / 0.5949 GB, free: 9.836 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.5111, allocations: 0 / 0.5949 GB, free: 9.836 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.918e-05/0.5111, allocations: 4 kB / 0.5949 GB, free: 9.832 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/0.5111, allocations: 4 kB / 0.5949 GB, free: 9.828 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.241e-05/0.5112, allocations: 47.92 kB / 0.5949 GB, free: 9.781 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000584/0.5118, allocations: 0.5126 MB / 0.5954 GB, free: 9.211 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002606/0.5121, allocations: 78.69 kB / 0.5955 GB, free: 9.125 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.057e-05/0.5122, allocations: 32.84 kB / 0.5955 GB, free: 9.09 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.504e-05/0.5122, allocations: 4 kB / 0.5955 GB, free: 9.086 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001558/0.5123, allocations: 83.27 kB / 0.5956 GB, free: 8.992 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.463e-06/0.5124, allocations: 4 kB / 0.5956 GB, free: 8.988 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002512/0.5126, allocations: 105.4 kB / 0.5957 GB, free: 8.879 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.952e-05/0.5127, allocations: 51.41 kB / 0.5958 GB, free: 8.816 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000192/0.5129, allocations: 174.6 kB / 0.5959 GB, free: 8.629 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.142e-05/0.5129, allocations: 29.7 kB / 0.596 GB, free: 8.594 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.925e-05/0.513, allocations: 112 kB / 0.5961 GB, free: 8.48 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.227e-05/0.513, allocations: 39.69 kB / 0.5961 GB, free: 8.441 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.823e-06/0.513, allocations: 4 kB / 0.5961 GB, free: 8.438 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.5132, allocations: 322.8 kB / 0.5964 GB, free: 8.113 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.748e-05/0.5132, allocations: 23.98 kB / 0.5964 GB, free: 8.09 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.081e-05/0.5133, allocations: 56.3 kB / 0.5965 GB, free: 8.02 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.249e-05/0.5133, allocations: 39.95 kB / 0.5965 GB, free: 7.98 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.5133, allocations: 0 / 0.5965 GB, free: 7.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001858/0.5135, allocations: 125.4 kB / 0.5967 GB, free: 7.852 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.5136, allocations: 4 kB / 0.5967 GB, free: 7.848 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.5136, allocations: 7.984 kB / 0.5967 GB, free: 7.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.5136, allocations: 128 / 0.5967 GB, free: 7.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001035/0.5137, allocations: 27.98 kB / 0.5967 GB, free: 7.812 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.5137, allocations: 0 / 0.5967 GB, free: 7.812 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.124e-05/0.5138, allocations: 19.92 kB / 0.5967 GB, free: 7.793 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.297e-05/0.5138, allocations: 7.953 kB / 0.5967 GB, free: 7.785 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 7.664e-05/0.5139, allocations: 114.2 kB / 0.5968 GB, free: 7.668 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.399e-05/0.514, allocations: 15.81 kB / 0.5968 GB, free: 7.652 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00021/0.5142, allocations: 115.1 kB / 0.597 GB, free: 7.531 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.5142, allocations: 8 kB / 0.597 GB, free: 7.523 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.5142, allocations: 0 / 0.597 GB, free: 7.523 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.5142, allocations: 0 / 0.597 GB, free: 7.523 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001607/0.5144, allocations: 213.5 kB / 0.5972 GB, free: 7.266 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-06/0.5144, allocations: 0 / 0.5972 GB, free: 7.266 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.268e-05/0.5145, allocations: 12 kB / 0.5972 GB, free: 7.254 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.608e-06/0.5145, allocations: 4 kB / 0.5972 GB, free: 7.25 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.275e-05/0.5145, allocations: 3.984 kB / 0.5972 GB, free: 7.246 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.5145, allocations: 0 / 0.5972 GB, free: 7.246 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.5145, allocations: 0 / 0.5972 GB, free: 7.246 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002548/0.5148, allocations: 185.8 kB / 0.5974 GB, free: 7.047 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.316e-05/0.5148, allocations: 96.97 kB / 0.5975 GB, free: 6.934 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.334e-05/0.5149, allocations: 3.938 kB / 0.5975 GB, free: 6.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.439e-05/0.515, allocations: 19.98 kB / 0.5975 GB, free: 6.91 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.848e-05/0.515, allocations: 7.938 kB / 0.5975 GB, free: 6.902 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.042e-05/0.515, allocations: 3.984 kB / 0.5975 GB, free: 6.898 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001195/0.5151, allocations: 149.2 kB / 0.5976 GB, free: 6.754 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5152, allocations: 0 / 0.5976 GB, free: 6.754 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002154/0.5154, allocations: 32.11 kB / 0.5977 GB, free: 6.723 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.0008271/0.5162, allocations: 373.4 kB / 0.598 GB, free: 6.457 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001494/0.5164, allocations: 75.81 kB / 0.5981 GB, free: 6.383 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.5164, allocations: 0 / 0.5981 GB, free: 6.383 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.344e-05/0.5164, allocations: 35.98 kB / 0.5981 GB, free: 6.348 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002466/0.5167, allocations: 34.42 kB / 0.5982 GB, free: 6.312 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003941/0.5171, allocations: 196 kB / 0.5983 GB, free: 6.102 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002889/0.5174, allocations: 0.7165 MB / 0.599 GB, free: 5.359 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.409e-05/0.5175, allocations: 25.17 kB / 0.5991 GB, free: 5.332 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.092e-05/0.5175, allocations: 19.44 kB / 0.5991 GB, free: 5.312 MB / 410.7 MB Notification: Performance of SimCode: time 2.31e-07/0.5175, allocations: 0 / 0.5991 GB, free: 5.312 MB / 410.7 MB Notification: Performance of Templates: time 0.004225/0.5218, allocations: 1.785 MB / 0.6008 GB, free: 3.539 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches