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.001642/0.001642, allocations: 121.6 kB / 17.78 MB, free: 5.254 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: 200.7 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.46/1.46, 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.2275/0.2275, allocations: 46.11 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001642/0.001642, allocations: 83.81 kB / 481.3 MB, free: 4.031 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5037/0.5054, allocations: 62.42 MB / 0.531 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.004024/0.5095, allocations: 2.056 MB / 0.533 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002082/0.5116, allocations: 1.12 MB / 0.5341 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001227/0.5117, allocations: 2.75 kB / 0.5341 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006265/0.5124, allocations: 272.8 kB / 0.5344 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005873/0.513, allocations: 258.5 kB / 0.5346 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001597/0.5146, allocations: 0.6587 MB / 0.5353 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005016/0.5151, allocations: 350.1 kB / 0.5356 GB, free: 10.19 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002428/0.5154, allocations: 77.45 kB / 0.5357 GB, free: 10.15 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002228/0.5156, allocations: 147.1 kB / 0.5358 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003692/0.516, allocations: 209.6 kB / 0.536 GB, free: 9.961 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.421e-05/0.516, allocations: 15.81 kB / 0.536 GB, free: 9.957 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002863/0.5163, allocations: 97.47 kB / 0.5361 GB, free: 9.926 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001999/0.5165, allocations: 102.2 kB / 0.5362 GB, free: 9.867 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001497/0.5167, allocations: 128.6 kB / 0.5363 GB, free: 9.762 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006374/0.5173, allocations: 349.1 kB / 0.5367 GB, free: 9.539 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.265e-06/0.5173, allocations: 0 / 0.5367 GB, free: 9.539 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.5174, allocations: 0 / 0.5367 GB, free: 9.539 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.277e-05/0.5174, allocations: 5.109 kB / 0.5367 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.001071/0.5185, allocations: 0.6752 MB / 0.5373 GB, free: 8.906 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.247e-05/0.5185, allocations: 14.2 kB / 0.5373 GB, free: 8.902 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000113/0.5186, allocations: 56.17 kB / 0.5374 GB, free: 8.867 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004617/0.5191, allocations: 333 kB / 0.5377 GB, free: 8.551 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.595e-05/0.5191, allocations: 8.719 kB / 0.5377 GB, free: 8.547 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.626e-05/0.5192, allocations: 12.06 kB / 0.5377 GB, free: 8.543 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000326/0.5195, allocations: 136 kB / 0.5379 GB, free: 8.449 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.906e-05/0.5196, allocations: 0 / 0.5379 GB, free: 8.449 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.909e-05/0.5196, allocations: 1.562 kB / 0.5379 GB, free: 8.449 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/0.5196, allocations: 2.938 kB / 0.5379 GB, free: 8.449 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002341/0.5198, allocations: 90.22 kB / 0.5379 GB, free: 8.41 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008528/0.5207, allocations: 0.505 MB / 0.5384 GB, free: 7.965 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002542/0.521, allocations: 112.3 kB / 0.5385 GB, free: 7.898 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001036/0.5211, allocations: 45.17 kB / 0.5386 GB, free: 7.871 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.521e-05/0.5211, allocations: 6.391 kB / 0.5386 GB, free: 7.867 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.22e-05/0.5212, allocations: 35.84 kB / 0.5386 GB, free: 7.824 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.193e-06/0.5212, allocations: 0 / 0.5386 GB, free: 7.824 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001263/0.5225, allocations: 447.8 kB / 0.5391 GB, free: 7.578 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.695e-05/0.5225, allocations: 57.56 kB / 0.5391 GB, free: 7.512 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008538/0.5234, allocations: 0.5717 MB / 0.5397 GB, free: 7.215 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.595e-05/0.5234, allocations: 26.83 kB / 0.5397 GB, free: 7.184 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002005/0.5236, allocations: 210.6 kB / 0.5399 GB, free: 6.992 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.465e-05/0.5237, allocations: 66.3 kB / 0.54 GB, free: 6.934 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.868e-05/0.5238, allocations: 30.84 kB / 0.54 GB, free: 6.91 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001795/0.524, allocations: 359 kB / 0.5403 GB, free: 6.562 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000151/0.5241, allocations: 62.23 kB / 0.5404 GB, free: 6.535 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001477/0.5243, allocations: 69.7 kB / 0.5405 GB, free: 6.504 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003574/0.5247, allocations: 155.2 kB / 0.5406 GB, free: 6.426 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.5247, allocations: 3.938 kB / 0.5406 GB, free: 6.422 MB / 398.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004631/0.5251, allocations: 239.4 kB / 0.5408 GB, free: 6.289 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.596e-05/0.5252, allocations: 5.188 kB / 0.5408 GB, free: 6.289 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.5252, allocations: 3.938 kB / 0.5408 GB, free: 6.285 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/0.5252, allocations: 1.281 kB / 0.5409 GB, free: 6.285 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001887/0.5254, allocations: 31.67 kB / 0.5409 GB, free: 6.281 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.916e-06/0.5254, allocations: 0 / 0.5409 GB, free: 6.281 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.471e-05/0.5255, allocations: 16.52 kB / 0.5409 GB, free: 6.27 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.81e-05/0.5255, allocations: 3.812 kB / 0.5409 GB, free: 6.27 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.0002355/0.5258, allocations: 191.6 kB / 0.5411 GB, free: 6.113 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.384e-05/0.5259, allocations: 42.59 kB / 0.5411 GB, free: 6.09 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006265/0.5265, allocations: 277 kB / 0.5414 GB, free: 5.926 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.654e-06/0.5265, allocations: 6.453 kB / 0.5414 GB, free: 5.922 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.5265, allocations: 0 / 0.5414 GB, free: 5.922 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.5265, allocations: 4 kB / 0.5414 GB, free: 5.918 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001031/0.5276, allocations: 0.6761 MB / 0.5421 GB, free: 5.379 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.5276, allocations: 0 / 0.5421 GB, free: 5.379 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001268/0.5277, allocations: 38.06 kB / 0.5421 GB, free: 5.367 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.5277, allocations: 1 kB / 0.5421 GB, free: 5.367 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.733e-05/0.5278, allocations: 6.375 kB / 0.5421 GB, free: 5.363 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.5278, allocations: 1.125 kB / 0.5421 GB, free: 5.363 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/0.5278, allocations: 3.938 kB / 0.5421 GB, free: 5.359 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004947/0.5283, allocations: 331.2 kB / 0.5424 GB, free: 5.129 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.672e-05/0.5284, allocations: 109.2 kB / 0.5425 GB, free: 5.012 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.61e-05/0.5284, allocations: 5 kB / 0.5425 GB, free: 5.008 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.178e-05/0.5285, allocations: 3.844 kB / 0.5425 GB, free: 5.008 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.488e-05/0.5286, allocations: 18.33 kB / 0.5426 GB, free: 4.996 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.223e-05/0.5286, allocations: 4 kB / 0.5426 GB, free: 4.996 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005264/0.5291, allocations: 430.8 kB / 0.543 GB, free: 4.777 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.5292, allocations: 0 / 0.543 GB, free: 4.777 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003256/0.5295, allocations: 54.55 kB / 0.543 GB, free: 4.762 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.00181/0.5313, allocations: 0.6906 MB / 0.5437 GB, free: 4.426 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003891/0.5317, allocations: 164.8 kB / 0.5439 GB, free: 4.355 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.5317, allocations: 4 kB / 0.5439 GB, free: 4.352 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001792/0.5319, allocations: 96.47 kB / 0.5439 GB, free: 4.309 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006275/0.5325, allocations: 80.62 kB / 0.544 GB, free: 4.273 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001147/0.5337, allocations: 0.7375 MB / 0.5447 GB, free: 3.562 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004218/0.5341, allocations: 0.8299 MB / 0.5456 GB, free: 2.707 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001406/0.5343, allocations: 61.88 kB / 0.5456 GB, free: 2.648 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.576e-05/0.5343, allocations: 23.44 kB / 0.5456 GB, free: 2.629 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.5344, allocations: 3.938 kB / 0.5456 GB, free: 2.625 MB / 398.1 MB Notification: Performance of Templates: time 0.007849/0.5422, allocations: 3.393 MB / 0.549 GB, free: 15.25 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches