Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.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.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46") translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001084/0.001084, allocations: 183 kB / 15.76 MB, free: 6.367 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.849/1.849, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.00122/0.00122, allocations: 94.84 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2549/0.2549, allocations: 43.57 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004192/0.0004193, allocations: 12 kB / 431.4 MB, free: 19.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1615/0.1619, allocations: 58.85 MB / 490.2 MB, free: 8.672 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.498/0.66, allocations: 87.71 MB / 0.5644 GB, free: 12.07 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003111/0.6604, allocations: 73.39 kB / 0.5645 GB, free: 12.04 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01606/0.6765, allocations: 5.7 MB / 0.5701 GB, free: 7.195 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.6765, allocations: 4 kB / 0.5701 GB, free: 7.191 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.401e-05/0.6766, allocations: 4 kB / 0.5701 GB, free: 7.188 MB / 378.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.0006685/0.6773, allocations: 449.1 kB / 0.5705 GB, free: 6.711 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/0.6773, allocations: 8.031 kB / 0.5705 GB, free: 6.703 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.065e-05/0.6774, allocations: 7.906 kB / 0.5705 GB, free: 6.695 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003578/0.6777, allocations: 229.6 kB / 0.5707 GB, free: 6.438 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.984e-05/0.6778, allocations: 0 / 0.5707 GB, free: 6.438 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.815e-05/0.6778, allocations: 10.94 kB / 0.5707 GB, free: 6.43 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001821/0.678, allocations: 56.36 kB / 0.5708 GB, free: 6.375 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.678, allocations: 0 / 0.5708 GB, free: 6.375 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.678, allocations: 0 / 0.5708 GB, free: 6.375 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.678, allocations: 0 / 0.5708 GB, free: 6.375 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.908e-05/0.6781, allocations: 25.3 kB / 0.5708 GB, free: 6.355 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004916/0.6786, allocations: 313 kB / 0.5711 GB, free: 6.023 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001753/0.6788, allocations: 61.11 kB / 0.5712 GB, free: 5.965 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.914e-05/0.6788, allocations: 2.938 kB / 0.5712 GB, free: 5.965 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001655/0.679, allocations: 70.33 kB / 0.5712 GB, free: 5.891 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.593e-06/0.679, allocations: 4 kB / 0.5712 GB, free: 5.887 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006643/0.6797, allocations: 187.3 kB / 0.5714 GB, free: 5.73 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.273e-05/0.6798, allocations: 59.36 kB / 0.5715 GB, free: 5.66 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002975/0.6801, allocations: 234.9 kB / 0.5717 GB, free: 5.453 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.611e-05/0.6801, allocations: 32.88 kB / 0.5717 GB, free: 5.418 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.905e-05/0.6802, allocations: 109.9 kB / 0.5718 GB, free: 5.324 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.712e-05/0.6803, allocations: 23.53 kB / 0.5719 GB, free: 5.305 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.56e-06/0.6803, allocations: 3.312 kB / 0.5719 GB, free: 5.305 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.6804, allocations: 322.7 kB / 0.5722 GB, free: 4.984 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.989e-05/0.6805, allocations: 23.05 kB / 0.5722 GB, free: 4.969 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.779e-05/0.6806, allocations: 39.95 kB / 0.5722 GB, free: 4.934 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.752e-05/0.6806, allocations: 23.73 kB / 0.5723 GB, free: 4.918 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.6806, allocations: 3.984 kB / 0.5723 GB, free: 4.914 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002052/0.6809, allocations: 105.5 kB / 0.5724 GB, free: 4.824 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.6809, allocations: 10.66 kB / 0.5724 GB, free: 4.816 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.6809, allocations: 0 / 0.5724 GB, free: 4.816 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.6809, allocations: 0 / 0.5724 GB, free: 4.816 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.59e-05/0.681, allocations: 16.17 kB / 0.5724 GB, free: 4.801 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.146e-06/0.681, allocations: 11.97 kB / 0.5724 GB, free: 4.789 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.929e-05/0.6811, allocations: 7.891 kB / 0.5724 GB, free: 4.781 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.115e-05/0.6811, allocations: 7.312 kB / 0.5724 GB, free: 4.777 MB / 378.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 0.0001171/0.6812, allocations: 140.9 kB / 0.5725 GB, free: 4.637 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.774e-05/0.6813, allocations: 15.81 kB / 0.5726 GB, free: 4.621 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002805/0.6816, allocations: 125 kB / 0.5727 GB, free: 4.516 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.6816, allocations: 4 kB / 0.5727 GB, free: 4.512 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.6816, allocations: 4 kB / 0.5727 GB, free: 4.508 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.6816, allocations: 0 / 0.5727 GB, free: 4.508 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005727/0.6822, allocations: 432.6 kB / 0.5731 GB, free: 4.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.6822, allocations: 0 / 0.5731 GB, free: 4.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.134e-05/0.6822, allocations: 12.56 kB / 0.5731 GB, free: 4.059 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.6822, allocations: 384 / 0.5731 GB, free: 4.059 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.6823, allocations: 1.125 kB / 0.5731 GB, free: 4.059 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.875e-06/0.6823, allocations: 11.95 kB / 0.5731 GB, free: 4.047 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.6823, allocations: 32 / 0.5731 GB, free: 4.047 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002788/0.6826, allocations: 227.5 kB / 0.5733 GB, free: 3.82 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.972e-05/0.6827, allocations: 107.8 kB / 0.5734 GB, free: 3.699 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.854e-05/0.6827, allocations: 5.203 kB / 0.5734 GB, free: 3.695 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.827e-05/0.6828, allocations: 5.188 kB / 0.5735 GB, free: 3.691 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.261e-05/0.6828, allocations: 12.67 kB / 0.5735 GB, free: 3.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-05/0.6829, allocations: 4.625 kB / 0.5735 GB, free: 3.676 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002053/0.6831, allocations: 207.8 kB / 0.5737 GB, free: 3.508 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6831, allocations: 0 / 0.5737 GB, free: 3.508 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002624/0.6833, allocations: 35.81 kB / 0.5737 GB, free: 3.477 MB / 378.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.001099/0.6844, allocations: 478.3 kB / 0.5742 GB, free: 3.07 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002007/0.6847, allocations: 63.41 kB / 0.5742 GB, free: 3.023 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.6847, allocations: 3.938 kB / 0.5742 GB, free: 3.02 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.557e-05/0.6847, allocations: 31.73 kB / 0.5743 GB, free: 2.996 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002583/0.685, allocations: 19.61 kB / 0.5743 GB, free: 2.98 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005429/0.6856, allocations: 318.7 kB / 0.5746 GB, free: 2.66 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003234/0.6859, allocations: 0.7237 MB / 0.5753 GB, free: 1.914 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.229e-05/0.686, allocations: 16.55 kB / 0.5753 GB, free: 1.895 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.353e-05/0.686, allocations: 23.06 kB / 0.5753 GB, free: 1.875 MB / 378.7 MB Notification: Performance of SimCode: time 2.5e-07/0.686, allocations: 0 / 0.5753 GB, free: 1.875 MB / 378.7 MB Notification: Performance of Templates: time 0.005028/0.6911, allocations: 1.808 MB / 0.5771 GB, free: 84 kB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test46/Test46.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches