Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001313/0.001313, allocations: 118.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.00129/0.00129, allocations: 197.2 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.396/1.396, allocations: 227.4 MB / 247 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2172/0.2172, allocations: 46.12 MB / 344.4 MB, free: 11.43 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002101/0.002101, allocations: 79.88 kB / 480.9 MB, free: 4.465 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3144/0.3165, allocations: 62.45 MB / 0.5306 GB, free: 13.35 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab): time 0.002945/0.3195, allocations: 1.598 MB / 0.5322 GB, free: 12.1 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001005/0.3205, allocations: 0.5484 MB / 0.5327 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.457e-05/0.3206, allocations: 3.938 kB / 0.5327 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002254/0.3209, allocations: 24.41 kB / 0.5328 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002579/0.3211, allocations: 81 kB / 0.5328 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002639/0.3214, allocations: 93.81 kB / 0.5329 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001603/0.3216, allocations: 81.16 kB / 0.533 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.834e-05/0.3217, allocations: 14.66 kB / 0.533 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.865e-05/0.3217, allocations: 22.73 kB / 0.533 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.873e-05/0.3218, allocations: 35.97 kB / 0.5331 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.573e-05/0.3218, allocations: 3.031 kB / 0.5331 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001756/0.322, allocations: 100.6 kB / 0.5332 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.337e-05/0.3221, allocations: 20.05 kB / 0.5332 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.041e-05/0.3221, allocations: 25.31 kB / 0.5332 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002666/0.3224, allocations: 150.2 kB / 0.5334 GB, free: 11.27 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.654e-06/0.3224, allocations: 0 / 0.5334 GB, free: 11.27 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3224, allocations: 5.312 kB / 0.5334 GB, free: 11.27 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.3224, allocations: 0 / 0.5334 GB, free: 11.27 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005393/0.323, allocations: 418.1 kB / 0.5338 GB, free: 10.84 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.323, allocations: 9.625 kB / 0.5338 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.319e-05/0.3231, allocations: 32.12 kB / 0.5338 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.099e-05/0.3231, allocations: 11.62 kB / 0.5338 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002328/0.3234, allocations: 201.3 kB / 0.534 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.3234, allocations: 1.75 kB / 0.534 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.801e-05/0.3234, allocations: 1.75 kB / 0.534 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001604/0.3236, allocations: 78.44 kB / 0.5341 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.3236, allocations: 3.938 kB / 0.5341 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.3236, allocations: 5.375 kB / 0.5341 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.3236, allocations: 0 / 0.5341 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.534e-05/0.3237, allocations: 24.48 kB / 0.5341 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004449/0.3242, allocations: 299 kB / 0.5344 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001285/0.3243, allocations: 65.8 kB / 0.5345 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.414e-05/0.3244, allocations: 33.34 kB / 0.5345 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.45e-05/0.3244, allocations: 1.375 kB / 0.5345 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.208e-05/0.3244, allocations: 31.94 kB / 0.5345 GB, free: 10.05 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.182e-06/0.3244, allocations: 0 / 0.5345 GB, free: 10.05 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006379/0.3251, allocations: 186.6 kB / 0.5347 GB, free: 9.945 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.013e-05/0.3252, allocations: 83.19 kB / 0.5348 GB, free: 9.848 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001694/0.3253, allocations: 151.5 kB / 0.5349 GB, free: 9.719 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/0.3254, allocations: 26.73 kB / 0.535 GB, free: 9.688 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.035e-05/0.3254, allocations: 103.7 kB / 0.5351 GB, free: 9.586 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.765e-05/0.3255, allocations: 23.8 kB / 0.5351 GB, free: 9.566 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.967e-05/0.3255, allocations: 27.92 kB / 0.5351 GB, free: 9.539 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.3257, allocations: 329.9 kB / 0.5354 GB, free: 9.211 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.552e-05/0.3258, allocations: 28.73 kB / 0.5355 GB, free: 9.199 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.719e-05/0.3259, allocations: 50.97 kB / 0.5355 GB, free: 9.164 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001663/0.326, allocations: 66.95 kB / 0.5356 GB, free: 9.133 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.3261, allocations: 0 / 0.5356 GB, free: 9.133 MB / 398.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000246/0.3263, allocations: 127.7 kB / 0.5357 GB, free: 9.051 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.3263, allocations: 4.531 kB / 0.5357 GB, free: 9.051 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.3263, allocations: 1.156 kB / 0.5357 GB, free: 9.051 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.3264, allocations: 0 / 0.5357 GB, free: 9.051 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001076/0.3265, allocations: 19.52 kB / 0.5357 GB, free: 9.047 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.3265, allocations: 1.125 kB / 0.5357 GB, free: 9.047 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.55e-05/0.3265, allocations: 3.281 kB / 0.5357 GB, free: 9.047 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.147e-05/0.3266, allocations: 6.156 kB / 0.5357 GB, free: 9.043 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 (9): * Single equations (assignments): 9 * 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.0001009/0.3267, allocations: 126.3 kB / 0.5358 GB, free: 8.914 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.475e-05/0.3267, allocations: 12.58 kB / 0.5359 GB, free: 8.906 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002817/0.327, allocations: 118.2 kB / 0.536 GB, free: 8.824 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.327, allocations: 1.219 kB / 0.536 GB, free: 8.824 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.327, allocations: 0 / 0.536 GB, free: 8.824 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.327, allocations: 1.156 kB / 0.536 GB, free: 8.824 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005297/0.3276, allocations: 402.5 kB / 0.5364 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3276, allocations: 5.531 kB / 0.5364 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.919e-05/0.3276, allocations: 16.89 kB / 0.5364 GB, free: 8.43 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.01e-06/0.3277, allocations: 1.344 kB / 0.5364 GB, free: 8.43 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.3277, allocations: 7.875 kB / 0.5364 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.3277, allocations: 5.062 kB / 0.5364 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.3277, allocations: 0 / 0.5364 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002661/0.328, allocations: 200.8 kB / 0.5366 GB, free: 8.25 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.193e-05/0.328, allocations: 87.72 kB / 0.5367 GB, free: 8.148 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.267e-05/0.328, allocations: 7.922 kB / 0.5367 GB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.333e-05/0.3281, allocations: 8.438 kB / 0.5367 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.07e-05/0.3282, allocations: 6.953 kB / 0.5367 GB, free: 8.133 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.424e-06/0.3282, allocations: 5.375 kB / 0.5367 GB, free: 8.129 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001017/0.3283, allocations: 116 kB / 0.5368 GB, free: 8.039 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3283, allocations: 0 / 0.5368 GB, free: 8.039 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002875/0.3286, allocations: 43.36 kB / 0.5368 GB, free: 8.023 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 (8): * Single equations (assignments): 8 * 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.002116/0.3307, allocations: 1.135 MB / 0.538 GB, free: 7.145 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002412/0.331, allocations: 72.2 kB / 0.538 GB, free: 7.117 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.331, allocations: 5.125 kB / 0.538 GB, free: 7.113 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.202e-05/0.3311, allocations: 37.97 kB / 0.5381 GB, free: 7.098 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00035/0.3314, allocations: 19.11 kB / 0.5381 GB, free: 7.09 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001773/0.3332, allocations: 1.55 MB / 0.5396 GB, free: 5.719 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003132/0.3335, allocations: 0.7039 MB / 0.5403 GB, free: 5.004 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.408e-05/0.3336, allocations: 28.03 kB / 0.5403 GB, free: 4.988 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.602e-05/0.3337, allocations: 31.45 kB / 0.5403 GB, free: 4.965 MB / 398.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3337, allocations: 0.9688 kB / 0.5403 GB, free: 4.965 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02465/0.3584, allocations: 3.545 MB / 0.5438 GB, free: 2.973 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.669/8.027, allocations: 10.03 kB / 0.5438 GB, free: 2.965 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches