Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.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.CombiTable2Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001255/0.001255, allocations: 112.8 kB / 17.78 MB, free: 5.277 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.001196/0.001196, allocations: 184.1 kB / 18.71 MB, free: 4.363 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.456/1.456, 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.2264/0.2264, allocations: 44.2 MB / 336.8 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 63.91 kB / 470.6 MB, free: 13.13 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4342/0.4355, allocations: 60.82 MB / 0.5189 GB, free: 3.605 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.004877/0.4404, allocations: 1.635 MB / 0.5205 GB, free: 2.473 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002612/0.443, allocations: 1.052 MB / 0.5216 GB, free: 1.734 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001223/0.4431, allocations: 1.156 kB / 0.5216 GB, free: 1.734 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002995/0.4434, allocations: 27.31 kB / 0.5216 GB, free: 1.715 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003742/0.4438, allocations: 46.17 kB / 0.5216 GB, free: 1.688 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007983/0.4446, allocations: 175.5 kB / 0.5218 GB, free: 1.602 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003164/0.4449, allocations: 66.06 kB / 0.5219 GB, free: 1.574 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001649/0.4451, allocations: 20.69 kB / 0.5219 GB, free: 1.562 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.14e-05/0.4452, allocations: 29.58 kB / 0.5219 GB, free: 1.547 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002115/0.4454, allocations: 32.45 kB / 0.5219 GB, free: 1.531 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.04e-05/0.4454, allocations: 3.969 kB / 0.5219 GB, free: 1.531 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002348/0.4456, allocations: 55.53 kB / 0.522 GB, free: 1.512 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.286e-05/0.4457, allocations: 16.23 kB / 0.522 GB, free: 1.504 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.766e-05/0.4458, allocations: 26.98 kB / 0.522 GB, free: 1.484 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000367/0.4462, allocations: 100.1 kB / 0.5221 GB, free: 1.445 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.4462, allocations: 1.094 kB / 0.5221 GB, free: 1.445 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.4462, allocations: 0 / 0.5221 GB, free: 1.445 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.936e-06/0.4462, allocations: 0.7031 kB / 0.5221 GB, free: 1.445 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.0006004/0.4468, allocations: 397 kB / 0.5225 GB, free: 1.047 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.009e-05/0.4468, allocations: 10.22 kB / 0.5225 GB, free: 1.047 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.13e-05/0.4469, allocations: 7.797 kB / 0.5225 GB, free: 1.043 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002367/0.4471, allocations: 184.8 kB / 0.5227 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.657e-05/0.4471, allocations: 1.844 kB / 0.5227 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.706e-05/0.4472, allocations: 7.219 kB / 0.5227 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002596/0.4474, allocations: 82.69 kB / 0.5228 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.73e-05/0.4474, allocations: 5.469 kB / 0.5228 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.537e-05/0.4475, allocations: 0.7031 kB / 0.5228 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.4475, allocations: 1.531 kB / 0.5228 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002013/0.4477, allocations: 38.38 kB / 0.5228 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005587/0.4482, allocations: 307.1 kB / 0.5231 GB, free: 472 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001872/0.4484, allocations: 50.92 kB / 0.5232 GB, free: 436 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000106/0.4485, allocations: 24.38 kB / 0.5232 GB, free: 424 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.753e-05/0.4486, allocations: 0.9062 kB / 0.5232 GB, free: 424 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.303e-05/0.4486, allocations: 32.5 kB / 0.5232 GB, free: 384 kB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.453e-06/0.4486, allocations: 0 / 0.5232 GB, free: 384 kB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0009899/0.4496, allocations: 222.5 kB / 0.5234 GB, free: 300 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.217e-05/0.4496, allocations: 79.12 kB / 0.5235 GB, free: 204 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001252/0.4498, allocations: 134.3 kB / 0.5236 GB, free: 92 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.204e-05/0.4498, allocations: 30.31 kB / 0.5237 GB, free: 56 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.325e-05/0.4498, allocations: 92.8 kB / 0.5238 GB, free: 15.96 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.098e-05/0.4499, allocations: 21.67 kB / 0.5238 GB, free: 15.95 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.563e-05/0.4499, allocations: 28.28 kB / 0.5238 GB, free: 15.92 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001036/0.45, allocations: 324 kB / 0.5241 GB, free: 15.6 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001289/0.4501, allocations: 41.55 kB / 0.5242 GB, free: 15.59 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000136/0.4503, allocations: 52.09 kB / 0.5242 GB, free: 15.57 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002473/0.4505, allocations: 91.08 kB / 0.5243 GB, free: 15.54 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.4505, allocations: 0 / 0.5243 GB, free: 15.54 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002996/0.4508, allocations: 122.3 kB / 0.5244 GB, free: 15.48 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.4508, allocations: 5.125 kB / 0.5244 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.4508, allocations: 0 / 0.5244 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.4509, allocations: 2.188 kB / 0.5244 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001187/0.451, allocations: 25.89 kB / 0.5244 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.451, allocations: 2.188 kB / 0.5244 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.147e-05/0.451, allocations: 12.23 kB / 0.5245 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.468e-06/0.4511, allocations: 3.75 kB / 0.5245 GB, free: 15.47 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.0001721/0.4512, allocations: 120.5 kB / 0.5246 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.751e-05/0.4513, allocations: 7.969 kB / 0.5246 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003755/0.4516, allocations: 143.8 kB / 0.5247 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.4516, allocations: 1.672 kB / 0.5247 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/0.4516, allocations: 3.938 kB / 0.5247 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.4517, allocations: 4.5 kB / 0.5247 GB, free: 15.26 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006183/0.4523, allocations: 409 kB / 0.5251 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.4523, allocations: 4.656 kB / 0.5251 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.34e-05/0.4524, allocations: 19.17 kB / 0.5251 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.4524, allocations: 0 / 0.5251 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.56e-05/0.4524, allocations: 9.688 kB / 0.5251 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/0.4524, allocations: 1.062 kB / 0.5252 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.4524, allocations: 0.5625 kB / 0.5252 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004028/0.4528, allocations: 226.1 kB / 0.5254 GB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.251e-05/0.4528, allocations: 79.2 kB / 0.5254 GB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.564e-05/0.4529, allocations: 5.578 kB / 0.5254 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.984e-05/0.453, allocations: 10.14 kB / 0.5255 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.427e-05/0.453, allocations: 10.05 kB / 0.5255 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.927e-06/0.453, allocations: 5.094 kB / 0.5255 GB, free: 14.64 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001004/0.4531, allocations: 104.7 kB / 0.5256 GB, free: 14.55 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4531, allocations: 0 / 0.5256 GB, free: 14.55 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000299/0.4534, allocations: 32.11 kB / 0.5256 GB, free: 14.54 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.001142/0.4546, allocations: 438.4 kB / 0.526 GB, free: 14.34 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003563/0.4549, allocations: 97.34 kB / 0.5261 GB, free: 14.32 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.4549, allocations: 0 / 0.5261 GB, free: 14.32 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001414/0.4551, allocations: 39.78 kB / 0.5262 GB, free: 14.31 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003806/0.4554, allocations: 23.53 kB / 0.5262 GB, free: 14.3 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005522/0.456, allocations: 198.3 kB / 0.5264 GB, free: 14.14 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003225/0.4563, allocations: 0.7073 MB / 0.5271 GB, free: 13.43 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001035/0.4564, allocations: 26.59 kB / 0.5271 GB, free: 13.43 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.079e-05/0.4565, allocations: 20.3 kB / 0.5271 GB, free: 13.41 MB / 398.1 MB Notification: Performance of SimCode: time 7.31e-07/0.4565, allocations: 0 / 0.5271 GB, free: 13.41 MB / 398.1 MB Notification: Performance of Templates: time 0.00516/0.4616, allocations: 1.553 MB / 0.5286 GB, free: 12.84 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches