Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.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.Test28,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.Test28") translateModel(ModelicaTest.Tables.CombiTimeTable.Test28,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.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008651/0.0008651, allocations: 178.4 kB / 18.09 MB, free: 3.746 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.229/1.229, allocations: 223.3 MB / 242.1 MB, free: 9.961 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.0007758/0.0007758, allocations: 89.27 kB / 293.3 MB, free: 10.55 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.2946/0.2946, allocations: 44.14 MB / 388.5 MB, free: 38.5 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003667/0.0003668, allocations: 19.98 kB / 461.1 MB, free: 1.285 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3111/0.3115, allocations: 61.88 MB / 0.5107 GB, free: 38.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1118/0.4234, allocations: 89.28 MB / 0.5979 GB, free: 5.785 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002474/0.4237, allocations: 79.95 kB / 0.598 GB, free: 5.711 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01443/0.4381, allocations: 5.491 MB / 0.6034 GB, free: 220 kB / 410.7 MB Notification: Performance of FrontEnd: time 3.556e-06/0.4382, allocations: 0 / 0.6034 GB, free: 220 kB / 410.7 MB Notification: Performance of Transformations before backend: time 1.022e-05/0.4382, allocations: 3.938 kB / 0.6034 GB, free: 216 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.0004886/0.4387, allocations: 423 kB / 0.6038 GB, free: 15.75 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.4388, allocations: 8.031 kB / 0.6038 GB, free: 15.74 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.932e-05/0.4388, allocations: 12.84 kB / 0.6038 GB, free: 15.73 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002646/0.4391, allocations: 217 kB / 0.604 GB, free: 15.48 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.4391, allocations: 4.375 kB / 0.604 GB, free: 15.47 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.88e-05/0.4391, allocations: 4.375 kB / 0.604 GB, free: 15.47 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001244/0.4393, allocations: 58.23 kB / 0.6041 GB, free: 15.41 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.4393, allocations: 4.188 kB / 0.6041 GB, free: 15.4 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.4393, allocations: 7.922 kB / 0.6041 GB, free: 15.39 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.4393, allocations: 0 / 0.6041 GB, free: 15.39 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.7e-05/0.4394, allocations: 23.92 kB / 0.6041 GB, free: 15.37 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003427/0.4397, allocations: 285 kB / 0.6044 GB, free: 15.04 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001532/0.4399, allocations: 66.61 kB / 0.6044 GB, free: 14.97 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.504e-05/0.44, allocations: 24.84 kB / 0.6045 GB, free: 14.94 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.175e-05/0.44, allocations: 0 / 0.6045 GB, free: 14.94 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000134/0.4401, allocations: 67.33 kB / 0.6045 GB, free: 14.86 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.4401, allocations: 0 / 0.6045 GB, free: 14.86 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004922/0.4406, allocations: 181.2 kB / 0.6047 GB, free: 14.68 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.034e-05/0.4407, allocations: 55.41 kB / 0.6047 GB, free: 14.61 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001686/0.4408, allocations: 184 kB / 0.6049 GB, free: 14.43 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.704e-05/0.4409, allocations: 29.7 kB / 0.6049 GB, free: 14.39 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.436e-05/0.4409, allocations: 100.1 kB / 0.605 GB, free: 14.29 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.675e-05/0.4409, allocations: 23.66 kB / 0.6051 GB, free: 14.27 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-06/0.441, allocations: 0 / 0.6051 GB, free: 14.27 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001065/0.4411, allocations: 326.8 kB / 0.6054 GB, free: 13.94 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.529e-05/0.4411, allocations: 27.92 kB / 0.6054 GB, free: 13.91 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.145e-05/0.4412, allocations: 41.7 kB / 0.6054 GB, free: 13.86 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001095/0.4413, allocations: 61.83 kB / 0.6055 GB, free: 13.8 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.4413, allocations: 0 / 0.6055 GB, free: 13.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001774/0.4415, allocations: 105.5 kB / 0.6056 GB, free: 13.69 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.4415, allocations: 4 kB / 0.6056 GB, free: 13.68 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.4415, allocations: 3.938 kB / 0.6056 GB, free: 13.68 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.057e-05/0.4416, allocations: 4 kB / 0.6056 GB, free: 13.68 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.99e-05/0.4416, allocations: 20.02 kB / 0.6056 GB, free: 13.66 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.4417, allocations: 0 / 0.6056 GB, free: 13.66 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.413e-05/0.4417, allocations: 8 kB / 0.6056 GB, free: 13.65 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-06/0.4417, allocations: 0 / 0.6056 GB, free: 13.65 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.399e-05/0.4418, allocations: 131.5 kB / 0.6058 GB, free: 13.51 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.862e-05/0.4418, allocations: 11.84 kB / 0.6058 GB, free: 13.5 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002282/0.4421, allocations: 122.3 kB / 0.6059 GB, free: 13.37 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.4421, allocations: 0 / 0.6059 GB, free: 13.37 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.4421, allocations: 4 kB / 0.6059 GB, free: 13.37 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.4421, allocations: 0 / 0.6059 GB, free: 13.37 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004218/0.4425, allocations: 411.4 kB / 0.6063 GB, free: 12.91 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.4425, allocations: 4 kB / 0.6063 GB, free: 12.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.945e-05/0.4426, allocations: 19.92 kB / 0.6063 GB, free: 12.88 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.4426, allocations: 0 / 0.6063 GB, free: 12.88 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.744e-06/0.4426, allocations: 0 / 0.6063 GB, free: 12.88 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.4426, allocations: 4 kB / 0.6063 GB, free: 12.88 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.4426, allocations: 8.344 kB / 0.6063 GB, free: 12.87 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002217/0.4429, allocations: 212.4 kB / 0.6065 GB, free: 12.64 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.074e-05/0.4429, allocations: 93 kB / 0.6066 GB, free: 12.54 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.234e-05/0.443, allocations: 4.094 kB / 0.6066 GB, free: 12.53 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.83e-05/0.443, allocations: 7.938 kB / 0.6066 GB, free: 12.52 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.694e-05/0.4431, allocations: 15.91 kB / 0.6066 GB, free: 12.51 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.052e-05/0.4431, allocations: 12 kB / 0.6067 GB, free: 12.5 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001076/0.4432, allocations: 144 kB / 0.6068 GB, free: 12.36 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4432, allocations: 0 / 0.6068 GB, free: 12.36 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002595/0.4435, allocations: 31.94 kB / 0.6068 GB, free: 12.32 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.000939/0.4444, allocations: 482.3 kB / 0.6073 GB, free: 12.04 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001609/0.4446, allocations: 59.92 kB / 0.6073 GB, free: 11.98 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.4446, allocations: 0 / 0.6073 GB, free: 11.98 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.074e-05/0.4447, allocations: 31.92 kB / 0.6074 GB, free: 11.95 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003108/0.445, allocations: 31.97 kB / 0.6074 GB, free: 11.91 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004241/0.4454, allocations: 238.5 kB / 0.6076 GB, free: 11.64 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000261/0.4457, allocations: 0.7083 MB / 0.6083 GB, free: 10.91 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 4.936e-05/0.4458, allocations: 20.84 kB / 0.6083 GB, free: 10.89 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.382e-05/0.4458, allocations: 15.44 kB / 0.6084 GB, free: 10.88 MB / 426.7 MB Notification: Performance of SimCode: time 2.1e-07/0.4458, allocations: 0 / 0.6084 GB, free: 10.88 MB / 426.7 MB Notification: Performance of Templates: time 0.003787/0.4496, allocations: 1.702 MB / 0.61 GB, free: 9.191 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test28/Test28.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches