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.001443/0.001443, allocations: 118.8 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001745/0.001745, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.493/1.493, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2575/0.2575, allocations: 46.11 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001564/0.001564, allocations: 79.88 kB / 481.3 MB, free: 4.023 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3952/0.3967, allocations: 62.43 MB / 0.531 GB, free: 13.79 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.00474/0.4016, allocations: 2.051 MB / 0.533 GB, free: 12.19 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002512/0.4041, allocations: 1.119 MB / 0.5341 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001343/0.4043, allocations: 2.75 kB / 0.5341 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005553/0.4048, allocations: 269.4 kB / 0.5344 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005525/0.4054, allocations: 262.5 kB / 0.5346 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001735/0.4072, allocations: 0.6636 MB / 0.5353 GB, free: 10.58 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006881/0.4079, allocations: 347.7 kB / 0.5356 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002527/0.4081, allocations: 72.44 kB / 0.5357 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002938/0.4084, allocations: 152.8 kB / 0.5358 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003485/0.4088, allocations: 213.8 kB / 0.536 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.014e-05/0.4088, allocations: 10.53 kB / 0.536 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003223/0.4092, allocations: 106 kB / 0.5361 GB, free: 10.12 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000198/0.4094, allocations: 97.89 kB / 0.5362 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001844/0.4096, allocations: 121 kB / 0.5363 GB, free: 9.969 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006046/0.4102, allocations: 359 kB / 0.5367 GB, free: 9.734 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/0.4102, allocations: 0 / 0.5367 GB, free: 9.734 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.866e-06/0.4102, allocations: 0 / 0.5367 GB, free: 9.734 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.258e-05/0.4102, allocations: 0 / 0.5367 GB, free: 9.734 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.001106/0.4113, allocations: 0.6656 MB / 0.5373 GB, free: 9.113 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.114e-05/0.4114, allocations: 11.03 kB / 0.5373 GB, free: 9.113 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001379/0.4116, allocations: 39.59 kB / 0.5374 GB, free: 9.094 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004715/0.412, allocations: 333.9 kB / 0.5377 GB, free: 8.777 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.823e-05/0.4121, allocations: 8.219 kB / 0.5377 GB, free: 8.773 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.625e-05/0.4121, allocations: 11.16 kB / 0.5377 GB, free: 8.77 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003029/0.4124, allocations: 135.9 kB / 0.5378 GB, free: 8.676 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/0.4125, allocations: 1.125 kB / 0.5378 GB, free: 8.676 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.044e-05/0.4125, allocations: 6.312 kB / 0.5378 GB, free: 8.672 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.4125, allocations: 1.531 kB / 0.5378 GB, free: 8.672 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002113/0.4127, allocations: 90.38 kB / 0.5379 GB, free: 8.633 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008052/0.4135, allocations: 0.5022 MB / 0.5384 GB, free: 8.191 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002301/0.4138, allocations: 108.4 kB / 0.5385 GB, free: 8.129 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.603e-05/0.4139, allocations: 47.72 kB / 0.5386 GB, free: 8.098 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.547e-05/0.4139, allocations: 6.812 kB / 0.5386 GB, free: 8.094 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.964e-05/0.4139, allocations: 35.88 kB / 0.5386 GB, free: 8.051 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.543e-06/0.4139, allocations: 0 / 0.5386 GB, free: 8.051 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001099/0.4151, allocations: 446.9 kB / 0.539 GB, free: 7.805 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.486e-05/0.4151, allocations: 53.38 kB / 0.5391 GB, free: 7.742 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007523/0.4159, allocations: 0.5728 MB / 0.5396 GB, free: 7.445 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.947e-05/0.4159, allocations: 37.58 kB / 0.5397 GB, free: 7.402 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001714/0.4161, allocations: 202.8 kB / 0.5399 GB, free: 7.219 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.391e-05/0.4161, allocations: 57.86 kB / 0.5399 GB, free: 7.168 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.624e-05/0.4162, allocations: 38.83 kB / 0.54 GB, free: 7.137 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001848/0.4164, allocations: 355 kB / 0.5403 GB, free: 6.793 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001469/0.4166, allocations: 62.16 kB / 0.5404 GB, free: 6.766 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001488/0.4167, allocations: 63.73 kB / 0.5404 GB, free: 6.738 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003073/0.417, allocations: 165.9 kB / 0.5406 GB, free: 6.652 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.4171, allocations: 3.938 kB / 0.5406 GB, free: 6.648 MB / 398.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004407/0.4175, allocations: 224.9 kB / 0.5408 GB, free: 6.527 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.435e-05/0.4175, allocations: 9.766 kB / 0.5408 GB, free: 6.523 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.4175, allocations: 0 / 0.5408 GB, free: 6.523 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.4176, allocations: 1.438 kB / 0.5408 GB, free: 6.523 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001851/0.4178, allocations: 34.55 kB / 0.5408 GB, free: 6.516 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.4178, allocations: 5.156 kB / 0.5408 GB, free: 6.512 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.271e-05/0.4179, allocations: 11.39 kB / 0.5409 GB, free: 6.504 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.659e-05/0.4179, allocations: 4.562 kB / 0.5409 GB, free: 6.504 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.0001952/0.4181, allocations: 180.8 kB / 0.541 GB, free: 6.359 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.209e-05/0.4182, allocations: 44.75 kB / 0.5411 GB, free: 6.332 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005939/0.4188, allocations: 285 kB / 0.5414 GB, free: 6.16 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.4188, allocations: 2.094 kB / 0.5414 GB, free: 6.16 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.4188, allocations: 4 kB / 0.5414 GB, free: 6.156 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.4188, allocations: 3.984 kB / 0.5414 GB, free: 6.152 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009537/0.4198, allocations: 0.6725 MB / 0.542 GB, free: 5.617 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.4198, allocations: 0 / 0.542 GB, free: 5.617 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001163/0.4199, allocations: 37.5 kB / 0.5421 GB, free: 5.605 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.4199, allocations: 5.094 kB / 0.5421 GB, free: 5.602 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.516e-05/0.42, allocations: 6.281 kB / 0.5421 GB, free: 5.598 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.42, allocations: 5.25 kB / 0.5421 GB, free: 5.594 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.42, allocations: 3.938 kB / 0.5421 GB, free: 5.59 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004613/0.4204, allocations: 328.2 kB / 0.5424 GB, free: 5.363 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.464e-05/0.4205, allocations: 105.3 kB / 0.5425 GB, free: 5.25 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.971e-05/0.4206, allocations: 9.078 kB / 0.5425 GB, free: 5.242 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.503e-05/0.4207, allocations: 8.406 kB / 0.5425 GB, free: 5.238 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.568e-05/0.4207, allocations: 17.61 kB / 0.5425 GB, free: 5.227 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.247e-05/0.4208, allocations: 3.875 kB / 0.5425 GB, free: 5.227 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005358/0.4213, allocations: 428.2 kB / 0.5429 GB, free: 5.012 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4213, allocations: 0 / 0.5429 GB, free: 5.012 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003482/0.4217, allocations: 53.2 kB / 0.543 GB, free: 4.996 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.001856/0.4235, allocations: 0.6847 MB / 0.5437 GB, free: 4.664 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004233/0.424, allocations: 166.7 kB / 0.5438 GB, free: 4.594 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.424, allocations: 0 / 0.5438 GB, free: 4.594 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000187/0.4242, allocations: 97.56 kB / 0.5439 GB, free: 4.551 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006198/0.4248, allocations: 77.06 kB / 0.544 GB, free: 4.512 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001259/0.4261, allocations: 0.7211 MB / 0.5447 GB, free: 3.762 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005035/0.4266, allocations: 0.8337 MB / 0.5455 GB, free: 2.902 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000146/0.4267, allocations: 53.91 kB / 0.5455 GB, free: 2.852 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.993e-05/0.4268, allocations: 35.42 kB / 0.5456 GB, free: 2.82 MB / 398.1 MB Notification: Performance of SimCode: time 2.244e-06/0.4268, allocations: 0 / 0.5456 GB, free: 2.82 MB / 398.1 MB Notification: Performance of Templates: time 0.007228/0.4341, allocations: 3.391 MB / 0.5489 GB, free: 15.45 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