Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.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.Test20,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.Test20") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test20,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.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001338/0.001338, allocations: 112.4 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001451/0.001451, allocations: 208 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.382/1.382, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2029/0.2029, allocations: 46.11 MB / 345 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 76.16 kB / 482 MB, free: 4.059 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2949/0.2963, allocations: 62.44 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test20): time 0.003242/0.2996, allocations: 2.055 MB / 0.5337 GB, free: 12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001862/0.3015, allocations: 1.126 MB / 0.5348 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001135/0.3016, allocations: 2.75 kB / 0.5348 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004405/0.3021, allocations: 269.9 kB / 0.535 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000479/0.3026, allocations: 257.3 kB / 0.5353 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001358/0.304, allocations: 0.6478 MB / 0.5359 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004213/0.3044, allocations: 354.2 kB / 0.5362 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002112/0.3046, allocations: 81.44 kB / 0.5363 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001598/0.3048, allocations: 143.6 kB / 0.5365 GB, free: 10.09 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002698/0.3051, allocations: 209.5 kB / 0.5367 GB, free: 9.98 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.803e-05/0.3051, allocations: 11.81 kB / 0.5367 GB, free: 9.98 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001549/0.3053, allocations: 75.34 kB / 0.5367 GB, free: 9.953 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001428/0.3054, allocations: 100.8 kB / 0.5368 GB, free: 9.895 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.728e-05/0.3055, allocations: 120.5 kB / 0.537 GB, free: 9.797 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004168/0.3059, allocations: 337.8 kB / 0.5373 GB, free: 9.578 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.306, allocations: 0 / 0.5373 GB, free: 9.578 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.306, allocations: 3.938 kB / 0.5373 GB, free: 9.574 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.514e-06/0.306, allocations: 1.156 kB / 0.5373 GB, free: 9.574 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.0007511/0.3067, allocations: 0.658 MB / 0.5379 GB, free: 8.961 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.3068, allocations: 11.16 kB / 0.5379 GB, free: 8.961 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.661e-05/0.3069, allocations: 40.16 kB / 0.538 GB, free: 8.941 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003773/0.3072, allocations: 341.4 kB / 0.5383 GB, free: 8.617 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.3073, allocations: 3.781 kB / 0.5383 GB, free: 8.617 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.117e-05/0.3073, allocations: 12.12 kB / 0.5383 GB, free: 8.613 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002543/0.3076, allocations: 132.4 kB / 0.5384 GB, free: 8.523 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.3076, allocations: 0 / 0.5384 GB, free: 8.523 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.893e-05/0.3076, allocations: 5.844 kB / 0.5384 GB, free: 8.52 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.3076, allocations: 5.844 kB / 0.5384 GB, free: 8.516 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001966/0.3078, allocations: 95.36 kB / 0.5385 GB, free: 8.473 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006641/0.3085, allocations: 0.497 MB / 0.539 GB, free: 8.035 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001888/0.3087, allocations: 112.2 kB / 0.5391 GB, free: 7.969 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.057e-05/0.3088, allocations: 40.06 kB / 0.5392 GB, free: 7.945 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.828e-05/0.3088, allocations: 6.391 kB / 0.5392 GB, free: 7.941 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.522e-05/0.3089, allocations: 39.66 kB / 0.5392 GB, free: 7.895 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.263e-06/0.3089, allocations: 4 kB / 0.5392 GB, free: 7.891 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001033/0.3099, allocations: 447.9 kB / 0.5396 GB, free: 7.645 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.342e-05/0.3099, allocations: 52.75 kB / 0.5397 GB, free: 7.582 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005865/0.3105, allocations: 0.5643 MB / 0.5402 GB, free: 7.293 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.116e-05/0.3106, allocations: 31.58 kB / 0.5403 GB, free: 7.258 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001525/0.3107, allocations: 205.6 kB / 0.5405 GB, free: 7.07 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.057e-05/0.3108, allocations: 62.39 kB / 0.5405 GB, free: 7.016 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.503e-05/0.3109, allocations: 34.58 kB / 0.5406 GB, free: 6.988 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.311, allocations: 350.7 kB / 0.5409 GB, free: 6.648 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001437/0.3111, allocations: 66.58 kB / 0.541 GB, free: 6.617 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001276/0.3113, allocations: 68.33 kB / 0.541 GB, free: 6.586 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002722/0.3115, allocations: 160.6 kB / 0.5412 GB, free: 6.504 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.3116, allocations: 7.938 kB / 0.5412 GB, free: 6.496 MB / 398.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004105/0.312, allocations: 231.7 kB / 0.5414 GB, free: 6.371 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.312, allocations: 4.531 kB / 0.5414 GB, free: 6.371 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-06/0.312, allocations: 1 kB / 0.5414 GB, free: 6.371 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.312, allocations: 1.094 kB / 0.5414 GB, free: 6.371 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001702/0.3122, allocations: 34.34 kB / 0.5414 GB, free: 6.363 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.321e-06/0.3122, allocations: 5.125 kB / 0.5415 GB, free: 6.359 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.085e-05/0.3123, allocations: 4.438 kB / 0.5415 GB, free: 6.359 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.508e-05/0.3123, allocations: 12.56 kB / 0.5415 GB, free: 6.352 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.0001689/0.3125, allocations: 178.3 kB / 0.5416 GB, free: 6.207 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.293e-05/0.3126, allocations: 42.56 kB / 0.5417 GB, free: 6.184 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005325/0.3131, allocations: 282.4 kB / 0.5419 GB, free: 6.012 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/0.3131, allocations: 1.188 kB / 0.542 GB, free: 6.012 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.3131, allocations: 1.156 kB / 0.542 GB, free: 6.012 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.3131, allocations: 3.938 kB / 0.542 GB, free: 6.008 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000867/0.314, allocations: 0.6827 MB / 0.5426 GB, free: 5.461 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.314, allocations: 1.5 kB / 0.5426 GB, free: 5.461 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001168/0.3142, allocations: 33.83 kB / 0.5427 GB, free: 5.453 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.3142, allocations: 1.125 kB / 0.5427 GB, free: 5.453 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.341e-05/0.3142, allocations: 6.266 kB / 0.5427 GB, free: 5.449 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.3142, allocations: 0 / 0.5427 GB, free: 5.449 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.3142, allocations: 5.031 kB / 0.5427 GB, free: 5.445 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004381/0.3146, allocations: 344.7 kB / 0.543 GB, free: 5.203 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.399e-05/0.3147, allocations: 105 kB / 0.5431 GB, free: 5.09 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.181e-05/0.3148, allocations: 5.094 kB / 0.5431 GB, free: 5.086 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.3149, allocations: 7.391 kB / 0.5431 GB, free: 5.082 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.13e-05/0.3149, allocations: 13.48 kB / 0.5431 GB, free: 5.074 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.438e-05/0.315, allocations: 8.406 kB / 0.5431 GB, free: 5.07 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004494/0.3154, allocations: 431.4 kB / 0.5435 GB, free: 4.852 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3154, allocations: 0 / 0.5435 GB, free: 4.852 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003313/0.3158, allocations: 50.72 kB / 0.5436 GB, free: 4.84 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.001614/0.3174, allocations: 0.686 MB / 0.5443 GB, free: 4.512 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003608/0.3178, allocations: 164.8 kB / 0.5444 GB, free: 4.441 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.3178, allocations: 5.188 kB / 0.5444 GB, free: 4.438 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001613/0.3179, allocations: 90.08 kB / 0.5445 GB, free: 4.402 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000578/0.3185, allocations: 83.81 kB / 0.5446 GB, free: 4.363 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001081/0.3196, allocations: 0.737 MB / 0.5453 GB, free: 3.703 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000368/0.32, allocations: 0.8182 MB / 0.5461 GB, free: 2.859 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.993e-05/0.3201, allocations: 35.42 kB / 0.5461 GB, free: 2.828 MB / 398.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3201, allocations: 0 / 0.5461 GB, free: 2.828 MB / 398.1 MB Notification: Performance of Templates: time 0.007568/0.3277, allocations: 4.816 MB / 0.5508 GB, free: 14.02 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches