Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79") translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00106/0.00106, allocations: 183.4 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.403/1.403, allocations: 205.2 MB / 218.9 MB, free: 9.203 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000829/0.000829, allocations: 88.45 kB / 267.1 MB, free: 9.273 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3503/0.3503, allocations: 43.46 MB / 358.6 MB, free: 51.64 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.143e-05/3.151e-05, allocations: 4 kB / 425.3 MB, free: 8.199 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1255, allocations: 58.84 MB / 484.2 MB, free: 13.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4547/0.5803, allocations: 87.72 MB / 0.5585 GB, free: 16.34 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002725/0.5806, allocations: 76.83 kB / 0.5586 GB, free: 16.31 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01989/0.6005, allocations: 7.679 MB / 0.5661 GB, free: 11.39 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.6006, allocations: 0 / 0.5661 GB, free: 11.39 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.805e-05/0.6006, allocations: 4 kB / 0.5661 GB, free: 11.38 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005589/0.6012, allocations: 499.3 kB / 0.5665 GB, free: 10.87 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.6012, allocations: 8.031 kB / 0.5666 GB, free: 10.86 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.484e-05/0.6013, allocations: 23.72 kB / 0.5666 GB, free: 10.84 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004185/0.6017, allocations: 295 kB / 0.5669 GB, free: 10.52 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.763e-05/0.6018, allocations: 4 kB / 0.5669 GB, free: 10.52 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.826e-05/0.6018, allocations: 7.875 kB / 0.5669 GB, free: 10.52 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002043/0.602, allocations: 101.5 kB / 0.567 GB, free: 10.42 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.602, allocations: 0 / 0.567 GB, free: 10.42 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/0.6021, allocations: 0 / 0.567 GB, free: 10.42 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.6021, allocations: 0 / 0.567 GB, free: 10.42 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.133e-05/0.6022, allocations: 43.31 kB / 0.567 GB, free: 10.39 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005063/0.6027, allocations: 475.2 kB / 0.5675 GB, free: 9.922 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001523/0.6028, allocations: 104.1 kB / 0.5676 GB, free: 9.82 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.629e-05/0.6029, allocations: 45.22 kB / 0.5676 GB, free: 9.781 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.493e-05/0.6029, allocations: 3.938 kB / 0.5676 GB, free: 9.777 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001505/0.6031, allocations: 116.2 kB / 0.5677 GB, free: 9.66 MB / 394.7 MB Notification: Performance of pre-optimization done (n=12): time 1.223e-06/0.6031, allocations: 0 / 0.5677 GB, free: 9.66 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.0006322/0.6037, allocations: 329.5 kB / 0.568 GB, free: 9.379 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.984e-05/0.6038, allocations: 81.11 kB / 0.5681 GB, free: 9.281 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003503/0.6041, allocations: 387.5 kB / 0.5685 GB, free: 8.977 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.552e-05/0.6042, allocations: 33.64 kB / 0.5685 GB, free: 8.941 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.376e-05/0.6042, allocations: 150.3 kB / 0.5687 GB, free: 8.832 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.64e-05/0.6043, allocations: 50.73 kB / 0.5687 GB, free: 8.789 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.454e-06/0.6043, allocations: 7.875 kB / 0.5687 GB, free: 8.785 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.177e-05/0.6043, allocations: 342.4 kB / 0.569 GB, free: 8.453 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.053e-05/0.6044, allocations: 35.5 kB / 0.5691 GB, free: 8.43 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.696e-05/0.6045, allocations: 80.83 kB / 0.5691 GB, free: 8.359 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.062e-05/0.6046, allocations: 43.62 kB / 0.5692 GB, free: 8.328 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.6046, allocations: 0 / 0.5692 GB, free: 8.328 MB / 394.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002096/0.6048, allocations: 178.6 kB / 0.5694 GB, free: 8.18 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.6048, allocations: 4 kB / 0.5694 GB, free: 8.176 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.6048, allocations: 4.375 kB / 0.5694 GB, free: 8.172 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.6048, allocations: 4.062 kB / 0.5694 GB, free: 8.168 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001384/0.605, allocations: 35.92 kB / 0.5694 GB, free: 8.133 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.605, allocations: 4 kB / 0.5694 GB, free: 8.129 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.894e-05/0.6051, allocations: 7.375 kB / 0.5694 GB, free: 8.125 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.377e-05/0.6051, allocations: 11.98 kB / 0.5694 GB, free: 8.113 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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 6.301e-05/0.6052, allocations: 119.3 kB / 0.5695 GB, free: 7.996 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.745e-05/0.6052, allocations: 31.62 kB / 0.5696 GB, free: 7.965 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003146/0.6055, allocations: 219.1 kB / 0.5698 GB, free: 7.793 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.6056, allocations: 0 / 0.5698 GB, free: 7.793 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.6056, allocations: 0 / 0.5698 GB, free: 7.793 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.6056, allocations: 4 kB / 0.5698 GB, free: 7.789 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006764/0.6063, allocations: 0.6868 MB / 0.5705 GB, free: 7.129 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.6063, allocations: 0 / 0.5705 GB, free: 7.129 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.403e-05/0.6063, allocations: 24.06 kB / 0.5705 GB, free: 7.105 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.6064, allocations: 0 / 0.5705 GB, free: 7.105 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.606e-05/0.6064, allocations: 11.73 kB / 0.5705 GB, free: 7.098 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.6064, allocations: 4 kB / 0.5705 GB, free: 7.094 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.6064, allocations: 0 / 0.5705 GB, free: 7.094 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002769/0.6067, allocations: 412.8 kB / 0.5709 GB, free: 6.684 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.83e-05/0.6068, allocations: 124.6 kB / 0.571 GB, free: 6.551 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.846e-05/0.6068, allocations: 7.953 kB / 0.571 GB, free: 6.543 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001343/0.607, allocations: 13.05 kB / 0.571 GB, free: 6.535 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.01e-05/0.607, allocations: 11.98 kB / 0.571 GB, free: 6.523 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.416e-05/0.607, allocations: 7.375 kB / 0.571 GB, free: 6.52 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000255/0.6073, allocations: 319.9 kB / 0.5713 GB, free: 6.277 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6073, allocations: 0 / 0.5713 GB, free: 6.277 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003225/0.6076, allocations: 63.67 kB / 0.5714 GB, free: 6.219 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0009344/0.6086, allocations: 431.9 kB / 0.5718 GB, free: 5.867 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002005/0.6088, allocations: 114.2 kB / 0.5719 GB, free: 5.785 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.6088, allocations: 0 / 0.5719 GB, free: 5.785 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.58e-05/0.6089, allocations: 69.78 kB / 0.572 GB, free: 5.73 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003944/0.6093, allocations: 51.77 kB / 0.572 GB, free: 5.691 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005891/0.6099, allocations: 409.6 kB / 0.5724 GB, free: 5.312 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001791/0.6101, allocations: 0.7701 MB / 0.5732 GB, free: 4.523 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 9.322e-05/0.6102, allocations: 42.16 kB / 0.5732 GB, free: 4.484 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.049e-05/0.6103, allocations: 30.92 kB / 0.5733 GB, free: 4.461 MB / 394.7 MB Notification: Performance of SimCode: time 7.81e-07/0.6103, allocations: 0 / 0.5733 GB, free: 4.461 MB / 394.7 MB Notification: Performance of Templates: time 0.005495/0.6158, allocations: 2.94 MB / 0.5761 GB, free: 1.555 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches