Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.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.Test45,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.Test45") translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,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.Test45") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001176/0.001176, allocations: 183 kB / 18.09 MB, free: 3.727 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.323/1.323, allocations: 223.3 MB / 242.1 MB, free: 11.7 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007462/0.0007462, allocations: 101.5 kB / 293.3 MB, free: 10.77 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3343/0.3343, allocations: 44.15 MB / 388.5 MB, free: 38.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003882/0.0003883, allocations: 12 kB / 461.1 MB, free: 1.293 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3768/0.3772, allocations: 61.89 MB / 0.5107 GB, free: 38.31 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.121/0.4983, allocations: 89.32 MB / 0.598 GB, free: 5.738 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000281/0.4986, allocations: 83.94 kB / 0.598 GB, free: 5.66 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01572/0.5143, allocations: 5.652 MB / 0.6036 GB, free: 4 kB / 410.7 MB Notification: Performance of FrontEnd: time 2.554e-06/0.5144, allocations: 0 / 0.6036 GB, free: 4 kB / 410.7 MB Notification: Performance of Transformations before backend: time 4.803e-05/0.5145, allocations: 12.02 kB / 0.6036 GB, free: 15.99 MB / 426.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.0006006/0.5151, allocations: 419.1 kB / 0.604 GB, free: 15.53 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.5152, allocations: 11.97 kB / 0.604 GB, free: 15.52 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.539e-05/0.5152, allocations: 8.844 kB / 0.604 GB, free: 15.51 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000318/0.5156, allocations: 225.6 kB / 0.6042 GB, free: 15.25 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.915e-05/0.5156, allocations: 4.375 kB / 0.6042 GB, free: 15.24 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.275e-05/0.5156, allocations: 4.359 kB / 0.6042 GB, free: 15.24 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001449/0.5158, allocations: 66.08 kB / 0.6043 GB, free: 15.17 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.5158, allocations: 4.188 kB / 0.6043 GB, free: 15.17 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.517e-05/0.5158, allocations: 3.938 kB / 0.6043 GB, free: 15.16 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.5158, allocations: 0 / 0.6043 GB, free: 15.16 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.246e-05/0.5159, allocations: 23.98 kB / 0.6043 GB, free: 15.14 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00045/0.5164, allocations: 288.9 kB / 0.6046 GB, free: 14.81 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001552/0.5165, allocations: 66.56 kB / 0.6046 GB, free: 14.73 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.675e-05/0.5166, allocations: 20.84 kB / 0.6047 GB, free: 14.71 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.267e-05/0.5166, allocations: 0 / 0.6047 GB, free: 14.71 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001524/0.5168, allocations: 67.39 kB / 0.6047 GB, free: 14.63 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.402e-06/0.5168, allocations: 0 / 0.6047 GB, free: 14.63 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005541/0.5174, allocations: 185 kB / 0.6049 GB, free: 14.45 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.196e-05/0.5174, allocations: 59.39 kB / 0.605 GB, free: 14.38 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002057/0.5176, allocations: 199.3 kB / 0.6052 GB, free: 14.16 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.602e-05/0.5177, allocations: 25.7 kB / 0.6052 GB, free: 14.13 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.359e-05/0.5177, allocations: 108.1 kB / 0.6053 GB, free: 14.02 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.27e-05/0.5178, allocations: 23.66 kB / 0.6053 GB, free: 14 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.027e-06/0.5178, allocations: 0 / 0.6053 GB, free: 14 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001301/0.5179, allocations: 327 kB / 0.6056 GB, free: 13.67 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.554e-05/0.518, allocations: 19.98 kB / 0.6056 GB, free: 13.65 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.536e-05/0.518, allocations: 49.62 kB / 0.6057 GB, free: 13.6 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001133/0.5182, allocations: 57.7 kB / 0.6057 GB, free: 13.54 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.5182, allocations: 4 kB / 0.6057 GB, free: 13.53 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002179/0.5184, allocations: 97.52 kB / 0.6058 GB, free: 13.43 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.5184, allocations: 5.562 kB / 0.6058 GB, free: 13.43 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.5184, allocations: 4 kB / 0.6058 GB, free: 13.42 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/0.5185, allocations: 0 / 0.6058 GB, free: 13.42 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.234e-05/0.5185, allocations: 16.03 kB / 0.6059 GB, free: 13.41 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.5186, allocations: 3.984 kB / 0.6059 GB, free: 13.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.563e-05/0.5186, allocations: 8 kB / 0.6059 GB, free: 13.39 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.406e-06/0.5186, allocations: 4 kB / 0.6059 GB, free: 13.39 MB / 426.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 () * Number of clocked 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 9.937e-05/0.5187, allocations: 126.5 kB / 0.606 GB, free: 13.26 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.61e-05/0.5188, allocations: 23.8 kB / 0.606 GB, free: 13.23 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002454/0.519, allocations: 126.9 kB / 0.6061 GB, free: 13.11 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.519, allocations: 0 / 0.6061 GB, free: 13.11 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.519, allocations: 4 kB / 0.6061 GB, free: 13.1 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.5191, allocations: 0 / 0.6061 GB, free: 13.1 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004624/0.5195, allocations: 415.2 kB / 0.6065 GB, free: 12.64 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.5195, allocations: 3.984 kB / 0.6065 GB, free: 12.63 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.735e-05/0.5196, allocations: 8.375 kB / 0.6066 GB, free: 12.62 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.628e-06/0.5196, allocations: 4 kB / 0.6066 GB, free: 12.62 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.836e-06/0.5196, allocations: 0 / 0.6066 GB, free: 12.62 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.5196, allocations: 4 kB / 0.6066 GB, free: 12.62 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.5196, allocations: 7.969 kB / 0.6066 GB, free: 12.61 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002442/0.5199, allocations: 220.1 kB / 0.6068 GB, free: 12.38 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.975e-05/0.52, allocations: 93.02 kB / 0.6069 GB, free: 12.27 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.279e-05/0.52, allocations: 0 / 0.6069 GB, free: 12.27 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.057e-05/0.5201, allocations: 7.984 kB / 0.6069 GB, free: 12.26 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.669e-05/0.5201, allocations: 15.94 kB / 0.6069 GB, free: 12.24 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.028e-05/0.5201, allocations: 4 kB / 0.6069 GB, free: 12.24 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001242/0.5203, allocations: 152.9 kB / 0.607 GB, free: 12.09 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5203, allocations: 0 / 0.607 GB, free: 12.09 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002736/0.5205, allocations: 31.94 kB / 0.6071 GB, free: 12.06 MB / 426.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) * Number of clocked states: 0 () * 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.001015/0.5216, allocations: 486.4 kB / 0.6075 GB, free: 11.76 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001869/0.5218, allocations: 59.91 kB / 0.6076 GB, free: 11.7 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.5218, allocations: 0 / 0.6076 GB, free: 11.7 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.341e-05/0.5219, allocations: 31.98 kB / 0.6076 GB, free: 11.67 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003434/0.5222, allocations: 30.8 kB / 0.6076 GB, free: 11.64 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000521/0.5227, allocations: 262.1 kB / 0.6079 GB, free: 11.36 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003129/0.5231, allocations: 0.7121 MB / 0.6086 GB, free: 10.62 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.32e-05/0.5231, allocations: 8.562 kB / 0.6086 GB, free: 10.62 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.248e-05/0.5232, allocations: 19.42 kB / 0.6086 GB, free: 10.6 MB / 426.7 MB Notification: Performance of SimCode: time 2.31e-07/0.5232, allocations: 0 / 0.6086 GB, free: 10.6 MB / 426.7 MB Notification: Performance of Templates: time 0.004526/0.5277, allocations: 1.724 MB / 0.6103 GB, free: 8.891 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches