Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.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.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76") translateModel(ModelicaTest.Tables.CombiTimeTable.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009785/0.0009782, allocations: 171 kB / 16.76 MB, free: 4.934 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.574/1.574, allocations: 205.4 MB / 222.9 MB, free: 8.922 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.0008727/0.0008728, allocations: 83.39 kB / 271.3 MB, free: 8.238 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.4045/0.4045, allocations: 43.57 MB / 363.1 MB, free: 52.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003948/0.000395, allocations: 12 kB / 432.6 MB, free: 5.195 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.145, allocations: 58.85 MB / 491.5 MB, free: 10.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4252/0.5703, allocations: 87.76 MB / 0.5657 GB, free: 14.22 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002885/0.5707, allocations: 79.95 kB / 0.5657 GB, free: 14.14 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01661/0.5873, allocations: 5.828 MB / 0.5714 GB, free: 8.363 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.5874, allocations: 0 / 0.5714 GB, free: 8.363 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.355e-05/0.5874, allocations: 4 kB / 0.5714 GB, free: 8.359 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006268/0.588, allocations: 425 kB / 0.5718 GB, free: 7.895 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/0.5881, allocations: 8.031 kB / 0.5718 GB, free: 7.887 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.81e-05/0.5882, allocations: 16.73 kB / 0.5719 GB, free: 7.871 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000333/0.5885, allocations: 220.8 kB / 0.5721 GB, free: 7.613 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.266e-05/0.5886, allocations: 4.375 kB / 0.5721 GB, free: 7.609 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.472e-05/0.5886, allocations: 8.375 kB / 0.5721 GB, free: 7.602 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001825/0.5888, allocations: 78.14 kB / 0.5722 GB, free: 7.52 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/0.5888, allocations: 3.188 kB / 0.5722 GB, free: 7.52 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.524e-05/0.5888, allocations: 3.938 kB / 0.5722 GB, free: 7.516 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.481e-06/0.5888, allocations: 0 / 0.5722 GB, free: 7.516 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001217/0.589, allocations: 51.95 kB / 0.5722 GB, free: 7.465 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000517/0.5895, allocations: 316.7 kB / 0.5725 GB, free: 7.105 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002279/0.5897, allocations: 95.41 kB / 0.5726 GB, free: 7.004 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.344e-05/0.5898, allocations: 32.84 kB / 0.5726 GB, free: 6.969 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.688e-05/0.5898, allocations: 4.062 kB / 0.5726 GB, free: 6.965 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001792/0.59, allocations: 83.36 kB / 0.5727 GB, free: 6.871 MB / 394.7 MB Notification: Performance of pre-optimization done (n=8): time 3.667e-06/0.59, allocations: 0 / 0.5727 GB, free: 6.871 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0006892/0.5907, allocations: 241.1 kB / 0.573 GB, free: 6.629 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.584e-05/0.5908, allocations: 55.41 kB / 0.573 GB, free: 6.562 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002109/0.591, allocations: 189.7 kB / 0.5732 GB, free: 6.367 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.208e-05/0.591, allocations: 33.7 kB / 0.5732 GB, free: 6.328 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.709e-05/0.5911, allocations: 96.14 kB / 0.5733 GB, free: 6.23 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.744e-05/0.5912, allocations: 39.47 kB / 0.5733 GB, free: 6.191 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.622e-06/0.5912, allocations: 4 kB / 0.5734 GB, free: 6.188 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.5913, allocations: 326.8 kB / 0.5737 GB, free: 5.859 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.162e-05/0.5914, allocations: 39.97 kB / 0.5737 GB, free: 5.82 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.978e-05/0.5915, allocations: 45.7 kB / 0.5737 GB, free: 5.77 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001621/0.5917, allocations: 86.81 kB / 0.5738 GB, free: 5.68 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.5917, allocations: 3.938 kB / 0.5738 GB, free: 5.676 MB / 394.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002476/0.5919, allocations: 133.4 kB / 0.574 GB, free: 5.539 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.592, allocations: 4 kB / 0.574 GB, free: 5.535 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.592, allocations: 4.219 kB / 0.574 GB, free: 5.531 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.592, allocations: 4 kB / 0.574 GB, free: 5.527 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/0.5921, allocations: 23.92 kB / 0.574 GB, free: 5.504 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/0.5921, allocations: 4 kB / 0.574 GB, free: 5.5 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.044e-05/0.5922, allocations: 4 kB / 0.574 GB, free: 5.496 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.201e-05/0.5922, allocations: 8 kB / 0.574 GB, free: 5.488 MB / 394.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 (12): * Single equations (assignments): 12 * 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.0001137/0.5923, allocations: 130.2 kB / 0.5741 GB, free: 5.352 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.622e-05/0.5924, allocations: 7.906 kB / 0.5741 GB, free: 5.344 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003404/0.5927, allocations: 175.4 kB / 0.5743 GB, free: 5.168 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.5927, allocations: 4 kB / 0.5743 GB, free: 5.164 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.5927, allocations: 0 / 0.5743 GB, free: 5.164 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.5927, allocations: 0 / 0.5743 GB, free: 5.164 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00057/0.5933, allocations: 471.1 kB / 0.5748 GB, free: 4.645 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.5933, allocations: 4 kB / 0.5748 GB, free: 4.641 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.951e-05/0.5934, allocations: 19.98 kB / 0.5748 GB, free: 4.621 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.5934, allocations: 8.031 kB / 0.5748 GB, free: 4.613 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.5934, allocations: 0 / 0.5748 GB, free: 4.613 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.988e-06/0.5934, allocations: 3.938 kB / 0.5748 GB, free: 4.609 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/0.5935, allocations: 7.938 kB / 0.5748 GB, free: 4.602 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003083/0.5938, allocations: 244.2 kB / 0.575 GB, free: 4.344 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.946e-05/0.5938, allocations: 89.02 kB / 0.5751 GB, free: 4.238 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.944e-05/0.5939, allocations: 8 kB / 0.5751 GB, free: 4.23 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.581e-05/0.594, allocations: 7.984 kB / 0.5751 GB, free: 4.223 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.394e-05/0.594, allocations: 11.92 kB / 0.5751 GB, free: 4.211 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.359e-05/0.594, allocations: 8 kB / 0.5752 GB, free: 4.203 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001385/0.5942, allocations: 148.9 kB / 0.5753 GB, free: 4.059 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5942, allocations: 0 / 0.5753 GB, free: 4.059 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002802/0.5945, allocations: 39.94 kB / 0.5753 GB, free: 4.02 MB / 394.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 (13): * Single equations (assignments): 11 * 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.001139/0.5956, allocations: 481.8 kB / 0.5758 GB, free: 3.645 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002278/0.5959, allocations: 87.89 kB / 0.5759 GB, free: 3.559 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.5959, allocations: 0 / 0.5759 GB, free: 3.559 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001012/0.596, allocations: 55.84 kB / 0.5759 GB, free: 3.504 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00036/0.5964, allocations: 32.11 kB / 0.576 GB, free: 3.473 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005629/0.5969, allocations: 288.7 kB / 0.5762 GB, free: 3.172 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003119/0.5973, allocations: 0.7043 MB / 0.5769 GB, free: 2.441 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 8.49e-05/0.5974, allocations: 24.62 kB / 0.5769 GB, free: 2.418 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.094e-05/0.5974, allocations: 27.42 kB / 0.577 GB, free: 2.391 MB / 394.7 MB Notification: Performance of SimCode: time 2.2e-07/0.5974, allocations: 0 / 0.577 GB, free: 2.391 MB / 394.7 MB Notification: Performance of Templates: time 0.005122/0.6025, allocations: 1.926 MB / 0.5789 GB, free: 488 kB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches