Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84") translateModel(ModelicaTest.Tables.CombiTimeTable.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001068/0.001068, allocations: 180.5 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.264/1.264, allocations: 221.3 MB / 236 MB, free: 2.973 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000845/0.000845, allocations: 87.86 kB / 287 MB, free: 244 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1776/0.1776, allocations: 44.16 MB / 382 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.597e-05/3.599e-05, allocations: 4.219 kB / 451.8 MB, free: 9.426 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.1176, allocations: 61.92 MB / 0.5017 GB, free: 11.44 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3455/0.4631, allocations: 89.45 MB / 0.5891 GB, free: 15.84 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001999/0.4634, allocations: 71.95 kB / 0.5891 GB, free: 15.77 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01563/0.479, allocations: 5.964 MB / 0.595 GB, free: 9.816 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.4791, allocations: 0 / 0.595 GB, free: 9.816 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.371e-05/0.4791, allocations: 4 kB / 0.595 GB, free: 9.812 MB / 410.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.0004971/0.4796, allocations: 398.2 kB / 0.5953 GB, free: 9.379 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/0.4796, allocations: 8.031 kB / 0.5953 GB, free: 9.371 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.71e-05/0.4797, allocations: 11.84 kB / 0.5954 GB, free: 9.359 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003087/0.48, allocations: 204.9 kB / 0.5956 GB, free: 9.121 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.997e-05/0.48, allocations: 4 kB / 0.5956 GB, free: 9.117 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.535e-05/0.4801, allocations: 7.984 kB / 0.5956 GB, free: 9.109 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001439/0.4802, allocations: 63.41 kB / 0.5956 GB, free: 9.035 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/0.4803, allocations: 0 / 0.5956 GB, free: 9.035 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.62e-05/0.4803, allocations: 11.92 kB / 0.5956 GB, free: 9.023 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.4803, allocations: 0 / 0.5956 GB, free: 9.023 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.167e-05/0.4804, allocations: 23.94 kB / 0.5957 GB, free: 9 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004163/0.4808, allocations: 292.9 kB / 0.5959 GB, free: 8.664 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001214/0.4809, allocations: 54.69 kB / 0.596 GB, free: 8.602 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.591e-05/0.481, allocations: 24.97 kB / 0.596 GB, free: 8.574 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.409e-05/0.481, allocations: 0 / 0.596 GB, free: 8.574 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001341/0.4811, allocations: 67.34 kB / 0.5961 GB, free: 8.496 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.213e-06/0.4811, allocations: 0 / 0.5961 GB, free: 8.496 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004192/0.4816, allocations: 157.2 kB / 0.5962 GB, free: 8.336 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.927e-05/0.4816, allocations: 81.11 kB / 0.5963 GB, free: 8.238 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001259/0.4818, allocations: 146.6 kB / 0.5964 GB, free: 8.09 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/0.4818, allocations: 33.69 kB / 0.5965 GB, free: 8.051 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.162e-05/0.4818, allocations: 92.14 kB / 0.5966 GB, free: 7.957 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.616e-05/0.4819, allocations: 27.64 kB / 0.5966 GB, free: 7.93 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.198e-06/0.4819, allocations: 0 / 0.5966 GB, free: 7.93 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.26e-05/0.482, allocations: 322.8 kB / 0.5969 GB, free: 7.605 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.699e-05/0.482, allocations: 24 kB / 0.5969 GB, free: 7.582 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.606e-05/0.4821, allocations: 34.58 kB / 0.597 GB, free: 7.539 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.611e-05/0.4821, allocations: 23.98 kB / 0.597 GB, free: 7.516 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.4821, allocations: 0 / 0.597 GB, free: 7.516 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001367/0.4823, allocations: 101.5 kB / 0.5971 GB, free: 7.41 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.4823, allocations: 4 kB / 0.5971 GB, free: 7.406 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.4823, allocations: 0 / 0.5971 GB, free: 7.406 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.4823, allocations: 4.062 kB / 0.5971 GB, free: 7.402 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.411e-05/0.4824, allocations: 23.92 kB / 0.5971 GB, free: 7.379 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.4824, allocations: 0 / 0.5971 GB, free: 7.379 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.872e-05/0.4825, allocations: 7.953 kB / 0.5971 GB, free: 7.371 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.134e-06/0.4825, allocations: 192 / 0.5971 GB, free: 7.371 MB / 410.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 () * 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 6.325e-05/0.4826, allocations: 109 kB / 0.5972 GB, free: 7.258 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.024e-05/0.4826, allocations: 19.83 kB / 0.5972 GB, free: 7.238 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001859/0.4828, allocations: 106.2 kB / 0.5973 GB, free: 7.129 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.4828, allocations: 0 / 0.5973 GB, free: 7.129 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.4828, allocations: 4 kB / 0.5973 GB, free: 7.125 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.4828, allocations: 7.984 kB / 0.5973 GB, free: 7.117 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003618/0.4832, allocations: 399.2 kB / 0.5977 GB, free: 6.668 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-06/0.4832, allocations: 3.938 kB / 0.5977 GB, free: 6.664 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.107e-05/0.4832, allocations: 15.98 kB / 0.5977 GB, free: 6.648 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.053e-06/0.4832, allocations: 0 / 0.5977 GB, free: 6.648 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/0.4833, allocations: 4 kB / 0.5978 GB, free: 6.645 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.806e-06/0.4833, allocations: 3.953 kB / 0.5978 GB, free: 6.641 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.4833, allocations: 4.219 kB / 0.5978 GB, free: 6.637 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001773/0.4835, allocations: 214 kB / 0.598 GB, free: 6.402 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.021e-05/0.4835, allocations: 89 kB / 0.598 GB, free: 6.297 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.584e-05/0.4835, allocations: 11.95 kB / 0.5981 GB, free: 6.285 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.093e-05/0.4836, allocations: 4 kB / 0.5981 GB, free: 6.281 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.541e-05/0.4837, allocations: 11.98 kB / 0.5981 GB, free: 6.27 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.147e-06/0.4837, allocations: 7.938 kB / 0.5981 GB, free: 6.262 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.025e-05/0.4838, allocations: 121.8 kB / 0.5982 GB, free: 6.145 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4838, allocations: 0 / 0.5982 GB, free: 6.145 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002489/0.484, allocations: 39.92 kB / 0.5982 GB, free: 6.105 MB / 410.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) * 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.0009523/0.485, allocations: 463.5 kB / 0.5987 GB, free: 5.773 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001264/0.4851, allocations: 63.91 kB / 0.5987 GB, free: 5.711 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.4851, allocations: 4 kB / 0.5987 GB, free: 5.707 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.519e-05/0.4852, allocations: 36 kB / 0.5988 GB, free: 5.672 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002217/0.4854, allocations: 23.92 kB / 0.5988 GB, free: 5.648 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000274/0.4857, allocations: 139.3 kB / 0.5989 GB, free: 5.484 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002231/0.4859, allocations: 0.7004 MB / 0.5996 GB, free: 4.758 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.088e-05/0.486, allocations: 16.92 kB / 0.5996 GB, free: 4.742 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.744e-05/0.4861, allocations: 15.44 kB / 0.5996 GB, free: 4.727 MB / 410.7 MB Notification: Performance of SimCode: time 2.9e-07/0.4861, allocations: 3.938 kB / 0.5997 GB, free: 4.723 MB / 410.7 MB Notification: Performance of Templates: time 0.004013/0.4901, allocations: 1.888 MB / 0.6015 GB, free: 2.848 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches