Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0014/0.0014, allocations: 110.9 kB / 17.74 MB, free: 5.43 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.001458/0.001458, allocations: 188 kB / 18.66 MB, free: 4.508 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.45/1.45, allocations: 222.9 MB / 242.3 MB, free: 15.12 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.2443/0.2443, allocations: 44.18 MB / 336.7 MB, free: 2.703 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 55.91 kB / 470.5 MB, free: 13.21 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4684/0.4696, allocations: 60.82 MB / 0.5189 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test7): time 0.003188/0.4729, allocations: 1.578 MB / 0.5204 GB, free: 2.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007774/0.4737, allocations: 404 kB / 0.5208 GB, free: 2.258 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.491e-05/0.4738, allocations: 1.094 kB / 0.5208 GB, free: 2.258 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008441/0.4746, allocations: 445.3 kB / 0.5212 GB, free: 2.238 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004984/0.4752, allocations: 252.7 kB / 0.5214 GB, free: 2.211 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004007/0.4756, allocations: 130.1 kB / 0.5216 GB, free: 2.145 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003049/0.4759, allocations: 147.3 kB / 0.5217 GB, free: 2.125 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.476, allocations: 19.58 kB / 0.5217 GB, free: 2.113 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001777/0.4762, allocations: 109.7 kB / 0.5218 GB, free: 2.098 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003052/0.4765, allocations: 201.1 kB / 0.522 GB, free: 2.082 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.164e-05/0.4765, allocations: 3.188 kB / 0.522 GB, free: 2.082 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.164e-05/0.4766, allocations: 23.72 kB / 0.522 GB, free: 2.074 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001476/0.4768, allocations: 79.95 kB / 0.5221 GB, free: 2.047 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.045e-05/0.4768, allocations: 98.86 kB / 0.5222 GB, free: 1.965 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003255/0.4772, allocations: 241.8 kB / 0.5225 GB, free: 1.859 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.4772, allocations: 0 / 0.5225 GB, free: 1.859 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.4772, allocations: 0 / 0.5225 GB, free: 1.859 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.683e-06/0.4772, allocations: 3.938 kB / 0.5225 GB, free: 1.855 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000651/0.4779, allocations: 0.621 MB / 0.5231 GB, free: 1.309 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.4779, allocations: 9.312 kB / 0.5231 GB, free: 1.309 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.367e-05/0.478, allocations: 39.3 kB / 0.5231 GB, free: 1.289 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002991/0.4783, allocations: 295.8 kB / 0.5234 GB, free: 1.004 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.4783, allocations: 5.266 kB / 0.5234 GB, free: 1 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.262e-05/0.4784, allocations: 2.281 kB / 0.5234 GB, free: 1 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001499/0.4785, allocations: 56.61 kB / 0.5235 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.4785, allocations: 3.938 kB / 0.5235 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.968e-06/0.4785, allocations: 0 / 0.5235 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.4786, allocations: 0.75 kB / 0.5235 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.885e-05/0.4786, allocations: 20.19 kB / 0.5235 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005264/0.4792, allocations: 374 kB / 0.5238 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.266e-05/0.4793, allocations: 33.48 kB / 0.5239 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.83e-05/0.4793, allocations: 13.27 kB / 0.5239 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.623e-05/0.4794, allocations: 1.125 kB / 0.5239 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.4794, allocations: 40.33 kB / 0.5239 GB, free: 0.543 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.4794, allocations: 0 / 0.5239 GB, free: 0.543 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003096/0.4797, allocations: 94.92 kB / 0.524 GB, free: 496 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.98e-05/0.4798, allocations: 54.81 kB / 0.5241 GB, free: 432 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001277/0.4811, allocations: 0.8513 MB / 0.5249 GB, free: 108 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.343e-05/0.4811, allocations: 28.5 kB / 0.5249 GB, free: 76 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002312/0.4813, allocations: 215.9 kB / 0.5251 GB, free: 15.9 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.244e-05/0.4814, allocations: 9.984 kB / 0.5251 GB, free: 15.89 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.071e-05/0.4814, allocations: 21.5 kB / 0.5252 GB, free: 15.87 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002181/0.4817, allocations: 364.5 kB / 0.5255 GB, free: 15.53 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.859e-05/0.4817, allocations: 6.125 kB / 0.5255 GB, free: 15.53 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.117e-05/0.4818, allocations: 11.67 kB / 0.5255 GB, free: 15.53 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.471e-05/0.4819, allocations: 24.47 kB / 0.5255 GB, free: 15.52 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.4819, allocations: 0 / 0.5255 GB, free: 15.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000198/0.4821, allocations: 89.08 kB / 0.5256 GB, free: 15.46 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.59e-05/0.4821, allocations: 13.31 kB / 0.5256 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.288e-06/0.4821, allocations: 0.5156 kB / 0.5256 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.752e-05/0.4822, allocations: 1.406 kB / 0.5256 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.372e-05/0.4823, allocations: 5.125 kB / 0.5256 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.4823, allocations: 3.938 kB / 0.5256 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.297e-05/0.4823, allocations: 4.781 kB / 0.5257 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.199e-05/0.4824, allocations: 0 / 0.5257 GB, free: 15.45 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 (2): * Single equations (assignments): 2 * 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.000257/0.4826, allocations: 211.3 kB / 0.5259 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.154e-05/0.4827, allocations: 45.23 kB / 0.5259 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003329/0.483, allocations: 111.4 kB / 0.526 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.4831, allocations: 0.7969 kB / 0.526 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.4831, allocations: 0 / 0.526 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.004e-06/0.4831, allocations: 1.375 kB / 0.526 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004311/0.4835, allocations: 290.3 kB / 0.5263 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.4835, allocations: 0 / 0.5263 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.408e-05/0.4836, allocations: 5.5 kB / 0.5263 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.766e-06/0.4836, allocations: 0 / 0.5263 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.4836, allocations: 32 / 0.5263 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.051e-06/0.4836, allocations: 9.375 kB / 0.5263 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.4836, allocations: 7.875 kB / 0.5263 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002241/0.4838, allocations: 188 kB / 0.5265 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.427e-05/0.4839, allocations: 104.9 kB / 0.5266 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.834e-05/0.484, allocations: 1.375 kB / 0.5266 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.116e-05/0.4841, allocations: 1.375 kB / 0.5266 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.618e-05/0.4841, allocations: 5.406 kB / 0.5266 GB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.412e-06/0.4841, allocations: 3.984 kB / 0.5266 GB, free: 14.65 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008637/0.485, allocations: 0.6467 MB / 0.5272 GB, free: 14.34 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.7e-07/0.485, allocations: 0 / 0.5272 GB, free: 14.34 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002664/0.4853, allocations: 18.19 kB / 0.5272 GB, free: 14.33 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0009387/0.4862, allocations: 343.5 kB / 0.5276 GB, free: 14.16 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001847/0.4864, allocations: 25.17 kB / 0.5276 GB, free: 14.15 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.4864, allocations: 0 / 0.5276 GB, free: 14.15 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.555e-05/0.4865, allocations: 7.781 kB / 0.5276 GB, free: 14.15 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004787/0.487, allocations: 27.91 kB / 0.5276 GB, free: 14.13 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001297/0.4883, allocations: 0.7513 MB / 0.5284 GB, free: 13.73 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005587/0.4888, allocations: 0.8203 MB / 0.5292 GB, free: 12.97 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.574e-05/0.4889, allocations: 3.5 kB / 0.5292 GB, free: 12.97 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.981e-05/0.4889, allocations: 14.8 kB / 0.5292 GB, free: 12.96 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.489, allocations: 0 / 0.5292 GB, free: 12.96 MB / 398.1 MB Notification: Performance of Templates: time 0.005689/0.4946, allocations: 1.267 MB / 0.5304 GB, free: 12.32 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches