Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.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.Test2,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.Test2") translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,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.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001227/0.001226, allocations: 180.7 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.236/1.236, allocations: 221.3 MB / 236 MB, free: 2.977 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.0008542/0.0008541, allocations: 101.2 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.2003/0.2003, allocations: 44.15 MB / 382 MB, free: 14.7 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.677e-05/3.68e-05, allocations: 4.219 kB / 451.8 MB, free: 9.438 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1231, allocations: 61.92 MB / 0.5017 GB, free: 11.46 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3718/0.495, allocations: 89.17 MB / 0.5888 GB, free: 172 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002469/0.4953, allocations: 71.97 kB / 0.5889 GB, free: 100 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01441/0.5097, allocations: 5.372 MB / 0.5941 GB, free: 10.73 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.5098, allocations: 0 / 0.5941 GB, free: 10.73 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.678e-06/0.5098, allocations: 0 / 0.5941 GB, free: 10.73 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.0004089/0.5102, allocations: 392.5 kB / 0.5945 GB, free: 10.31 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/0.5103, allocations: 16.03 kB / 0.5945 GB, free: 10.29 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.081e-05/0.5103, allocations: 11.91 kB / 0.5945 GB, free: 10.28 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002873/0.5106, allocations: 210.4 kB / 0.5947 GB, free: 10.04 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.582e-05/0.5107, allocations: 7.953 kB / 0.5947 GB, free: 10.03 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.98e-05/0.5107, allocations: 0 / 0.5947 GB, free: 10.03 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001141/0.5108, allocations: 49.69 kB / 0.5948 GB, free: 9.973 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.5108, allocations: 0 / 0.5948 GB, free: 9.973 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.5108, allocations: 4 kB / 0.5948 GB, free: 9.969 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.5108, allocations: 0 / 0.5948 GB, free: 9.969 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.046e-05/0.5109, allocations: 27.92 kB / 0.5948 GB, free: 9.941 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003897/0.5113, allocations: 300.7 kB / 0.5951 GB, free: 9.598 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001106/0.5114, allocations: 50.69 kB / 0.5951 GB, free: 9.539 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.839e-05/0.5115, allocations: 16.98 kB / 0.5951 GB, free: 9.52 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.792e-05/0.5115, allocations: 7.984 kB / 0.5952 GB, free: 9.512 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001327/0.5116, allocations: 63.41 kB / 0.5952 GB, free: 9.438 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.5117, allocations: 3.938 kB / 0.5952 GB, free: 9.434 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004476/0.5121, allocations: 157.3 kB / 0.5954 GB, free: 9.273 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.286e-05/0.5122, allocations: 51.41 kB / 0.5954 GB, free: 9.211 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001388/0.5123, allocations: 146.1 kB / 0.5956 GB, free: 9.055 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/0.5123, allocations: 29.7 kB / 0.5956 GB, free: 9.02 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.88e-05/0.5124, allocations: 96.14 kB / 0.5957 GB, free: 8.922 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.705e-05/0.5124, allocations: 31.58 kB / 0.5957 GB, free: 8.891 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.087e-06/0.5124, allocations: 4 kB / 0.5957 GB, free: 8.887 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001049/0.5125, allocations: 322.8 kB / 0.596 GB, free: 8.562 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.896e-05/0.5126, allocations: 20 kB / 0.596 GB, free: 8.543 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.447e-05/0.5126, allocations: 33.72 kB / 0.5961 GB, free: 8.504 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.402e-05/0.5127, allocations: 23.98 kB / 0.5961 GB, free: 8.48 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.5127, allocations: 0 / 0.5961 GB, free: 8.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001443/0.5128, allocations: 97.52 kB / 0.5962 GB, free: 8.379 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.5129, allocations: 13.44 kB / 0.5962 GB, free: 8.367 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.5129, allocations: 0 / 0.5962 GB, free: 8.367 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/0.5129, allocations: 0 / 0.5962 GB, free: 8.367 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.815e-05/0.513, allocations: 15.98 kB / 0.5962 GB, free: 8.352 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.293e-06/0.513, allocations: 4 kB / 0.5962 GB, free: 8.348 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.035e-05/0.5131, allocations: 3.906 kB / 0.5962 GB, free: 8.344 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.5131, allocations: 4 kB / 0.5962 GB, free: 8.34 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 7.592e-05/0.5131, allocations: 122.4 kB / 0.5963 GB, free: 8.215 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.7e-05/0.5132, allocations: 11.91 kB / 0.5964 GB, free: 8.203 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002005/0.5134, allocations: 118.2 kB / 0.5965 GB, free: 8.086 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.5134, allocations: 7.984 kB / 0.5965 GB, free: 8.078 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.5134, allocations: 0 / 0.5965 GB, free: 8.078 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.5134, allocations: 0 / 0.5965 GB, free: 8.078 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003771/0.5138, allocations: 395.5 kB / 0.5968 GB, free: 7.633 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.5138, allocations: 4 kB / 0.5969 GB, free: 7.629 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.144e-05/0.5139, allocations: 15.98 kB / 0.5969 GB, free: 7.613 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.5139, allocations: 7.969 kB / 0.5969 GB, free: 7.605 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.919e-06/0.5139, allocations: 4 kB / 0.5969 GB, free: 7.602 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.5139, allocations: 0 / 0.5969 GB, free: 7.602 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.5139, allocations: 0 / 0.5969 GB, free: 7.602 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001946/0.5141, allocations: 226 kB / 0.5971 GB, free: 7.355 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.768e-05/0.5142, allocations: 89 kB / 0.5972 GB, free: 7.25 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.029e-05/0.5142, allocations: 4 kB / 0.5972 GB, free: 7.246 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.998e-05/0.5143, allocations: 8 kB / 0.5972 GB, free: 7.238 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.828e-05/0.5143, allocations: 11.94 kB / 0.5972 GB, free: 7.227 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.137e-05/0.5143, allocations: 4 kB / 0.5972 GB, free: 7.223 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.828e-05/0.5144, allocations: 127.2 kB / 0.5973 GB, free: 7.102 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5144, allocations: 0 / 0.5973 GB, free: 7.102 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002376/0.5147, allocations: 24 kB / 0.5974 GB, free: 7.078 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.00092/0.5156, allocations: 429.4 kB / 0.5978 GB, free: 6.766 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000134/0.5157, allocations: 55.94 kB / 0.5978 GB, free: 6.711 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.5158, allocations: 0 / 0.5978 GB, free: 6.711 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.631e-05/0.5158, allocations: 28 kB / 0.5978 GB, free: 6.684 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002379/0.5161, allocations: 33.75 kB / 0.5979 GB, free: 6.652 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003263/0.5164, allocations: 151.2 kB / 0.598 GB, free: 6.477 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002386/0.5166, allocations: 0.7004 MB / 0.5987 GB, free: 5.75 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.058e-05/0.5167, allocations: 16.55 kB / 0.5987 GB, free: 5.734 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.558e-05/0.5167, allocations: 19.44 kB / 0.5987 GB, free: 5.715 MB / 410.7 MB Notification: Performance of SimCode: time 2.5e-07/0.5168, allocations: 0 / 0.5987 GB, free: 5.715 MB / 410.7 MB Notification: Performance of Templates: time 0.003852/0.5206, allocations: 1.644 MB / 0.6003 GB, free: 4.082 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches