Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.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.CombiTable2Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001524/0.001524, allocations: 121.7 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001844/0.001844, allocations: 212.8 kB / 19.41 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.466/1.466, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2453/0.2453, allocations: 46.09 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001617/0.001617, allocations: 72.16 kB / 482 MB, free: 4.055 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4023/0.4039, allocations: 62.43 MB / 0.5317 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.003785/0.4078, allocations: 2.059 MB / 0.5337 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002189/0.41, allocations: 1.123 MB / 0.5348 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001516/0.4101, allocations: 2.75 kB / 0.5348 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005684/0.4107, allocations: 269.4 kB / 0.535 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005453/0.4113, allocations: 258.5 kB / 0.5353 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001599/0.4129, allocations: 0.6569 MB / 0.5359 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005121/0.4134, allocations: 356.1 kB / 0.5363 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002185/0.4137, allocations: 77.17 kB / 0.5363 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001856/0.4139, allocations: 147.9 kB / 0.5365 GB, free: 10.06 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002719/0.4141, allocations: 210.7 kB / 0.5367 GB, free: 9.957 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.362e-05/0.4142, allocations: 10.38 kB / 0.5367 GB, free: 9.957 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002284/0.4144, allocations: 102.1 kB / 0.5368 GB, free: 9.922 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001536/0.4146, allocations: 101.5 kB / 0.5369 GB, free: 9.863 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001267/0.4147, allocations: 124.7 kB / 0.537 GB, free: 9.762 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000462/0.4152, allocations: 353.6 kB / 0.5373 GB, free: 9.535 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.4152, allocations: 0 / 0.5373 GB, free: 9.535 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.4152, allocations: 0 / 0.5373 GB, free: 9.535 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.255e-06/0.4152, allocations: 0 / 0.5373 GB, free: 9.535 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008604/0.4161, allocations: 0.6622 MB / 0.538 GB, free: 8.922 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.4161, allocations: 14.97 kB / 0.538 GB, free: 8.918 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.111e-05/0.4162, allocations: 43.03 kB / 0.538 GB, free: 8.895 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004047/0.4166, allocations: 341.4 kB / 0.5384 GB, free: 8.57 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.593e-05/0.4167, allocations: 4.906 kB / 0.5384 GB, free: 8.57 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.483e-05/0.4167, allocations: 11.66 kB / 0.5384 GB, free: 8.566 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002771/0.417, allocations: 135.5 kB / 0.5385 GB, free: 8.473 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/0.417, allocations: 0.8438 kB / 0.5385 GB, free: 8.473 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.796e-05/0.417, allocations: 4.656 kB / 0.5385 GB, free: 8.469 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.357e-06/0.4171, allocations: 3.312 kB / 0.5385 GB, free: 8.469 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002092/0.4173, allocations: 101.7 kB / 0.5386 GB, free: 8.418 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007479/0.418, allocations: 0.4905 MB / 0.5391 GB, free: 7.988 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002106/0.4183, allocations: 108.7 kB / 0.5392 GB, free: 7.926 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.571e-05/0.4184, allocations: 40.25 kB / 0.5392 GB, free: 7.902 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.036e-05/0.4184, allocations: 5.547 kB / 0.5392 GB, free: 7.898 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.166e-05/0.4184, allocations: 40.09 kB / 0.5393 GB, free: 7.852 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.373e-06/0.4184, allocations: 0 / 0.5393 GB, free: 7.852 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001072/0.4195, allocations: 443.9 kB / 0.5397 GB, free: 7.609 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.653e-05/0.4196, allocations: 53.62 kB / 0.5397 GB, free: 7.547 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007366/0.4203, allocations: 0.5712 MB / 0.5403 GB, free: 7.25 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.239e-05/0.4203, allocations: 34.98 kB / 0.5403 GB, free: 7.211 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002131/0.4206, allocations: 206.4 kB / 0.5405 GB, free: 7.023 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.763e-05/0.4206, allocations: 61.59 kB / 0.5406 GB, free: 6.969 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.698e-05/0.4207, allocations: 35.2 kB / 0.5406 GB, free: 6.941 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000176/0.4209, allocations: 351.5 kB / 0.541 GB, free: 6.602 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001554/0.4211, allocations: 66.27 kB / 0.541 GB, free: 6.57 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001308/0.4212, allocations: 67.33 kB / 0.5411 GB, free: 6.539 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003/0.4215, allocations: 165.1 kB / 0.5412 GB, free: 6.453 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.4215, allocations: 3.938 kB / 0.5412 GB, free: 6.449 MB / 398.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004164/0.4219, allocations: 232.2 kB / 0.5415 GB, free: 6.324 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.422, allocations: 4.938 kB / 0.5415 GB, free: 6.324 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.422, allocations: 0 / 0.5415 GB, free: 6.324 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/0.422, allocations: 1.188 kB / 0.5415 GB, free: 6.324 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001599/0.4222, allocations: 34.86 kB / 0.5415 GB, free: 6.316 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.849e-06/0.4222, allocations: 13.42 kB / 0.5415 GB, free: 6.305 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.619e-05/0.4223, allocations: 4.375 kB / 0.5415 GB, free: 6.305 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.847e-05/0.4223, allocations: 8.438 kB / 0.5415 GB, free: 6.301 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 (17): * Single equations (assignments): 17 * 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.000179/0.4225, allocations: 179.2 kB / 0.5417 GB, free: 6.156 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.678e-05/0.4226, allocations: 45 kB / 0.5417 GB, free: 6.129 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000549/0.4231, allocations: 283.2 kB / 0.542 GB, free: 5.957 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.4231, allocations: 1.375 kB / 0.542 GB, free: 5.957 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.4232, allocations: 5.156 kB / 0.542 GB, free: 5.953 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.4232, allocations: 0 / 0.542 GB, free: 5.953 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009973/0.4242, allocations: 0.6786 MB / 0.5427 GB, free: 5.414 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.4242, allocations: 0 / 0.5427 GB, free: 5.414 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001156/0.4243, allocations: 34.05 kB / 0.5427 GB, free: 5.406 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.546e-06/0.4243, allocations: 1.188 kB / 0.5427 GB, free: 5.406 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/0.4243, allocations: 2.219 kB / 0.5427 GB, free: 5.406 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.4243, allocations: 1.156 kB / 0.5427 GB, free: 5.406 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.4243, allocations: 7.938 kB / 0.5427 GB, free: 5.398 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004613/0.4248, allocations: 338 kB / 0.5431 GB, free: 5.16 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.157e-05/0.4249, allocations: 105.5 kB / 0.5432 GB, free: 5.047 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.332e-05/0.4249, allocations: 1.062 kB / 0.5432 GB, free: 5.047 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.551e-05/0.425, allocations: 7.781 kB / 0.5432 GB, free: 5.043 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.781e-05/0.4251, allocations: 14.27 kB / 0.5432 GB, free: 5.035 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.604e-05/0.4251, allocations: 16.11 kB / 0.5432 GB, free: 5.023 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004873/0.4256, allocations: 423.2 kB / 0.5436 GB, free: 4.812 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4256, allocations: 0 / 0.5436 GB, free: 4.812 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003276/0.4259, allocations: 54.42 kB / 0.5436 GB, free: 4.797 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 (17): * Single equations (assignments): 17 * 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.001715/0.4277, allocations: 0.6846 MB / 0.5443 GB, free: 4.469 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003934/0.4281, allocations: 174.2 kB / 0.5445 GB, free: 4.391 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.4281, allocations: 0 / 0.5445 GB, free: 4.391 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001681/0.4283, allocations: 90.7 kB / 0.5446 GB, free: 4.355 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005696/0.4288, allocations: 81.83 kB / 0.5446 GB, free: 4.316 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001198/0.43, allocations: 0.7378 MB / 0.5454 GB, free: 3.609 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004399/0.4305, allocations: 0.8182 MB / 0.5462 GB, free: 2.766 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.381e-05/0.4306, allocations: 31.42 kB / 0.5462 GB, free: 2.738 MB / 398.1 MB Notification: Performance of SimCode: time 2.51e-07/0.4306, allocations: 0 / 0.5462 GB, free: 2.738 MB / 398.1 MB Notification: Performance of Templates: time 0.007381/0.438, allocations: 4.815 MB / 0.5509 GB, free: 13.93 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches