Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.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.Test55,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.Test55") translateModel(ModelicaTest.Tables.CombiTimeTable.Test55,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.Test55") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002253/0.002253, allocations: 186.9 kB / 17.97 MB, free: 3.797 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.411/1.411, allocations: 222.9 MB / 241.6 MB, free: 10.98 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.001281/0.001281, allocations: 112 kB / 291.9 MB, free: 10.95 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.411/0.411, allocations: 44.13 MB / 386.1 MB, free: 37.98 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001166/0.001166, allocations: 67.84 kB / 457.8 MB, free: 2.297 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5393/0.5405, allocations: 60.8 MB / 0.5064 GB, free: 38.29 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.003691/0.5443, allocations: 1.755 MB / 0.5081 GB, free: 37.08 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002181/0.5465, allocations: 1.449 MB / 0.5095 GB, free: 36.06 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.001e-05/0.5466, allocations: 2.969 kB / 0.5095 GB, free: 36.06 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003868/0.547, allocations: 42.11 kB / 0.5096 GB, free: 36.04 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001941/0.5472, allocations: 41.98 kB / 0.5096 GB, free: 36.02 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002671/0.5475, allocations: 92.56 kB / 0.5097 GB, free: 35.97 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001667/0.5477, allocations: 95.75 kB / 0.5098 GB, free: 35.93 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.5478, allocations: 9.953 kB / 0.5098 GB, free: 35.92 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.905e-05/0.5479, allocations: 43.61 kB / 0.5098 GB, free: 35.9 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001481/0.5481, allocations: 36.8 kB / 0.5099 GB, free: 35.88 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.732e-05/0.5481, allocations: 4 kB / 0.5099 GB, free: 35.88 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001227/0.5482, allocations: 57.48 kB / 0.5099 GB, free: 35.86 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.361e-05/0.5483, allocations: 18.55 kB / 0.51 GB, free: 35.85 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.359e-05/0.5483, allocations: 39.53 kB / 0.51 GB, free: 35.82 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000238/0.5486, allocations: 111.3 kB / 0.5101 GB, free: 35.79 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.239e-06/0.5486, allocations: 0 / 0.5101 GB, free: 35.79 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.5486, allocations: 0 / 0.5101 GB, free: 35.79 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.5486, allocations: 0 / 0.5101 GB, free: 35.79 MB / 378.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.000577/0.5492, allocations: 404.3 kB / 0.5105 GB, free: 35.38 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.5493, allocations: 8.188 kB / 0.5105 GB, free: 35.38 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.261e-05/0.5493, allocations: 14.72 kB / 0.5105 GB, free: 35.38 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002183/0.5495, allocations: 207.5 kB / 0.5107 GB, free: 35.16 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.416e-05/0.5496, allocations: 384 / 0.5107 GB, free: 35.16 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.395e-05/0.5496, allocations: 6.938 kB / 0.5107 GB, free: 35.16 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001777/0.5498, allocations: 67.45 kB / 0.5108 GB, free: 35.1 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.5498, allocations: 0 / 0.5108 GB, free: 35.1 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.5498, allocations: 10.14 kB / 0.5108 GB, free: 35.09 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/0.5498, allocations: 0 / 0.5108 GB, free: 35.09 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.218e-05/0.5499, allocations: 24.44 kB / 0.5108 GB, free: 35.08 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000339/0.5502, allocations: 283 kB / 0.5111 GB, free: 34.8 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001599/0.5504, allocations: 54.75 kB / 0.5111 GB, free: 34.76 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.012e-05/0.5505, allocations: 21.61 kB / 0.5112 GB, free: 34.75 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.137e-05/0.5505, allocations: 7.062 kB / 0.5112 GB, free: 34.74 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001963/0.5507, allocations: 69.27 kB / 0.5112 GB, free: 34.68 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.332e-06/0.5507, allocations: 0 / 0.5112 GB, free: 34.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005113/0.5512, allocations: 167.6 kB / 0.5114 GB, free: 34.6 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.415e-05/0.5513, allocations: 84.33 kB / 0.5115 GB, free: 34.5 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000125/0.5514, allocations: 149.8 kB / 0.5116 GB, free: 34.39 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.086e-05/0.5514, allocations: 25.7 kB / 0.5116 GB, free: 34.36 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.323e-05/0.5515, allocations: 105.8 kB / 0.5117 GB, free: 34.26 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.237e-05/0.5515, allocations: 17.91 kB / 0.5118 GB, free: 34.25 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.495e-05/0.5515, allocations: 26.19 kB / 0.5118 GB, free: 34.22 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.097e-05/0.5516, allocations: 325 kB / 0.5121 GB, free: 33.9 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.036e-05/0.5517, allocations: 23.7 kB / 0.5121 GB, free: 33.89 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.577e-05/0.5517, allocations: 43.61 kB / 0.5122 GB, free: 33.86 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.413e-05/0.5518, allocations: 63.8 kB / 0.5122 GB, free: 33.82 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.5518, allocations: 0 / 0.5122 GB, free: 33.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001494/0.552, allocations: 107 kB / 0.5123 GB, free: 33.75 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.552, allocations: 7.219 kB / 0.5123 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.552, allocations: 192 / 0.5123 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.552, allocations: 0 / 0.5123 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.319e-05/0.5521, allocations: 22.38 kB / 0.5123 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.5521, allocations: 0 / 0.5123 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.503e-05/0.5522, allocations: 14.88 kB / 0.5124 GB, free: 33.74 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/0.5522, allocations: 2.906 kB / 0.5124 GB, free: 33.74 MB / 378.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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.09e-05/0.5523, allocations: 128 kB / 0.5125 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.99e-05/0.5523, allocations: 9.688 kB / 0.5125 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.251e-05/0.5524, allocations: 15.02 kB / 0.5125 GB, free: 33.6 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.5524, allocations: 0 / 0.5125 GB, free: 33.6 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.5524, allocations: 0 / 0.5125 GB, free: 33.6 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.5524, allocations: 6.719 kB / 0.5125 GB, free: 33.59 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003386/0.5527, allocations: 392.2 kB / 0.5129 GB, free: 33.24 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.5527, allocations: 0 / 0.5129 GB, free: 33.24 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.87e-05/0.5528, allocations: 8.625 kB / 0.5129 GB, free: 33.24 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.5528, allocations: 0 / 0.5129 GB, free: 33.24 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.5528, allocations: 7.219 kB / 0.5129 GB, free: 33.24 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.5528, allocations: 2.812 kB / 0.5129 GB, free: 33.24 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.5528, allocations: 0 / 0.5129 GB, free: 33.24 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003773/0.5532, allocations: 0.7723 MB / 0.5137 GB, free: 32.48 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.525e-05/0.5532, allocations: 88.02 kB / 0.5137 GB, free: 32.38 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.273e-05/0.5533, allocations: 6.312 kB / 0.5137 GB, free: 32.38 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.438e-05/0.5533, allocations: 2.969 kB / 0.5137 GB, free: 32.38 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.887e-05/0.5534, allocations: 10.41 kB / 0.5138 GB, free: 32.38 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.479e-05/0.5534, allocations: 11 kB / 0.5138 GB, free: 32.37 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.095e-05/0.5535, allocations: 122 kB / 0.5139 GB, free: 32.28 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.5535, allocations: 0 / 0.5139 GB, free: 32.28 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003679/0.5539, allocations: 32.77 kB / 0.5139 GB, free: 32.27 MB / 378.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 (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001137/0.555, allocations: 0.5086 MB / 0.5144 GB, free: 32.03 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001835/0.5552, allocations: 62.62 kB / 0.5145 GB, free: 32.01 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.5552, allocations: 0 / 0.5145 GB, free: 32.01 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.161e-05/0.5553, allocations: 28.12 kB / 0.5145 GB, free: 32 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003178/0.5556, allocations: 28.17 kB / 0.5145 GB, free: 31.99 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004866/0.5561, allocations: 336.6 kB / 0.5148 GB, free: 31.69 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001827/0.5563, allocations: 0.7009 MB / 0.5155 GB, free: 30.99 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.331e-05/0.5564, allocations: 19.94 kB / 0.5156 GB, free: 30.98 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.197e-05/0.5564, allocations: 22.97 kB / 0.5156 GB, free: 30.98 MB / 378.7 MB Notification: Performance of SimCode: time 1.9e-07/0.5564, allocations: 0 / 0.5156 GB, free: 30.98 MB / 378.7 MB Notification: Performance of Templates: time 0.004879/0.5613, allocations: 1.931 MB / 0.5175 GB, free: 30.76 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches