Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.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.Test25,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.Test25") translateModel(ModelicaTest.Tables.CombiTimeTable.Test25,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.Test25") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009547/0.0009545, allocations: 179.6 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.33/1.33, allocations: 221.3 MB / 236 MB, free: 2.98 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.0008515/0.0008517, allocations: 98.08 kB / 287 MB, free: 260 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.1834/0.1834, allocations: 44.16 MB / 382 MB, free: 14.7 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.369e-05/3.37e-05, allocations: 8.219 kB / 451.8 MB, free: 9.441 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.1167, allocations: 61.92 MB / 0.5017 GB, free: 11.46 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3709/0.4876, allocations: 89.22 MB / 0.5888 GB, free: 104 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002247/0.4878, allocations: 67.97 kB / 0.5889 GB, free: 36 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01487/0.5027, allocations: 5.612 MB / 0.5944 GB, free: 10.43 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.5028, allocations: 0 / 0.5944 GB, free: 10.43 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.07e-05/0.5028, allocations: 0 / 0.5944 GB, free: 10.43 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.0004528/0.5032, allocations: 410.2 kB / 0.5948 GB, free: 9.988 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.5033, allocations: 12.03 kB / 0.5948 GB, free: 9.977 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.31e-05/0.5033, allocations: 7.906 kB / 0.5948 GB, free: 9.969 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002835/0.5036, allocations: 215.5 kB / 0.595 GB, free: 9.715 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.865e-05/0.5036, allocations: 3.953 kB / 0.595 GB, free: 9.711 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/0.5037, allocations: 4 kB / 0.595 GB, free: 9.707 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001318/0.5038, allocations: 57.62 kB / 0.5951 GB, free: 9.645 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.5038, allocations: 0 / 0.5951 GB, free: 9.645 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.5039, allocations: 3.938 kB / 0.5951 GB, free: 9.641 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.5039, allocations: 11.98 kB / 0.5951 GB, free: 9.629 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.078e-05/0.5039, allocations: 16 kB / 0.5951 GB, free: 9.613 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004144/0.5044, allocations: 292.9 kB / 0.5954 GB, free: 9.277 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001133/0.5045, allocations: 54.62 kB / 0.5954 GB, free: 9.215 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.097e-05/0.5045, allocations: 20.98 kB / 0.5955 GB, free: 9.191 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.125e-05/0.5046, allocations: 8 kB / 0.5955 GB, free: 9.184 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001413/0.5047, allocations: 63.39 kB / 0.5955 GB, free: 9.109 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.443e-06/0.5047, allocations: 0 / 0.5955 GB, free: 9.109 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.000453/0.5052, allocations: 153.2 kB / 0.5957 GB, free: 8.953 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.738e-05/0.5052, allocations: 55.41 kB / 0.5957 GB, free: 8.887 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001808/0.5054, allocations: 187.6 kB / 0.5959 GB, free: 8.691 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.53e-05/0.5054, allocations: 29.7 kB / 0.5959 GB, free: 8.656 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.805e-05/0.5055, allocations: 108.1 kB / 0.596 GB, free: 8.547 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.749e-05/0.5055, allocations: 23.66 kB / 0.5961 GB, free: 8.523 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.138e-06/0.5055, allocations: 0 / 0.5961 GB, free: 8.523 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001114/0.5057, allocations: 330.8 kB / 0.5964 GB, free: 8.191 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.636e-05/0.5057, allocations: 16 kB / 0.5964 GB, free: 8.176 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.433e-05/0.5058, allocations: 41.64 kB / 0.5964 GB, free: 8.129 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.053e-05/0.5058, allocations: 20 kB / 0.5964 GB, free: 8.109 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.5058, allocations: 0 / 0.5964 GB, free: 8.109 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001392/0.506, allocations: 97.58 kB / 0.5965 GB, free: 8.008 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.506, allocations: 8 kB / 0.5965 GB, free: 8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.506, allocations: 0 / 0.5965 GB, free: 8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.506, allocations: 0 / 0.5965 GB, free: 8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.819e-05/0.5061, allocations: 20.11 kB / 0.5966 GB, free: 7.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.5061, allocations: 4 kB / 0.5966 GB, free: 7.977 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.645e-05/0.5062, allocations: 7.938 kB / 0.5966 GB, free: 7.969 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.138e-06/0.5062, allocations: 4 kB / 0.5966 GB, free: 7.965 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.594e-05/0.5063, allocations: 117 kB / 0.5967 GB, free: 7.844 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.009e-05/0.5063, allocations: 11.81 kB / 0.5967 GB, free: 7.832 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002033/0.5065, allocations: 115.1 kB / 0.5968 GB, free: 7.715 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.5065, allocations: 0 / 0.5968 GB, free: 7.715 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.5065, allocations: 4 kB / 0.5968 GB, free: 7.711 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.5065, allocations: 0 / 0.5968 GB, free: 7.711 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00044/0.507, allocations: 411.2 kB / 0.5972 GB, free: 7.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.507, allocations: 3.938 kB / 0.5972 GB, free: 7.246 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.966e-05/0.507, allocations: 16.03 kB / 0.5972 GB, free: 7.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.5071, allocations: 4 kB / 0.5972 GB, free: 7.227 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.5071, allocations: 4.172 kB / 0.5972 GB, free: 7.223 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.5071, allocations: 7.938 kB / 0.5972 GB, free: 7.215 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.5071, allocations: 4 kB / 0.5972 GB, free: 7.211 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002047/0.5073, allocations: 221.8 kB / 0.5975 GB, free: 6.969 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.677e-05/0.5074, allocations: 93 kB / 0.5975 GB, free: 6.859 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.597e-05/0.5074, allocations: 8 kB / 0.5976 GB, free: 6.852 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.054e-05/0.5075, allocations: 0 / 0.5976 GB, free: 6.852 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.834e-05/0.5075, allocations: 11.94 kB / 0.5976 GB, free: 6.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.368e-06/0.5076, allocations: 4 kB / 0.5976 GB, free: 6.836 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001285/0.5077, allocations: 152.9 kB / 0.5977 GB, free: 6.688 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5077, allocations: 0 / 0.5977 GB, free: 6.688 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002372/0.5079, allocations: 35.92 kB / 0.5977 GB, free: 6.652 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.0009084/0.5088, allocations: 425.3 kB / 0.5982 GB, free: 6.352 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000131/0.509, allocations: 55.94 kB / 0.5982 GB, free: 6.297 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.509, allocations: 3.938 kB / 0.5982 GB, free: 6.293 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.017e-05/0.5091, allocations: 39.98 kB / 0.5982 GB, free: 6.254 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002326/0.5093, allocations: 19.98 kB / 0.5983 GB, free: 6.234 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003427/0.5097, allocations: 179.3 kB / 0.5984 GB, free: 6.039 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002644/0.5099, allocations: 0.7082 MB / 0.5991 GB, free: 5.305 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.62e-05/0.51, allocations: 20.48 kB / 0.5991 GB, free: 5.285 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.227e-05/0.51, allocations: 19.42 kB / 0.5992 GB, free: 5.266 MB / 410.7 MB Notification: Performance of SimCode: time 2.31e-07/0.5101, allocations: 0 / 0.5992 GB, free: 5.266 MB / 410.7 MB Notification: Performance of Templates: time 0.004015/0.5141, allocations: 1.712 MB / 0.6008 GB, free: 3.566 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test25/Test25.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches