Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.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.Test26,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.Test26") translateModel(ModelicaTest.Tables.CombiTimeTable.Test26,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.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009293/0.0009293, allocations: 183 kB / 18.09 MB, free: 3.727 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.246/1.246, allocations: 223.3 MB / 242.1 MB, free: 11.69 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.00073/0.0007299, allocations: 97.05 kB / 293.3 MB, free: 10.77 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.3164/0.3164, allocations: 44.14 MB / 388.5 MB, free: 38.95 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003756/0.0003756, allocations: 16 kB / 461.1 MB, free: 1.539 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3127/0.3131, allocations: 61.88 MB / 0.5107 GB, free: 38.17 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1091/0.4223, allocations: 89.32 MB / 0.598 GB, free: 5.785 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002871/0.4227, allocations: 79.95 kB / 0.598 GB, free: 5.711 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01468/0.4373, allocations: 5.632 MB / 0.6035 GB, free: 80 kB / 410.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.4374, allocations: 0 / 0.6035 GB, free: 80 kB / 410.7 MB Notification: Performance of Transformations before backend: time 1.181e-05/0.4374, allocations: 4 kB / 0.6035 GB, free: 76 kB / 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.0005395/0.438, allocations: 423 kB / 0.6039 GB, free: 15.61 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.438, allocations: 8.031 kB / 0.604 GB, free: 15.6 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.802e-05/0.4381, allocations: 8.844 kB / 0.604 GB, free: 15.59 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002748/0.4384, allocations: 229.6 kB / 0.6042 GB, free: 15.33 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/0.4384, allocations: 384 / 0.6042 GB, free: 15.33 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.789e-05/0.4384, allocations: 384 / 0.6042 GB, free: 15.33 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001327/0.4385, allocations: 62.17 kB / 0.6042 GB, free: 15.26 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.4386, allocations: 192 / 0.6042 GB, free: 15.26 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.382e-05/0.4386, allocations: 15.86 kB / 0.6043 GB, free: 15.25 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.4386, allocations: 0 / 0.6043 GB, free: 15.25 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.972e-05/0.4387, allocations: 23.98 kB / 0.6043 GB, free: 15.22 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004017/0.4391, allocations: 288.9 kB / 0.6046 GB, free: 14.89 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001675/0.4393, allocations: 66.55 kB / 0.6046 GB, free: 14.82 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.562e-05/0.4393, allocations: 24.84 kB / 0.6046 GB, free: 14.79 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.373e-05/0.4394, allocations: 3.984 kB / 0.6046 GB, free: 14.79 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001463/0.4395, allocations: 67.39 kB / 0.6047 GB, free: 14.71 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 2.053e-06/0.4395, allocations: 0 / 0.6047 GB, free: 14.71 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005449/0.4401, allocations: 177.1 kB / 0.6049 GB, free: 14.53 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.033e-05/0.4401, allocations: 55.41 kB / 0.6049 GB, free: 14.46 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001893/0.4403, allocations: 203.3 kB / 0.6051 GB, free: 14.25 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.352e-05/0.4404, allocations: 29.7 kB / 0.6052 GB, free: 14.21 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.831e-05/0.4404, allocations: 96.14 kB / 0.6052 GB, free: 14.11 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.087e-05/0.4405, allocations: 31.62 kB / 0.6053 GB, free: 14.08 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.51e-06/0.4405, allocations: 4 kB / 0.6053 GB, free: 14.08 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001193/0.4406, allocations: 327 kB / 0.6056 GB, free: 13.75 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.643e-05/0.4407, allocations: 23.98 kB / 0.6056 GB, free: 13.73 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.168e-05/0.4407, allocations: 37.64 kB / 0.6057 GB, free: 13.68 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001095/0.4408, allocations: 65.7 kB / 0.6057 GB, free: 13.61 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.4409, allocations: 0 / 0.6057 GB, free: 13.61 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001711/0.441, allocations: 93.53 kB / 0.6058 GB, free: 13.52 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.4411, allocations: 8 kB / 0.6058 GB, free: 13.51 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.4411, allocations: 3.984 kB / 0.6058 GB, free: 13.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/0.4411, allocations: 0 / 0.6058 GB, free: 13.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.045e-05/0.4412, allocations: 12.38 kB / 0.6058 GB, free: 13.49 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.904e-06/0.4412, allocations: 8.031 kB / 0.6058 GB, free: 13.48 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.441e-05/0.4412, allocations: 4 kB / 0.6058 GB, free: 13.48 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.098e-05/0.4413, allocations: 15.92 kB / 0.6059 GB, free: 13.46 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 9.769e-05/0.4414, allocations: 129.7 kB / 0.606 GB, free: 13.33 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.959e-05/0.4414, allocations: 11.81 kB / 0.606 GB, free: 13.32 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002351/0.4416, allocations: 119.2 kB / 0.6061 GB, free: 13.2 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.4416, allocations: 4.078 kB / 0.6061 GB, free: 13.19 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.4416, allocations: 7.875 kB / 0.6061 GB, free: 13.18 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.4417, allocations: 4 kB / 0.6061 GB, free: 13.18 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004271/0.4421, allocations: 411.3 kB / 0.6065 GB, free: 12.72 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.4421, allocations: 3.938 kB / 0.6065 GB, free: 12.71 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.852e-05/0.4421, allocations: 11.98 kB / 0.6065 GB, free: 12.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.4422, allocations: 4 kB / 0.6065 GB, free: 12.7 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.806e-06/0.4422, allocations: 0 / 0.6065 GB, free: 12.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.4422, allocations: 0 / 0.6065 GB, free: 12.7 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.4422, allocations: 7.938 kB / 0.6065 GB, free: 12.69 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002176/0.4424, allocations: 212.2 kB / 0.6067 GB, free: 12.46 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.481e-05/0.4425, allocations: 97 kB / 0.6068 GB, free: 12.35 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.27e-05/0.4425, allocations: 4 kB / 0.6068 GB, free: 12.35 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.687e-05/0.4426, allocations: 0 / 0.6068 GB, free: 12.35 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.581e-05/0.4426, allocations: 15.92 kB / 0.6068 GB, free: 12.33 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.898e-06/0.4426, allocations: 8 kB / 0.6069 GB, free: 12.32 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001228/0.4428, allocations: 148.9 kB / 0.607 GB, free: 12.18 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.4428, allocations: 0 / 0.607 GB, free: 12.18 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002487/0.443, allocations: 35.92 kB / 0.607 GB, free: 12.14 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.0009542/0.444, allocations: 482.7 kB / 0.6075 GB, free: 11.85 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001626/0.4442, allocations: 59.91 kB / 0.6076 GB, free: 11.79 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.4442, allocations: 0 / 0.6076 GB, free: 11.79 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.08e-05/0.4442, allocations: 35.92 kB / 0.6076 GB, free: 11.76 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000307/0.4446, allocations: 31.08 kB / 0.6076 GB, free: 11.73 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004319/0.445, allocations: 262.2 kB / 0.6079 GB, free: 11.45 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002529/0.4453, allocations: 0.7043 MB / 0.6086 GB, free: 10.72 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.352e-05/0.4453, allocations: 20.55 kB / 0.6086 GB, free: 10.7 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.452e-05/0.4454, allocations: 15.44 kB / 0.6086 GB, free: 10.68 MB / 426.7 MB Notification: Performance of SimCode: time 4.238e-06/0.4454, allocations: 0 / 0.6086 GB, free: 10.68 MB / 426.7 MB Notification: Performance of Templates: time 0.003862/0.4492, allocations: 1.727 MB / 0.6103 GB, free: 8.973 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test26/Test26.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches