Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.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.Test57,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.Test57") translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,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.Test57") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000901/0.0009008, 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.232/1.232, allocations: 221.3 MB / 236 MB, free: 2.961 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.0008199/0.0008197, allocations: 80.06 kB / 287 MB, free: 252 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.1838/0.1838, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.924e-05/2.929e-05, allocations: 4.219 kB / 451.8 MB, free: 9.418 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1136, allocations: 61.91 MB / 0.5017 GB, free: 11.44 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3782/0.4918, allocations: 89.44 MB / 0.5891 GB, free: 15.85 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002054/0.4921, allocations: 71.97 kB / 0.5891 GB, free: 15.78 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01561/0.5077, allocations: 5.977 MB / 0.595 GB, free: 9.816 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.314e-06/0.5078, allocations: 0 / 0.595 GB, free: 9.816 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.155e-05/0.5078, allocations: 0 / 0.595 GB, free: 9.816 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.0004234/0.5082, allocations: 392.5 kB / 0.5953 GB, free: 9.391 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/0.5083, allocations: 8.031 kB / 0.5953 GB, free: 9.383 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.502e-05/0.5083, allocations: 23.78 kB / 0.5954 GB, free: 9.359 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002829/0.5086, allocations: 210.8 kB / 0.5956 GB, free: 9.113 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.5086, allocations: 0 / 0.5956 GB, free: 9.113 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.471e-05/0.5087, allocations: 4 kB / 0.5956 GB, free: 9.109 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000137/0.5088, allocations: 63.39 kB / 0.5956 GB, free: 9.035 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.5088, allocations: 0 / 0.5956 GB, free: 9.035 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.5089, allocations: 7.938 kB / 0.5956 GB, free: 9.027 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.5089, allocations: 0 / 0.5956 GB, free: 9.027 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.312e-05/0.5089, allocations: 31.92 kB / 0.5957 GB, free: 8.996 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004037/0.5093, allocations: 280.9 kB / 0.5959 GB, free: 8.672 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001194/0.5095, allocations: 50.69 kB / 0.596 GB, free: 8.613 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.486e-05/0.5095, allocations: 20.98 kB / 0.596 GB, free: 8.59 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.177e-05/0.5095, allocations: 0 / 0.596 GB, free: 8.59 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001351/0.5097, allocations: 75.33 kB / 0.5961 GB, free: 8.504 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.203e-06/0.5097, allocations: 0 / 0.5961 GB, free: 8.504 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004557/0.5102, allocations: 161.2 kB / 0.5962 GB, free: 8.34 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.429e-05/0.5102, allocations: 77.11 kB / 0.5963 GB, free: 8.246 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001375/0.5104, allocations: 146.6 kB / 0.5964 GB, free: 8.098 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.5104, allocations: 29.7 kB / 0.5965 GB, free: 8.062 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.628e-05/0.5105, allocations: 96.12 kB / 0.5966 GB, free: 7.965 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.872e-05/0.5105, allocations: 27.66 kB / 0.5966 GB, free: 7.938 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.108e-06/0.5105, allocations: 0 / 0.5966 GB, free: 7.938 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.5106, allocations: 322.8 kB / 0.5969 GB, free: 7.613 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.704e-05/0.5107, allocations: 20 kB / 0.5969 GB, free: 7.594 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.755e-05/0.5107, allocations: 42.56 kB / 0.597 GB, free: 7.543 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.637e-05/0.5108, allocations: 23.98 kB / 0.597 GB, free: 7.52 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.5108, allocations: 0 / 0.597 GB, free: 7.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001374/0.5109, allocations: 97.56 kB / 0.5971 GB, free: 7.418 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.5109, allocations: 4 kB / 0.5971 GB, free: 7.414 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.511, allocations: 4 kB / 0.5971 GB, free: 7.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.511, allocations: 0 / 0.5971 GB, free: 7.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.648e-05/0.5111, allocations: 19.92 kB / 0.5971 GB, free: 7.391 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.042e-06/0.5111, allocations: 0 / 0.5971 GB, free: 7.391 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.784e-05/0.5111, allocations: 7.953 kB / 0.5971 GB, free: 7.383 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.5111, allocations: 4 kB / 0.5971 GB, free: 7.379 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 7.626e-05/0.5112, allocations: 113 kB / 0.5972 GB, free: 7.262 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.89e-05/0.5113, allocations: 8.094 kB / 0.5972 GB, free: 7.254 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002078/0.5115, allocations: 114.2 kB / 0.5973 GB, free: 7.137 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.5115, allocations: 4 kB / 0.5973 GB, free: 7.133 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.5115, allocations: 0 / 0.5973 GB, free: 7.133 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.5115, allocations: 0 / 0.5973 GB, free: 7.133 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004272/0.5119, allocations: 403.2 kB / 0.5977 GB, free: 6.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.5119, allocations: 3.938 kB / 0.5977 GB, free: 6.676 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.259e-05/0.512, allocations: 16.03 kB / 0.5977 GB, free: 6.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.752e-06/0.512, allocations: 7.969 kB / 0.5978 GB, free: 6.652 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/0.512, allocations: 4 kB / 0.5978 GB, free: 6.648 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.152e-06/0.512, allocations: 7.953 kB / 0.5978 GB, free: 6.641 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.512, allocations: 0 / 0.5978 GB, free: 6.641 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002231/0.5123, allocations: 210 kB / 0.598 GB, free: 6.41 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.06e-05/0.5123, allocations: 93 kB / 0.5981 GB, free: 6.301 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.965e-05/0.5124, allocations: 11.95 kB / 0.5981 GB, free: 6.289 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.003e-05/0.5125, allocations: 0 / 0.5981 GB, free: 6.289 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.77e-05/0.5125, allocations: 7.984 kB / 0.5981 GB, free: 6.281 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.347e-06/0.5125, allocations: 7.938 kB / 0.5981 GB, free: 6.273 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.909e-05/0.5126, allocations: 121.7 kB / 0.5982 GB, free: 6.156 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5126, allocations: 0 / 0.5982 GB, free: 6.156 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002597/0.5129, allocations: 35.94 kB / 0.5982 GB, free: 6.121 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.001171/0.5141, allocations: 479 kB / 0.5987 GB, free: 5.77 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001536/0.5142, allocations: 55.94 kB / 0.5987 GB, free: 5.715 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.5142, allocations: 0 / 0.5987 GB, free: 5.715 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.062e-05/0.5143, allocations: 35.92 kB / 0.5988 GB, free: 5.68 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002351/0.5146, allocations: 19.98 kB / 0.5988 GB, free: 5.66 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003132/0.5149, allocations: 139.3 kB / 0.5989 GB, free: 5.496 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002694/0.5152, allocations: 0.7045 MB / 0.5996 GB, free: 4.766 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.025e-05/0.5152, allocations: 16.84 kB / 0.5996 GB, free: 4.75 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.215e-05/0.5153, allocations: 19.42 kB / 0.5996 GB, free: 4.73 MB / 410.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5153, allocations: 0 / 0.5996 GB, free: 4.73 MB / 410.7 MB Notification: Performance of Templates: time 0.004146/0.5194, allocations: 1.887 MB / 0.6015 GB, free: 2.855 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches