Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.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.Test78,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.Test78") translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,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.Test78") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009393/0.0009394, allocations: 182.8 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.275/1.275, allocations: 205.2 MB / 218.9 MB, free: 9.199 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.0008394/0.0008393, allocations: 85.86 kB / 267 MB, free: 9.277 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.3207/0.3207, allocations: 43.47 MB / 358.6 MB, free: 51.61 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.067e-05/3.069e-05, allocations: 4 kB / 425.3 MB, free: 8.176 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1195, allocations: 58.84 MB / 484.2 MB, free: 13.23 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3627/0.4823, allocations: 87.73 MB / 0.5585 GB, free: 16.43 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001908/0.4825, allocations: 75.41 kB / 0.5586 GB, free: 16.41 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01801/0.5005, allocations: 7.834 MB / 0.5662 GB, free: 11.21 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.5006, allocations: 0 / 0.5662 GB, free: 11.21 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.95e-05/0.5006, allocations: 7.984 kB / 0.5662 GB, free: 11.21 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.0005109/0.5011, allocations: 0.5018 MB / 0.5667 GB, free: 10.68 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.5012, allocations: 8.031 kB / 0.5667 GB, free: 10.67 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.693e-05/0.5012, allocations: 31.61 kB / 0.5667 GB, free: 10.64 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000387/0.5016, allocations: 299.4 kB / 0.567 GB, free: 10.32 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.017e-05/0.5017, allocations: 6.75 kB / 0.567 GB, free: 10.32 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.455e-05/0.5017, allocations: 7.984 kB / 0.567 GB, free: 10.31 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000146/0.5018, allocations: 94.06 kB / 0.5671 GB, free: 10.23 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.5019, allocations: 0 / 0.5671 GB, free: 10.23 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.5019, allocations: 7.984 kB / 0.5671 GB, free: 10.22 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.5019, allocations: 4 kB / 0.5671 GB, free: 10.21 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.495e-05/0.502, allocations: 46.92 kB / 0.5672 GB, free: 10.18 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004265/0.5024, allocations: 472.5 kB / 0.5676 GB, free: 9.715 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001475/0.5026, allocations: 109.7 kB / 0.5677 GB, free: 9.609 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.084e-05/0.5026, allocations: 39.22 kB / 0.5678 GB, free: 9.574 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.571e-05/0.5026, allocations: 0 / 0.5678 GB, free: 9.574 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001412/0.5028, allocations: 121 kB / 0.5679 GB, free: 9.453 MB / 394.7 MB Notification: Performance of pre-optimization done (n=12): time 1.012e-06/0.5028, allocations: 0 / 0.5679 GB, free: 9.453 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.0005982/0.5034, allocations: 348.5 kB / 0.5682 GB, free: 9.156 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.066e-05/0.5034, allocations: 81.11 kB / 0.5683 GB, free: 9.059 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00037/0.5038, allocations: 424.3 kB / 0.5687 GB, free: 8.727 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.44e-05/0.5038, allocations: 32.83 kB / 0.5687 GB, free: 8.691 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.43e-05/0.5039, allocations: 164.1 kB / 0.5689 GB, free: 8.578 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.454e-05/0.504, allocations: 54.03 kB / 0.569 GB, free: 8.531 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.372e-06/0.504, allocations: 3.562 kB / 0.569 GB, free: 8.531 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.068e-05/0.504, allocations: 344.9 kB / 0.5693 GB, free: 8.195 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.255e-05/0.5041, allocations: 40.48 kB / 0.5693 GB, free: 8.172 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.834e-05/0.5042, allocations: 67.42 kB / 0.5694 GB, free: 8.113 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.928e-05/0.5043, allocations: 49.48 kB / 0.5694 GB, free: 8.078 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.5043, allocations: 0 / 0.5694 GB, free: 8.078 MB / 394.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002053/0.5045, allocations: 182.7 kB / 0.5696 GB, free: 7.922 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.5045, allocations: 4 kB / 0.5696 GB, free: 7.918 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.5045, allocations: 4 kB / 0.5696 GB, free: 7.914 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.5045, allocations: 0 / 0.5696 GB, free: 7.914 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001327/0.5047, allocations: 43.34 kB / 0.5697 GB, free: 7.875 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.5047, allocations: 3.938 kB / 0.5697 GB, free: 7.871 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.964e-05/0.5048, allocations: 7.375 kB / 0.5697 GB, free: 7.867 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.212e-05/0.5048, allocations: 8 kB / 0.5697 GB, free: 7.859 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 5.706e-05/0.5049, allocations: 119.5 kB / 0.5698 GB, free: 7.742 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.854e-05/0.5049, allocations: 35.61 kB / 0.5698 GB, free: 7.707 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002936/0.5052, allocations: 219.6 kB / 0.57 GB, free: 7.535 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.5052, allocations: 4 kB / 0.57 GB, free: 7.531 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/0.5052, allocations: 0 / 0.57 GB, free: 7.531 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.5052, allocations: 0 / 0.57 GB, free: 7.531 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005894/0.5058, allocations: 0.689 MB / 0.5707 GB, free: 6.871 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.5059, allocations: 7.938 kB / 0.5707 GB, free: 6.863 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.183e-05/0.5059, allocations: 23.92 kB / 0.5707 GB, free: 6.84 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/0.5059, allocations: 0 / 0.5707 GB, free: 6.84 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.5059, allocations: 7.125 kB / 0.5707 GB, free: 6.836 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.506, allocations: 4 kB / 0.5707 GB, free: 6.832 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.506, allocations: 0 / 0.5707 GB, free: 6.832 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002453/0.5062, allocations: 413.8 kB / 0.5711 GB, free: 6.422 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.935e-05/0.5063, allocations: 131.5 kB / 0.5713 GB, free: 6.281 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.869e-05/0.5063, allocations: 11.64 kB / 0.5713 GB, free: 6.273 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000132/0.5065, allocations: 12.44 kB / 0.5713 GB, free: 6.266 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.545e-05/0.5065, allocations: 19.91 kB / 0.5713 GB, free: 6.246 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.374e-05/0.5066, allocations: 11.5 kB / 0.5713 GB, free: 6.238 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002578/0.5068, allocations: 349.1 kB / 0.5717 GB, free: 5.977 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5068, allocations: 0 / 0.5717 GB, free: 5.977 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003045/0.5071, allocations: 59.66 kB / 0.5717 GB, free: 5.922 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.0008187/0.508, allocations: 448.2 kB / 0.5721 GB, free: 5.562 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000188/0.5082, allocations: 112 kB / 0.5722 GB, free: 5.484 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.5082, allocations: 3.938 kB / 0.5722 GB, free: 5.48 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.365e-05/0.5083, allocations: 58.59 kB / 0.5723 GB, free: 5.438 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003953/0.5087, allocations: 57.14 kB / 0.5724 GB, free: 5.395 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006184/0.5093, allocations: 452.4 kB / 0.5728 GB, free: 4.977 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002005/0.5095, allocations: 0.7862 MB / 0.5736 GB, free: 4.172 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001053/0.5096, allocations: 40.91 kB / 0.5736 GB, free: 4.137 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.066e-05/0.5097, allocations: 26.94 kB / 0.5736 GB, free: 4.113 MB / 394.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5097, allocations: 4 kB / 0.5736 GB, free: 4.109 MB / 394.7 MB Notification: Performance of Templates: time 0.005047/0.5147, allocations: 3.025 MB / 0.5766 GB, free: 1.113 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches