Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001507/0.001507, allocations: 106.4 kB / 17.78 MB, free: 5.289 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.001478/0.001478, allocations: 187.1 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.447/1.447, allocations: 222.9 MB / 242.4 MB, free: 15.1 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.2366/0.2366, allocations: 44.18 MB / 336.7 MB, free: 2.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001385/0.001385, allocations: 59.89 kB / 470.5 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4458/0.4472, allocations: 60.83 MB / 0.5189 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test11): time 0.003426/0.4507, allocations: 1.633 MB / 0.5205 GB, free: 2.492 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001732/0.4524, allocations: 1.027 MB / 0.5215 GB, free: 1.766 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.789e-05/0.4525, allocations: 1 kB / 0.5215 GB, free: 1.766 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002537/0.4528, allocations: 23.55 kB / 0.5215 GB, free: 1.75 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002519/0.4531, allocations: 46.11 kB / 0.5216 GB, free: 1.723 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004174/0.4535, allocations: 132 kB / 0.5217 GB, free: 1.656 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001538/0.4537, allocations: 61.7 kB / 0.5218 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.4538, allocations: 17.34 kB / 0.5218 GB, free: 1.621 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.686e-05/0.4539, allocations: 23.98 kB / 0.5218 GB, free: 1.609 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001517/0.454, allocations: 35.66 kB / 0.5218 GB, free: 1.59 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.902e-05/0.454, allocations: 3.625 kB / 0.5218 GB, free: 1.59 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001345/0.4542, allocations: 52.16 kB / 0.5219 GB, free: 1.574 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.22e-05/0.4543, allocations: 18.58 kB / 0.5219 GB, free: 1.562 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.769e-05/0.4543, allocations: 23.27 kB / 0.5219 GB, free: 1.547 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002209/0.4545, allocations: 93.97 kB / 0.522 GB, free: 1.508 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.4545, allocations: 0.7031 kB / 0.522 GB, free: 1.508 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4545, allocations: 0 / 0.522 GB, free: 1.508 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.4546, allocations: 0 / 0.522 GB, free: 1.508 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.0004646/0.455, allocations: 391.5 kB / 0.5224 GB, free: 1.121 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.4551, allocations: 10.12 kB / 0.5224 GB, free: 1.121 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.12e-05/0.4551, allocations: 7.75 kB / 0.5224 GB, free: 1.117 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001627/0.4553, allocations: 191.2 kB / 0.5226 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/0.4553, allocations: 7.062 kB / 0.5226 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.168e-05/0.4553, allocations: 2.656 kB / 0.5226 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001795/0.4555, allocations: 72.44 kB / 0.5227 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.4556, allocations: 0.9688 kB / 0.5227 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.4556, allocations: 4.641 kB / 0.5227 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.4556, allocations: 1.188 kB / 0.5227 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001415/0.4557, allocations: 40.81 kB / 0.5227 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003039/0.456, allocations: 283 kB / 0.523 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001155/0.4562, allocations: 44.67 kB / 0.523 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.776e-05/0.4562, allocations: 28.47 kB / 0.5231 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.303e-05/0.4563, allocations: 4 kB / 0.5231 GB, free: 500 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.985e-05/0.4563, allocations: 36.48 kB / 0.5231 GB, free: 456 kB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.363e-06/0.4563, allocations: 0 / 0.5231 GB, free: 456 kB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007639/0.4571, allocations: 199.6 kB / 0.5233 GB, free: 380 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.17e-05/0.4571, allocations: 82.55 kB / 0.5234 GB, free: 280 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001166/0.4572, allocations: 134.2 kB / 0.5235 GB, free: 164 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.02e-05/0.4573, allocations: 29.7 kB / 0.5235 GB, free: 128 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.958e-05/0.4573, allocations: 93.31 kB / 0.5236 GB, free: 36 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.374e-05/0.4573, allocations: 24.23 kB / 0.5236 GB, free: 16 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.912e-05/0.4574, allocations: 20.53 kB / 0.5237 GB, free: 16 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.4576, allocations: 320 kB / 0.524 GB, free: 15.68 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001188/0.4577, allocations: 33.92 kB / 0.524 GB, free: 15.67 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000126/0.4578, allocations: 51.09 kB / 0.524 GB, free: 15.64 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002261/0.4581, allocations: 69.12 kB / 0.5241 GB, free: 15.62 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.4581, allocations: 7.875 kB / 0.5241 GB, free: 15.62 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002834/0.4584, allocations: 120.8 kB / 0.5242 GB, free: 15.55 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.4584, allocations: 5.812 kB / 0.5242 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.4584, allocations: 1.344 kB / 0.5242 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.4584, allocations: 0 / 0.5242 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001255/0.4585, allocations: 20.45 kB / 0.5243 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.4586, allocations: 0 / 0.5243 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.191e-05/0.4586, allocations: 18.08 kB / 0.5243 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.976e-06/0.4586, allocations: 2 kB / 0.5243 GB, free: 15.55 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 (7): * Single equations (assignments): 7 * 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.0001185/0.4588, allocations: 119.6 kB / 0.5244 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.449e-05/0.4588, allocations: 8 kB / 0.5244 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003296/0.4591, allocations: 117.3 kB / 0.5245 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.4592, allocations: 1.188 kB / 0.5245 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.4592, allocations: 0 / 0.5245 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.281e-06/0.4592, allocations: 11.39 kB / 0.5245 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005283/0.4597, allocations: 383.5 kB / 0.5249 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.4597, allocations: 0 / 0.5249 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.392e-05/0.4598, allocations: 19.77 kB / 0.5249 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.4598, allocations: 0 / 0.5249 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.358e-05/0.4598, allocations: 5.797 kB / 0.5249 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.4598, allocations: 5.156 kB / 0.5249 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.4599, allocations: 0 / 0.5249 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003285/0.4602, allocations: 210.3 kB / 0.5251 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.905e-05/0.4602, allocations: 78.94 kB / 0.5252 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.088e-05/0.4603, allocations: 5.828 kB / 0.5252 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.54e-05/0.4604, allocations: 12.5 kB / 0.5252 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.95e-05/0.4604, allocations: 9.891 kB / 0.5252 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.057e-06/0.4604, allocations: 6.625 kB / 0.5252 GB, free: 14.75 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.519e-05/0.4605, allocations: 106.7 kB / 0.5253 GB, free: 14.66 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4605, allocations: 0 / 0.5253 GB, free: 14.66 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002658/0.4608, allocations: 19.53 kB / 0.5254 GB, free: 14.66 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 (7): * Single equations (assignments): 7 * 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.001053/0.4619, allocations: 449.8 kB / 0.5258 GB, free: 14.45 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003127/0.4622, allocations: 82.14 kB / 0.5259 GB, free: 14.43 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.4622, allocations: 0 / 0.5259 GB, free: 14.43 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001289/0.4623, allocations: 48.86 kB / 0.5259 GB, free: 14.41 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003385/0.4627, allocations: 21.89 kB / 0.5259 GB, free: 14.41 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004291/0.4631, allocations: 182.8 kB / 0.5261 GB, free: 14.25 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002995/0.4634, allocations: 0.6952 MB / 0.5268 GB, free: 13.55 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.594e-05/0.4635, allocations: 20.58 kB / 0.5268 GB, free: 13.54 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.29e-05/0.4636, allocations: 14.8 kB / 0.5268 GB, free: 13.54 MB / 398.1 MB Notification: Performance of SimCode: time 2.11e-07/0.4636, allocations: 0 / 0.5268 GB, free: 13.54 MB / 398.1 MB Notification: Performance of Templates: time 0.004499/0.4681, allocations: 1.513 MB / 0.5283 GB, free: 13.03 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test11/Test11.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches