Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001367/0.001367, allocations: 117.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001765/0.001765, allocations: 200.6 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.531/1.531, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2343/0.2343, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 76.06 kB / 481.3 MB, free: 4.059 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4333/0.4346, allocations: 62.43 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test6): time 0.003693/0.4384, allocations: 1.667 MB / 0.5326 GB, free: 12.31 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001229/0.4396, allocations: 0.5516 MB / 0.5332 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.162e-05/0.4397, allocations: 0 / 0.5332 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007286/0.4405, allocations: 461.3 kB / 0.5336 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005866/0.4411, allocations: 292.4 kB / 0.5339 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004184/0.4415, allocations: 129.7 kB / 0.534 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003/0.4418, allocations: 173.5 kB / 0.5342 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001302/0.442, allocations: 18.86 kB / 0.5342 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001431/0.4421, allocations: 110.9 kB / 0.5343 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003072/0.4424, allocations: 215.5 kB / 0.5345 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.433e-05/0.4425, allocations: 3.688 kB / 0.5345 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001131/0.4426, allocations: 37.2 kB / 0.5346 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001511/0.4428, allocations: 82.34 kB / 0.5346 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001069/0.4429, allocations: 111.7 kB / 0.5347 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003816/0.4433, allocations: 261.8 kB / 0.535 GB, free: 10.93 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.4433, allocations: 0 / 0.535 GB, free: 10.93 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.4433, allocations: 1.344 kB / 0.535 GB, free: 10.93 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.337e-05/0.4433, allocations: 0 / 0.535 GB, free: 10.93 MB / 398.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.0008632/0.4442, allocations: 0.6556 MB / 0.5356 GB, free: 10.32 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.828e-05/0.4442, allocations: 10.19 kB / 0.5356 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.203e-05/0.4443, allocations: 50.48 kB / 0.5357 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003273/0.4447, allocations: 299.2 kB / 0.536 GB, free: 9.996 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.629e-05/0.4447, allocations: 13.53 kB / 0.536 GB, free: 9.984 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.276e-05/0.4447, allocations: 2.562 kB / 0.536 GB, free: 9.984 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002076/0.4449, allocations: 64.94 kB / 0.536 GB, free: 9.93 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.445, allocations: 0.8125 kB / 0.536 GB, free: 9.93 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.445, allocations: 1 kB / 0.536 GB, free: 9.93 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/0.445, allocations: 0.9375 kB / 0.536 GB, free: 9.93 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001379/0.4451, allocations: 31.75 kB / 0.5361 GB, free: 9.918 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005323/0.4457, allocations: 403.3 kB / 0.5365 GB, free: 9.543 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001406/0.4458, allocations: 39.91 kB / 0.5365 GB, free: 9.512 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.758e-05/0.4459, allocations: 27.55 kB / 0.5365 GB, free: 9.492 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.712e-05/0.446, allocations: 1.312 kB / 0.5365 GB, free: 9.492 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.476e-05/0.446, allocations: 30.56 kB / 0.5366 GB, free: 9.453 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.446, allocations: 4 kB / 0.5366 GB, free: 9.449 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0009637/0.447, allocations: 301.1 kB / 0.5369 GB, free: 9.27 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.591e-05/0.447, allocations: 52.38 kB / 0.5369 GB, free: 9.207 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0011/0.4481, allocations: 0.8663 MB / 0.5377 GB, free: 8.785 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.4482, allocations: 30.84 kB / 0.5378 GB, free: 8.75 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001776/0.4483, allocations: 207.8 kB / 0.538 GB, free: 8.57 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.929e-05/0.4484, allocations: 26.03 kB / 0.538 GB, free: 8.547 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.427e-05/0.4484, allocations: 23.11 kB / 0.538 GB, free: 8.523 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001828/0.4486, allocations: 364 kB / 0.5384 GB, free: 8.176 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001228/0.4488, allocations: 31.41 kB / 0.5384 GB, free: 8.164 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001084/0.4489, allocations: 38.19 kB / 0.5384 GB, free: 8.145 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002203/0.4491, allocations: 80.67 kB / 0.5385 GB, free: 8.102 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.4491, allocations: 0 / 0.5385 GB, free: 8.102 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003165/0.4494, allocations: 145 kB / 0.5386 GB, free: 8.016 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.4495, allocations: 9.781 kB / 0.5387 GB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.4495, allocations: 0 / 0.5387 GB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.4495, allocations: 1.688 kB / 0.5387 GB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001333/0.4496, allocations: 18.33 kB / 0.5387 GB, free: 8.008 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.4497, allocations: 0 / 0.5387 GB, free: 8.008 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.606e-05/0.4497, allocations: 13.89 kB / 0.5387 GB, free: 8 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/0.4498, allocations: 5.469 kB / 0.5387 GB, free: 7.996 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.0002136/0.45, allocations: 210.2 kB / 0.5389 GB, free: 7.848 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.761e-05/0.4501, allocations: 54.52 kB / 0.5389 GB, free: 7.812 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003974/0.4505, allocations: 165.8 kB / 0.5391 GB, free: 7.715 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.4505, allocations: 0 / 0.5391 GB, free: 7.715 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.4505, allocations: 1.625 kB / 0.5391 GB, free: 7.715 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.674e-06/0.4505, allocations: 7.938 kB / 0.5391 GB, free: 7.707 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006973/0.4512, allocations: 0.4945 MB / 0.5396 GB, free: 7.277 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.4512, allocations: 1.094 kB / 0.5396 GB, free: 7.277 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.574e-05/0.4513, allocations: 17.8 kB / 0.5396 GB, free: 7.273 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.4513, allocations: 1.188 kB / 0.5396 GB, free: 7.273 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.465e-05/0.4513, allocations: 9.109 kB / 0.5396 GB, free: 7.266 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.4513, allocations: 0 / 0.5396 GB, free: 7.266 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.4514, allocations: 1.062 kB / 0.5396 GB, free: 7.266 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003691/0.4517, allocations: 244.7 kB / 0.5399 GB, free: 7.074 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.142e-05/0.4518, allocations: 110 kB / 0.54 GB, free: 6.957 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.213e-05/0.4519, allocations: 9.031 kB / 0.54 GB, free: 6.949 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.452, allocations: 10.02 kB / 0.54 GB, free: 6.945 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.684e-05/0.452, allocations: 6.016 kB / 0.54 GB, free: 6.941 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.622e-06/0.452, allocations: 2.062 kB / 0.54 GB, free: 6.941 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008316/0.4529, allocations: 0.6558 MB / 0.5406 GB, free: 6.621 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.4529, allocations: 0 / 0.5406 GB, free: 6.621 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002908/0.4532, allocations: 20.72 kB / 0.5407 GB, free: 6.621 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.001258/0.4544, allocations: 417 kB / 0.541 GB, free: 6.395 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004066/0.4549, allocations: 78.12 kB / 0.5411 GB, free: 6.363 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.4549, allocations: 5.062 kB / 0.5411 GB, free: 6.359 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001423/0.455, allocations: 37.06 kB / 0.5412 GB, free: 6.348 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005153/0.4555, allocations: 25.17 kB / 0.5412 GB, free: 6.328 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001712/0.4573, allocations: 0.8258 MB / 0.542 GB, free: 5.887 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005877/0.4579, allocations: 0.8255 MB / 0.5428 GB, free: 5.121 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.899e-05/0.4579, allocations: 14.95 kB / 0.5428 GB, free: 5.113 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.833e-05/0.458, allocations: 17.38 kB / 0.5428 GB, free: 5.105 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.458, allocations: 3.938 kB / 0.5428 GB, free: 5.102 MB / 398.1 MB Notification: Performance of Templates: time 0.006283/0.4643, allocations: 1.576 MB / 0.5444 GB, free: 3.809 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches