Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001285/0.001285, allocations: 118.4 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001192/0.001193, allocations: 183.8 kB / 18.71 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.526/1.526, allocations: 222.9 MB / 242.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2401/0.2401, allocations: 44.19 MB / 336.7 MB, free: 2.641 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00176/0.00176, allocations: 59.91 kB / 470.6 MB, free: 13.12 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4395/0.4413, allocations: 60.82 MB / 0.5189 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test26): time 0.002749/0.4441, allocations: 1.59 MB / 0.5205 GB, free: 2.512 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000687/0.4448, allocations: 407.7 kB / 0.5209 GB, free: 2.246 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.08e-05/0.4449, allocations: 0 / 0.5209 GB, free: 2.246 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002889/0.4452, allocations: 72.92 kB / 0.5209 GB, free: 2.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002362/0.4454, allocations: 62.78 kB / 0.521 GB, free: 2.207 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002558/0.4457, allocations: 92.88 kB / 0.5211 GB, free: 2.156 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001839/0.4459, allocations: 73.81 kB / 0.5212 GB, free: 2.129 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001239/0.446, allocations: 19.11 kB / 0.5212 GB, free: 2.121 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.08e-05/0.4461, allocations: 33.88 kB / 0.5212 GB, free: 2.109 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001324/0.4462, allocations: 58.09 kB / 0.5213 GB, free: 2.09 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.706e-05/0.4462, allocations: 2.219 kB / 0.5213 GB, free: 2.09 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001019/0.4463, allocations: 43.78 kB / 0.5213 GB, free: 2.078 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.169e-05/0.4464, allocations: 22.36 kB / 0.5213 GB, free: 2.066 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.387e-05/0.4465, allocations: 27.11 kB / 0.5214 GB, free: 2.047 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000251/0.4467, allocations: 103.2 kB / 0.5214 GB, free: 2 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.4467, allocations: 1.25 kB / 0.5214 GB, free: 2 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.4467, allocations: 0 / 0.5214 GB, free: 2 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.726e-06/0.4468, allocations: 0 / 0.5214 GB, free: 2 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005055/0.4473, allocations: 409.2 kB / 0.5218 GB, free: 1.598 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.4473, allocations: 9.062 kB / 0.5218 GB, free: 1.598 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.085e-05/0.4474, allocations: 11.31 kB / 0.5219 GB, free: 1.594 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001813/0.4476, allocations: 197.1 kB / 0.522 GB, free: 1.379 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.4476, allocations: 1.375 kB / 0.522 GB, free: 1.379 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.323e-05/0.4476, allocations: 2.969 kB / 0.5221 GB, free: 1.379 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001674/0.4478, allocations: 60.42 kB / 0.5221 GB, free: 1.332 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.4478, allocations: 1.062 kB / 0.5221 GB, free: 1.332 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.847e-06/0.4478, allocations: 0 / 0.5221 GB, free: 1.332 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.4478, allocations: 4.906 kB / 0.5221 GB, free: 1.328 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001213/0.448, allocations: 29.27 kB / 0.5221 GB, free: 1.32 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003671/0.4483, allocations: 297.5 kB / 0.5224 GB, free: 1.023 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001084/0.4484, allocations: 47.64 kB / 0.5225 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.864e-05/0.4485, allocations: 18.3 kB / 0.5225 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.855e-05/0.4485, allocations: 1.031 kB / 0.5225 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.017e-05/0.4486, allocations: 32.38 kB / 0.5225 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.4486, allocations: 5 kB / 0.5225 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008774/0.4494, allocations: 213.4 kB / 0.5227 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.984e-05/0.4495, allocations: 53.55 kB / 0.5228 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001997/0.4497, allocations: 207 kB / 0.523 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.278e-05/0.4497, allocations: 33.7 kB / 0.523 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.973e-05/0.4498, allocations: 108.8 kB / 0.5231 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.185e-05/0.4498, allocations: 28.62 kB / 0.5231 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.108e-05/0.4499, allocations: 21.25 kB / 0.5232 GB, free: 484 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.329e-05/0.4499, allocations: 321.8 kB / 0.5235 GB, free: 160 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.754e-05/0.45, allocations: 22.47 kB / 0.5235 GB, free: 156 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.121e-05/0.4501, allocations: 30.31 kB / 0.5235 GB, free: 144 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000149/0.4502, allocations: 67.66 kB / 0.5236 GB, free: 112 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.4502, allocations: 0 / 0.5236 GB, free: 112 kB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002031/0.4505, allocations: 101.5 kB / 0.5237 GB, free: 56 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.807e-05/0.4505, allocations: 8.953 kB / 0.5237 GB, free: 56 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.4505, allocations: 0 / 0.5237 GB, free: 56 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.4505, allocations: 1.312 kB / 0.5237 GB, free: 56 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/0.4506, allocations: 17.05 kB / 0.5237 GB, free: 56 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.4507, allocations: 12.58 kB / 0.5237 GB, free: 44 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.177e-05/0.4507, allocations: 4.609 kB / 0.5237 GB, free: 44 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.4507, allocations: 2.672 kB / 0.5237 GB, free: 44 kB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 0.0001637/0.4509, allocations: 127.4 kB / 0.5238 GB, free: 15.92 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.476e-05/0.4509, allocations: 9.703 kB / 0.5239 GB, free: 15.92 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002724/0.4512, allocations: 113.4 kB / 0.524 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.4512, allocations: 1.219 kB / 0.524 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.4512, allocations: 7.938 kB / 0.524 GB, free: 15.85 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.4512, allocations: 1.781 kB / 0.524 GB, free: 15.85 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005753/0.4518, allocations: 403.8 kB / 0.5244 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.4518, allocations: 1.438 kB / 0.5244 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.667e-05/0.4519, allocations: 23.97 kB / 0.5244 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.4519, allocations: 1.938 kB / 0.5244 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.452, allocations: 6.5 kB / 0.5244 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.452, allocations: 8.031 kB / 0.5244 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.452, allocations: 1.781 kB / 0.5244 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002587/0.4522, allocations: 197.7 kB / 0.5246 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001457/0.4524, allocations: 93.95 kB / 0.5247 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.047e-05/0.4524, allocations: 0 / 0.5247 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.839e-05/0.4525, allocations: 18.31 kB / 0.5247 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.581e-05/0.4526, allocations: 4.625 kB / 0.5247 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.057e-06/0.4526, allocations: 3.25 kB / 0.5247 GB, free: 15.2 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001379/0.4527, allocations: 159.8 kB / 0.5249 GB, free: 15.1 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4527, allocations: 1.594 kB / 0.5249 GB, free: 15.1 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002561/0.453, allocations: 19.83 kB / 0.5249 GB, free: 15.1 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.001084/0.4541, allocations: 449 kB / 0.5253 GB, free: 14.89 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002585/0.4543, allocations: 69 kB / 0.5254 GB, free: 14.87 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.4544, allocations: 0 / 0.5254 GB, free: 14.87 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.826e-05/0.4545, allocations: 35.06 kB / 0.5254 GB, free: 14.86 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003205/0.4548, allocations: 22.59 kB / 0.5254 GB, free: 14.85 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006133/0.4554, allocations: 251.4 kB / 0.5257 GB, free: 14.66 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003253/0.4557, allocations: 0.7106 MB / 0.5264 GB, free: 13.96 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.773e-05/0.4558, allocations: 13.39 kB / 0.5264 GB, free: 13.95 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.59e-05/0.4559, allocations: 14.16 kB / 0.5264 GB, free: 13.95 MB / 398.1 MB Notification: Performance of SimCode: time 2.11e-07/0.4559, allocations: 0 / 0.5264 GB, free: 13.95 MB / 398.1 MB Notification: Performance of Templates: time 0.004425/0.4603, allocations: 1.33 MB / 0.5277 GB, free: 13.57 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test26/Test26.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches