Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.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.Test75,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.Test75") translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,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.Test75") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009541/0.000954, allocations: 183.6 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.382/1.382, allocations: 205.2 MB / 218.9 MB, free: 9.141 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.0007685/0.0007685, allocations: 92.39 kB / 267.1 MB, free: 9.266 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.3368/0.3368, allocations: 43.47 MB / 358.6 MB, free: 51.55 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.528e-05/2.529e-05, allocations: 4 kB / 425.3 MB, free: 8.199 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1107, allocations: 58.86 MB / 484.2 MB, free: 13.23 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3738/0.4845, allocations: 87.73 MB / 0.5585 GB, free: 16.25 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001532/0.4847, allocations: 74.23 kB / 0.5586 GB, free: 16.23 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01706/0.5018, allocations: 7.679 MB / 0.5661 GB, free: 11.32 MB / 394.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.5018, allocations: 0 / 0.5661 GB, free: 11.32 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.562e-05/0.5018, allocations: 4 kB / 0.5661 GB, free: 11.32 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.0004516/0.5023, allocations: 492 kB / 0.5665 GB, free: 10.82 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.073e-05/0.5023, allocations: 12.03 kB / 0.5666 GB, free: 10.8 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.15e-05/0.5024, allocations: 23.72 kB / 0.5666 GB, free: 10.78 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003459/0.5028, allocations: 290.9 kB / 0.5669 GB, free: 10.47 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/0.5028, allocations: 10.48 kB / 0.5669 GB, free: 10.46 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.797e-05/0.5028, allocations: 5.938 kB / 0.5669 GB, free: 10.46 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001344/0.5029, allocations: 98.25 kB / 0.567 GB, free: 10.37 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.503, allocations: 0 / 0.567 GB, free: 10.37 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.699e-06/0.503, allocations: 0 / 0.567 GB, free: 10.37 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.898e-06/0.503, allocations: 4 kB / 0.567 GB, free: 10.37 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.314e-05/0.5031, allocations: 41.11 kB / 0.567 GB, free: 10.34 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003989/0.5035, allocations: 471.5 kB / 0.5675 GB, free: 9.871 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001329/0.5036, allocations: 105 kB / 0.5676 GB, free: 9.77 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.917e-05/0.5037, allocations: 43.89 kB / 0.5676 GB, free: 9.73 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.357e-05/0.5037, allocations: 11.92 kB / 0.5676 GB, free: 9.719 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001369/0.5038, allocations: 109 kB / 0.5677 GB, free: 9.609 MB / 394.7 MB Notification: Performance of pre-optimization done (n=12): time 1.152e-06/0.5038, allocations: 0 / 0.5677 GB, free: 9.609 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.0005139/0.5044, allocations: 335.4 kB / 0.568 GB, free: 9.324 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.843e-05/0.5044, allocations: 85.11 kB / 0.5681 GB, free: 9.223 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003234/0.5047, allocations: 385.4 kB / 0.5685 GB, free: 8.918 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.414e-05/0.5048, allocations: 28.77 kB / 0.5685 GB, free: 8.887 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.299e-05/0.5048, allocations: 156.5 kB / 0.5687 GB, free: 8.773 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.373e-05/0.5049, allocations: 52.84 kB / 0.5687 GB, free: 8.727 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.282e-06/0.5049, allocations: 3.188 kB / 0.5687 GB, free: 8.727 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.23e-05/0.505, allocations: 339.8 kB / 0.569 GB, free: 8.398 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.798e-05/0.505, allocations: 42.98 kB / 0.5691 GB, free: 8.371 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.405e-05/0.5051, allocations: 72.27 kB / 0.5691 GB, free: 8.305 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.394e-05/0.5052, allocations: 48.86 kB / 0.5692 GB, free: 8.27 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.5052, allocations: 2.812 kB / 0.5692 GB, free: 8.27 MB / 394.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002044/0.5054, allocations: 170 kB / 0.5694 GB, free: 8.129 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.108e-05/0.5054, allocations: 8 kB / 0.5694 GB, free: 8.121 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-06/0.5054, allocations: 64 / 0.5694 GB, free: 8.121 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.798e-06/0.5054, allocations: 7.984 kB / 0.5694 GB, free: 8.113 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001155/0.5056, allocations: 35.92 kB / 0.5694 GB, free: 8.078 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.5056, allocations: 0 / 0.5694 GB, free: 8.078 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.673e-05/0.5057, allocations: 11.38 kB / 0.5694 GB, free: 8.07 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.5057, allocations: 4 kB / 0.5694 GB, free: 8.066 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.869e-05/0.5057, allocations: 127.4 kB / 0.5695 GB, free: 7.941 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.667e-05/0.5058, allocations: 31.62 kB / 0.5696 GB, free: 7.91 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002744/0.5061, allocations: 213.4 kB / 0.5698 GB, free: 7.742 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.5061, allocations: 7.984 kB / 0.5698 GB, free: 7.734 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.5061, allocations: 0 / 0.5698 GB, free: 7.734 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.5061, allocations: 3.938 kB / 0.5698 GB, free: 7.73 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005202/0.5066, allocations: 0.6741 MB / 0.5704 GB, free: 7.082 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.5066, allocations: 0 / 0.5704 GB, free: 7.082 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.113e-05/0.5067, allocations: 31.8 kB / 0.5705 GB, free: 7.055 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.5067, allocations: 4.844 kB / 0.5705 GB, free: 7.051 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.908e-06/0.5067, allocations: 4 kB / 0.5705 GB, free: 7.047 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.5067, allocations: 0 / 0.5705 GB, free: 7.047 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.5067, allocations: 0 / 0.5705 GB, free: 7.047 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002395/0.507, allocations: 414.7 kB / 0.5709 GB, free: 6.637 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.906e-05/0.507, allocations: 128.1 kB / 0.571 GB, free: 6.5 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.212e-05/0.5071, allocations: 7.953 kB / 0.571 GB, free: 6.492 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000152/0.5072, allocations: 11.94 kB / 0.571 GB, free: 6.484 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.008e-05/0.5073, allocations: 7.984 kB / 0.571 GB, free: 6.477 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.304e-05/0.5073, allocations: 17.3 kB / 0.571 GB, free: 6.465 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002269/0.5075, allocations: 318.2 kB / 0.5713 GB, free: 6.223 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5075, allocations: 0 / 0.5713 GB, free: 6.223 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002896/0.5078, allocations: 59.69 kB / 0.5714 GB, free: 6.172 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.0007661/0.5086, allocations: 437 kB / 0.5718 GB, free: 5.824 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001694/0.5088, allocations: 115.2 kB / 0.5719 GB, free: 5.738 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.243e-06/0.5088, allocations: 0 / 0.5719 GB, free: 5.738 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.474e-05/0.5089, allocations: 63.78 kB / 0.572 GB, free: 5.691 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003103/0.5092, allocations: 53.84 kB / 0.572 GB, free: 5.648 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004831/0.5097, allocations: 409.7 kB / 0.5724 GB, free: 5.27 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001765/0.5099, allocations: 0.7709 MB / 0.5732 GB, free: 4.48 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 8.336e-05/0.51, allocations: 41.52 kB / 0.5732 GB, free: 4.441 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.298e-05/0.51, allocations: 27.06 kB / 0.5733 GB, free: 4.422 MB / 394.7 MB Notification: Performance of SimCode: time 2.41e-07/0.51, allocations: 4 kB / 0.5733 GB, free: 4.418 MB / 394.7 MB Notification: Performance of Templates: time 0.004539/0.5146, allocations: 2.935 MB / 0.5761 GB, free: 1.516 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches