Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.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.Test28,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.Test28") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test28,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.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001209/0.001209, allocations: 113.8 kB / 17.78 MB, free: 5.285 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.001339/0.001339, allocations: 183.9 kB / 18.71 MB, free: 4.371 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.49/1.49, allocations: 222.9 MB / 242.4 MB, free: 15.09 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.2275/0.2275, allocations: 44.19 MB / 336.7 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001487/0.001487, allocations: 59.91 kB / 470.6 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.399/0.4005, allocations: 60.83 MB / 0.5189 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test28): time 0.003341/0.4039, allocations: 1.588 MB / 0.5205 GB, free: 2.512 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009245/0.4048, allocations: 402.3 kB / 0.5209 GB, free: 2.25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.491e-05/0.4049, allocations: 1.219 kB / 0.5209 GB, free: 2.25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004181/0.4053, allocations: 109.3 kB / 0.521 GB, free: 2.227 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002983/0.4057, allocations: 78.89 kB / 0.521 GB, free: 2.203 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000321/0.406, allocations: 83.53 kB / 0.5211 GB, free: 2.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002237/0.4062, allocations: 80.73 kB / 0.5212 GB, free: 2.133 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001624/0.4064, allocations: 14.23 kB / 0.5212 GB, free: 2.129 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001081/0.4065, allocations: 45.64 kB / 0.5213 GB, free: 2.109 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001894/0.4067, allocations: 65.73 kB / 0.5213 GB, free: 2.094 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.044e-05/0.4067, allocations: 2.281 kB / 0.5213 GB, free: 2.094 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001247/0.4069, allocations: 43.77 kB / 0.5214 GB, free: 2.082 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.935e-05/0.407, allocations: 21.27 kB / 0.5214 GB, free: 2.074 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.462e-05/0.407, allocations: 39.28 kB / 0.5214 GB, free: 2.043 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002655/0.4073, allocations: 108.3 kB / 0.5215 GB, free: 1.996 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.4073, allocations: 0 / 0.5215 GB, free: 1.996 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.4073, allocations: 1.828 kB / 0.5215 GB, free: 1.996 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.505e-06/0.4073, allocations: 3.938 kB / 0.5215 GB, free: 1.992 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.0005684/0.4079, allocations: 421.2 kB / 0.5219 GB, free: 1.582 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/0.4079, allocations: 9.812 kB / 0.5219 GB, free: 1.582 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.232e-05/0.408, allocations: 9.969 kB / 0.522 GB, free: 1.578 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000212/0.4082, allocations: 203.8 kB / 0.5221 GB, free: 1.359 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.4082, allocations: 9.438 kB / 0.5222 GB, free: 1.352 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.608e-05/0.4083, allocations: 3.25 kB / 0.5222 GB, free: 1.352 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001636/0.4084, allocations: 56.72 kB / 0.5222 GB, free: 1.309 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.4085, allocations: 0 / 0.5222 GB, free: 1.309 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.4085, allocations: 5.719 kB / 0.5222 GB, free: 1.305 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.4085, allocations: 5.094 kB / 0.5222 GB, free: 1.301 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001081/0.4086, allocations: 28.56 kB / 0.5223 GB, free: 1.293 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004062/0.409, allocations: 301.5 kB / 0.5225 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001065/0.4091, allocations: 46.97 kB / 0.5226 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.912e-05/0.4092, allocations: 17.55 kB / 0.5226 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.976e-05/0.4092, allocations: 6.25 kB / 0.5226 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.027e-05/0.4093, allocations: 32.47 kB / 0.5226 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.193e-06/0.4093, allocations: 0 / 0.5226 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009082/0.4102, allocations: 223.9 kB / 0.5228 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.055e-05/0.4102, allocations: 53.34 kB / 0.5229 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000253/0.4105, allocations: 242.2 kB / 0.5231 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.032e-05/0.4105, allocations: 30.92 kB / 0.5232 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.362e-05/0.4105, allocations: 109.8 kB / 0.5233 GB, free: 484 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.033e-05/0.4106, allocations: 34.09 kB / 0.5233 GB, free: 456 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.807e-05/0.4106, allocations: 20.5 kB / 0.5233 GB, free: 436 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.807e-05/0.4107, allocations: 324.4 kB / 0.5236 GB, free: 112 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.412e-05/0.4108, allocations: 33.3 kB / 0.5237 GB, free: 96 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.786e-05/0.4109, allocations: 22.75 kB / 0.5237 GB, free: 92 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001559/0.411, allocations: 59.89 kB / 0.5237 GB, free: 68 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.411, allocations: 0 / 0.5237 GB, free: 68 kB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002209/0.4113, allocations: 98.12 kB / 0.5238 GB, free: 16 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.876e-05/0.4113, allocations: 5.688 kB / 0.5238 GB, free: 16 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/0.4113, allocations: 4 kB / 0.5238 GB, free: 12 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.262e-05/0.4113, allocations: 4.969 kB / 0.5238 GB, free: 8 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001318/0.4115, allocations: 17.53 kB / 0.5239 GB, free: 8 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.171e-05/0.4115, allocations: 3.938 kB / 0.5239 GB, free: 4 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.015e-05/0.4116, allocations: 8.922 kB / 0.5239 GB, free: 0 / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.247e-05/0.4116, allocations: 2.938 kB / 0.5239 GB, free: 0 / 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.0001771/0.4118, allocations: 130.6 kB / 0.524 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.47e-05/0.4118, allocations: 14.39 kB / 0.524 GB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003612/0.4122, allocations: 132 kB / 0.5241 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.4122, allocations: 1.594 kB / 0.5241 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.174e-05/0.4122, allocations: 8.484 kB / 0.5242 GB, free: 15.78 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.277e-06/0.4122, allocations: 0.6562 kB / 0.5242 GB, free: 15.78 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007065/0.413, allocations: 400.3 kB / 0.5245 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.413, allocations: 0 / 0.5245 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.359e-05/0.4131, allocations: 25.83 kB / 0.5246 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.4131, allocations: 0.75 kB / 0.5246 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.33e-05/0.4131, allocations: 2.656 kB / 0.5246 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.4131, allocations: 0 / 0.5246 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.641e-06/0.4131, allocations: 2.156 kB / 0.5246 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003446/0.4135, allocations: 210.9 kB / 0.5248 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.079e-05/0.4136, allocations: 97.05 kB / 0.5249 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.428e-05/0.4136, allocations: 2.422 kB / 0.5249 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.637e-05/0.4137, allocations: 7.672 kB / 0.5249 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.812e-05/0.4137, allocations: 9.734 kB / 0.5249 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.213e-06/0.4137, allocations: 4.406 kB / 0.5249 GB, free: 15.14 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001816/0.4139, allocations: 184.1 kB / 0.5251 GB, free: 15.04 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4139, allocations: 0 / 0.5251 GB, free: 15.04 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002683/0.4142, allocations: 19.05 kB / 0.5251 GB, free: 15.03 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.001036/0.4152, allocations: 460 kB / 0.5255 GB, free: 14.82 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002277/0.4155, allocations: 68.03 kB / 0.5256 GB, free: 14.8 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.4155, allocations: 4 kB / 0.5256 GB, free: 14.8 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.633e-05/0.4156, allocations: 35.23 kB / 0.5256 GB, free: 14.79 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003735/0.416, allocations: 21.86 kB / 0.5256 GB, free: 14.78 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005566/0.4165, allocations: 269.1 kB / 0.5259 GB, free: 14.6 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003427/0.4169, allocations: 0.7214 MB / 0.5266 GB, free: 13.89 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.971e-05/0.417, allocations: 13.62 kB / 0.5266 GB, free: 13.89 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.274e-05/0.417, allocations: 17.38 kB / 0.5266 GB, free: 13.88 MB / 398.1 MB Notification: Performance of SimCode: time 2.11e-07/0.417, allocations: 0 / 0.5266 GB, free: 13.88 MB / 398.1 MB Notification: Performance of Templates: time 0.004979/0.422, allocations: 1.34 MB / 0.5279 GB, free: 13.46 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test28/Test28.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches