Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00112/0.00112, allocations: 109.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.001225/0.001225, allocations: 183.9 kB / 18.7 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.407/1.407, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.2312/0.2312, allocations: 44.19 MB / 336.7 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 63.91 kB / 470.6 MB, free: 13.13 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4177/0.419, allocations: 60.81 MB / 0.5189 GB, free: 3.629 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test26): time 0.003013/0.422, allocations: 1.654 MB / 0.5205 GB, free: 2.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007211/0.4228, allocations: 420.2 kB / 0.5209 GB, free: 2.203 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.49e-05/0.4228, allocations: 1.156 kB / 0.5209 GB, free: 2.203 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003083/0.4232, allocations: 60.72 kB / 0.521 GB, free: 2.184 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002354/0.4234, allocations: 55.72 kB / 0.5211 GB, free: 2.16 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003369/0.4238, allocations: 128.6 kB / 0.5212 GB, free: 2.098 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000159/0.4239, allocations: 71.62 kB / 0.5212 GB, free: 2.07 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.424, allocations: 30.84 kB / 0.5213 GB, free: 2.051 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.992e-05/0.4241, allocations: 27.62 kB / 0.5213 GB, free: 2.043 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001045/0.4242, allocations: 45.36 kB / 0.5213 GB, free: 2.023 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.758e-05/0.4242, allocations: 11.2 kB / 0.5214 GB, free: 2.016 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001124/0.4244, allocations: 48.81 kB / 0.5214 GB, free: 2.004 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.22e-05/0.4245, allocations: 15 kB / 0.5214 GB, free: 2 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.03e-05/0.4245, allocations: 31.09 kB / 0.5214 GB, free: 1.977 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002228/0.4247, allocations: 101.4 kB / 0.5215 GB, free: 1.934 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.4248, allocations: 5.344 kB / 0.5215 GB, free: 1.93 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.4248, allocations: 0 / 0.5215 GB, free: 1.93 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.4248, allocations: 0 / 0.5215 GB, free: 1.93 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005102/0.4253, allocations: 409 kB / 0.5219 GB, free: 1.531 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.4253, allocations: 9.844 kB / 0.5219 GB, free: 1.531 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.624e-05/0.4254, allocations: 13.8 kB / 0.522 GB, free: 1.523 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001446/0.4255, allocations: 192.1 kB / 0.5221 GB, free: 1.312 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.4256, allocations: 2.594 kB / 0.5221 GB, free: 1.312 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.426e-05/0.4256, allocations: 10.03 kB / 0.5222 GB, free: 1.305 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001686/0.4258, allocations: 68.5 kB / 0.5222 GB, free: 1.258 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.4258, allocations: 0 / 0.5222 GB, free: 1.258 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.4258, allocations: 1.062 kB / 0.5222 GB, free: 1.258 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/0.4258, allocations: 5.984 kB / 0.5222 GB, free: 1.254 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000147/0.426, allocations: 38.53 kB / 0.5223 GB, free: 1.246 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000343/0.4263, allocations: 298.4 kB / 0.5225 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002798/0.4266, allocations: 61.77 kB / 0.5226 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.975e-05/0.4267, allocations: 28.72 kB / 0.5226 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.877e-05/0.4267, allocations: 1.625 kB / 0.5226 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.798e-05/0.4268, allocations: 31.69 kB / 0.5227 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.262e-06/0.4268, allocations: 0 / 0.5227 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.001566/0.4283, allocations: 390.1 kB / 0.523 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.442e-05/0.4284, allocations: 52.53 kB / 0.5231 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001737/0.4286, allocations: 182.2 kB / 0.5233 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.062e-05/0.4286, allocations: 25.7 kB / 0.5233 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.18e-05/0.4286, allocations: 99.59 kB / 0.5234 GB, free: 432 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.246e-05/0.4287, allocations: 42.95 kB / 0.5234 GB, free: 396 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.919e-05/0.4287, allocations: 28.03 kB / 0.5235 GB, free: 372 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.187e-05/0.4288, allocations: 321.8 kB / 0.5238 GB, free: 48 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001282/0.4289, allocations: 39.06 kB / 0.5238 GB, free: 40 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001226/0.429, allocations: 48.62 kB / 0.5238 GB, free: 24 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002804/0.4293, allocations: 96.8 kB / 0.5239 GB, free: 15.98 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.4293, allocations: 1.062 kB / 0.5239 GB, free: 15.98 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003376/0.4297, allocations: 149.5 kB / 0.5241 GB, free: 15.91 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.4297, allocations: 7 kB / 0.5241 GB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.4297, allocations: 0 / 0.5241 GB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.4297, allocations: 0 / 0.5241 GB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001165/0.4299, allocations: 30.83 kB / 0.5241 GB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.4299, allocations: 4.547 kB / 0.5241 GB, free: 15.9 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.356e-05/0.43, allocations: 12.34 kB / 0.5241 GB, free: 15.9 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-06/0.43, allocations: 4.859 kB / 0.5241 GB, free: 15.9 MB / 398.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 (11): * Single equations (assignments): 11 * 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 9.97e-05/0.4301, allocations: 123.8 kB / 0.5243 GB, free: 15.78 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.89e-05/0.4301, allocations: 16.97 kB / 0.5243 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004076/0.4305, allocations: 167.9 kB / 0.5244 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.4305, allocations: 1.281 kB / 0.5244 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.4306, allocations: 1.438 kB / 0.5244 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.4306, allocations: 0.6562 kB / 0.5244 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007066/0.4313, allocations: 464.4 kB / 0.5249 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.4313, allocations: 5.797 kB / 0.5249 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001021/0.4314, allocations: 25.75 kB / 0.5249 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.4314, allocations: 2.25 kB / 0.5249 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.4314, allocations: 0.7031 kB / 0.5249 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.671e-06/0.4314, allocations: 1.531 kB / 0.5249 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.4314, allocations: 6.844 kB / 0.5249 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003843/0.4318, allocations: 258.6 kB / 0.5252 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.881e-05/0.4319, allocations: 85.66 kB / 0.5252 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.159e-05/0.4319, allocations: 1.969 kB / 0.5252 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.432, allocations: 14.48 kB / 0.5253 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.827e-05/0.4321, allocations: 13.89 kB / 0.5253 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.017e-05/0.4321, allocations: 7.188 kB / 0.5253 GB, free: 14.99 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001155/0.4322, allocations: 138.4 kB / 0.5254 GB, free: 14.9 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4322, allocations: 0 / 0.5254 GB, free: 14.9 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002803/0.4325, allocations: 27.19 kB / 0.5254 GB, free: 14.89 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001082/0.4336, allocations: 470.1 kB / 0.5259 GB, free: 14.67 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003422/0.434, allocations: 103.3 kB / 0.526 GB, free: 14.65 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.434, allocations: 0 / 0.526 GB, free: 14.65 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001544/0.4341, allocations: 63.81 kB / 0.526 GB, free: 14.63 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003812/0.4345, allocations: 15.75 kB / 0.5261 GB, free: 14.62 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005359/0.4351, allocations: 264.3 kB / 0.5263 GB, free: 14.43 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003034/0.4354, allocations: 0.7082 MB / 0.527 GB, free: 13.73 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.472e-05/0.4355, allocations: 18.75 kB / 0.527 GB, free: 13.73 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.058e-05/0.4355, allocations: 16.06 kB / 0.527 GB, free: 13.72 MB / 398.1 MB Notification: Performance of SimCode: time 2.7e-07/0.4355, allocations: 192 / 0.527 GB, free: 13.72 MB / 398.1 MB Notification: Performance of Templates: time 0.0044/0.4399, allocations: 1.549 MB / 0.5285 GB, free: 13.12 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test26/Test26.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches