Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.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.Test49,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.Test49") translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,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.Test49") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009319/0.0009319, allocations: 179 kB / 18.09 MB, free: 3.75 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.245/1.245, allocations: 223.3 MB / 242.1 MB, free: 11.61 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007967/0.0007969, allocations: 98.17 kB / 293.3 MB, free: 10.76 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3346/0.3346, allocations: 44.14 MB / 388.5 MB, free: 38.65 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003572/0.0003572, allocations: 19.98 kB / 461.1 MB, free: 1.316 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3111/0.3115, allocations: 61.87 MB / 0.5107 GB, free: 38.23 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1036/0.4151, allocations: 89.32 MB / 0.598 GB, free: 5.773 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001876/0.4153, allocations: 83.94 kB / 0.598 GB, free: 5.695 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01501/0.4304, allocations: 5.907 MB / 0.6038 GB, free: 15.79 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.4304, allocations: 0 / 0.6038 GB, free: 15.79 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.34e-05/0.4304, allocations: 3.938 kB / 0.6038 GB, free: 15.78 MB / 426.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.0004748/0.4309, allocations: 442.8 kB / 0.6042 GB, free: 15.3 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.271e-05/0.4309, allocations: 12.03 kB / 0.6042 GB, free: 15.29 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.081e-05/0.431, allocations: 12.75 kB / 0.6043 GB, free: 15.27 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002821/0.4313, allocations: 235.9 kB / 0.6045 GB, free: 15 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.4313, allocations: 384 / 0.6045 GB, free: 15 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.9e-05/0.4313, allocations: 4.375 kB / 0.6045 GB, free: 15 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001204/0.4314, allocations: 58.17 kB / 0.6045 GB, free: 14.94 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.4315, allocations: 192 / 0.6045 GB, free: 14.94 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.4315, allocations: 7.938 kB / 0.6045 GB, free: 14.93 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.4315, allocations: 4 kB / 0.6046 GB, free: 14.93 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.872e-05/0.4316, allocations: 15.98 kB / 0.6046 GB, free: 14.91 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003787/0.4319, allocations: 312.8 kB / 0.6049 GB, free: 14.55 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001508/0.4321, allocations: 66.55 kB / 0.6049 GB, free: 14.48 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.091e-05/0.4322, allocations: 24.84 kB / 0.605 GB, free: 14.45 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.503e-05/0.4322, allocations: 7.984 kB / 0.605 GB, free: 14.45 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001375/0.4323, allocations: 63.39 kB / 0.605 GB, free: 14.37 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.363e-06/0.4324, allocations: 0 / 0.605 GB, free: 14.37 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005236/0.4329, allocations: 181.4 kB / 0.6052 GB, free: 14.19 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.281e-05/0.4329, allocations: 51.41 kB / 0.6052 GB, free: 14.12 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002557/0.4332, allocations: 268.7 kB / 0.6055 GB, free: 13.85 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.542e-05/0.4332, allocations: 25.7 kB / 0.6055 GB, free: 13.82 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.381e-05/0.4333, allocations: 112.1 kB / 0.6056 GB, free: 13.71 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.078e-05/0.4333, allocations: 27.64 kB / 0.6057 GB, free: 13.68 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.747e-06/0.4333, allocations: 0 / 0.6057 GB, free: 13.68 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001155/0.4335, allocations: 331 kB / 0.606 GB, free: 13.35 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.528e-05/0.4335, allocations: 23.98 kB / 0.606 GB, free: 13.32 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.004e-05/0.4336, allocations: 41.64 kB / 0.606 GB, free: 13.28 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001119/0.4337, allocations: 61.77 kB / 0.6061 GB, free: 13.21 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.4337, allocations: 0 / 0.6061 GB, free: 13.21 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001726/0.4339, allocations: 109.4 kB / 0.6062 GB, free: 13.1 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.4339, allocations: 4 kB / 0.6062 GB, free: 13.09 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.4339, allocations: 4.062 kB / 0.6062 GB, free: 13.09 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.4339, allocations: 4 kB / 0.6062 GB, free: 13.09 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.945e-05/0.434, allocations: 15.98 kB / 0.6062 GB, free: 13.07 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.434, allocations: 4.031 kB / 0.6062 GB, free: 13.07 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.592e-05/0.4341, allocations: 8 kB / 0.6062 GB, free: 13.06 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-06/0.4341, allocations: 4.188 kB / 0.6062 GB, free: 13.05 MB / 426.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 (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 0.0001058/0.4342, allocations: 139.5 kB / 0.6064 GB, free: 12.91 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.254e-05/0.4343, allocations: 19.75 kB / 0.6064 GB, free: 12.89 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002465/0.4345, allocations: 130.9 kB / 0.6065 GB, free: 12.76 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.4345, allocations: 0 / 0.6065 GB, free: 12.76 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.4345, allocations: 0 / 0.6065 GB, free: 12.76 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.4345, allocations: 4 kB / 0.6065 GB, free: 12.75 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004559/0.435, allocations: 443.1 kB / 0.6069 GB, free: 12.26 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.435, allocations: 0 / 0.6069 GB, free: 12.26 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.804e-05/0.4351, allocations: 8 kB / 0.607 GB, free: 12.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.4351, allocations: 0 / 0.607 GB, free: 12.25 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.969e-06/0.4351, allocations: 4 kB / 0.607 GB, free: 12.25 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.4351, allocations: 0 / 0.607 GB, free: 12.25 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.4351, allocations: 7.922 kB / 0.607 GB, free: 12.24 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002206/0.4353, allocations: 224.2 kB / 0.6072 GB, free: 12 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.007e-05/0.4354, allocations: 93 kB / 0.6073 GB, free: 11.89 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.595e-05/0.4354, allocations: 8 kB / 0.6073 GB, free: 11.89 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.957e-05/0.4355, allocations: 0 / 0.6073 GB, free: 11.89 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.372e-05/0.4355, allocations: 11.92 kB / 0.6073 GB, free: 11.88 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.837e-06/0.4356, allocations: 8 kB / 0.6073 GB, free: 11.87 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001771/0.4357, allocations: 200.2 kB / 0.6075 GB, free: 11.67 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4357, allocations: 0 / 0.6075 GB, free: 11.67 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002519/0.436, allocations: 35.94 kB / 0.6075 GB, free: 11.64 MB / 426.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 (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.0009658/0.437, allocations: 486.8 kB / 0.608 GB, free: 11.34 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001697/0.4371, allocations: 59.95 kB / 0.608 GB, free: 11.29 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.4372, allocations: 0 / 0.608 GB, free: 11.29 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.05e-05/0.4372, allocations: 35.92 kB / 0.6081 GB, free: 11.25 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000346/0.4376, allocations: 25.48 kB / 0.6081 GB, free: 11.23 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004918/0.4381, allocations: 331 kB / 0.6084 GB, free: 10.88 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002629/0.4384, allocations: 0.7227 MB / 0.6091 GB, free: 10.13 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.669e-05/0.4384, allocations: 16.55 kB / 0.6091 GB, free: 10.11 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.674e-05/0.4385, allocations: 19.38 kB / 0.6092 GB, free: 10.09 MB / 426.7 MB Notification: Performance of SimCode: time 2.21e-07/0.4385, allocations: 0 / 0.6092 GB, free: 10.09 MB / 426.7 MB Notification: Performance of Templates: time 0.004251/0.4427, allocations: 1.844 MB / 0.611 GB, free: 8.27 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches