Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test25_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_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.001172/0.001172, allocations: 122.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.001409/0.001409, allocations: 202 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.393/1.393, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2164/0.2164, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001479/0.001479, allocations: 79.81 kB / 480.8 MB, free: 4.535 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3241/0.3256, allocations: 62.43 MB / 0.5305 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.003001/0.3287, allocations: 1.612 MB / 0.5321 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009606/0.3296, allocations: 0.5493 MB / 0.5326 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.55e-05/0.3297, allocations: 0 / 0.5326 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002321/0.33, allocations: 36.86 kB / 0.5327 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002558/0.3302, allocations: 67.58 kB / 0.5327 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000326/0.3306, allocations: 131 kB / 0.5329 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000155/0.3307, allocations: 71.8 kB / 0.5329 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.692e-05/0.3308, allocations: 10.91 kB / 0.5329 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.902e-05/0.3309, allocations: 22.64 kB / 0.533 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.199e-05/0.331, allocations: 37.42 kB / 0.533 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.828e-05/0.331, allocations: 4.344 kB / 0.533 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001743/0.3312, allocations: 97.75 kB / 0.5331 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.937e-05/0.3313, allocations: 22.86 kB / 0.5331 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.038e-05/0.3313, allocations: 25.08 kB / 0.5331 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002904/0.3316, allocations: 141 kB / 0.5333 GB, free: 11.32 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.754e-06/0.3316, allocations: 4 kB / 0.5333 GB, free: 11.32 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3316, allocations: 1.469 kB / 0.5333 GB, free: 11.32 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.3316, allocations: 0 / 0.5333 GB, free: 11.32 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000592/0.3322, allocations: 408.5 kB / 0.5337 GB, free: 10.9 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/0.3323, allocations: 8.969 kB / 0.5337 GB, free: 10.9 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.371e-05/0.3323, allocations: 35.97 kB / 0.5337 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.226e-05/0.3324, allocations: 8.922 kB / 0.5337 GB, free: 10.85 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000246/0.3326, allocations: 200 kB / 0.5339 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.3327, allocations: 1.688 kB / 0.5339 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.323e-05/0.3327, allocations: 5.984 kB / 0.5339 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001748/0.3329, allocations: 72.73 kB / 0.534 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.3329, allocations: 0 / 0.534 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.3329, allocations: 1.625 kB / 0.534 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.3329, allocations: 0 / 0.534 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001084/0.333, allocations: 25.48 kB / 0.534 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004787/0.3335, allocations: 291.8 kB / 0.5343 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001239/0.3336, allocations: 55.11 kB / 0.5344 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.953e-05/0.3337, allocations: 19.86 kB / 0.5344 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.982e-05/0.3338, allocations: 9.453 kB / 0.5344 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.115e-05/0.3338, allocations: 34.56 kB / 0.5344 GB, free: 10.13 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.3338, allocations: 1.375 kB / 0.5344 GB, free: 10.13 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.000677/0.3345, allocations: 181.1 kB / 0.5346 GB, free: 10.02 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.244e-05/0.3346, allocations: 78.48 kB / 0.5347 GB, free: 9.93 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001803/0.3347, allocations: 154.4 kB / 0.5348 GB, free: 9.797 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/0.3348, allocations: 31.08 kB / 0.5348 GB, free: 9.762 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.152e-05/0.3348, allocations: 94.88 kB / 0.5349 GB, free: 9.668 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.679e-05/0.3349, allocations: 22.55 kB / 0.5349 GB, free: 9.648 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.914e-05/0.3349, allocations: 24.58 kB / 0.535 GB, free: 9.625 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.3351, allocations: 329.4 kB / 0.5353 GB, free: 9.297 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.095e-05/0.3352, allocations: 28.47 kB / 0.5353 GB, free: 9.285 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001018/0.3353, allocations: 56.88 kB / 0.5354 GB, free: 9.242 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001827/0.3355, allocations: 64.58 kB / 0.5354 GB, free: 9.211 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.3355, allocations: 1.375 kB / 0.5354 GB, free: 9.211 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002296/0.3357, allocations: 107 kB / 0.5355 GB, free: 9.145 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.3358, allocations: 5.5 kB / 0.5355 GB, free: 9.145 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.3358, allocations: 0 / 0.5355 GB, free: 9.145 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.3358, allocations: 1.375 kB / 0.5355 GB, free: 9.145 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001332/0.3359, allocations: 21.77 kB / 0.5356 GB, free: 9.137 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.189e-06/0.3359, allocations: 3.938 kB / 0.5356 GB, free: 9.133 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.17e-05/0.336, allocations: 12.06 kB / 0.5356 GB, free: 9.125 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.336, allocations: 1.375 kB / 0.5356 GB, free: 9.125 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 (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 prepare postOptimizeDAE: time 9.126e-05/0.3361, allocations: 123.3 kB / 0.5357 GB, free: 9 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.589e-05/0.3361, allocations: 8.078 kB / 0.5357 GB, free: 8.996 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002712/0.3364, allocations: 112.7 kB / 0.5358 GB, free: 8.918 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.3364, allocations: 4 kB / 0.5358 GB, free: 8.914 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.3365, allocations: 1.688 kB / 0.5358 GB, free: 8.914 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.3365, allocations: 3.938 kB / 0.5358 GB, free: 8.91 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005126/0.337, allocations: 397.9 kB / 0.5362 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.337, allocations: 1.25 kB / 0.5362 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.07e-05/0.3371, allocations: 19.27 kB / 0.5362 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.3371, allocations: 5 kB / 0.5362 GB, free: 8.516 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.3371, allocations: 1.094 kB / 0.5362 GB, free: 8.516 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.3371, allocations: 4.078 kB / 0.5362 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.3371, allocations: 4.984 kB / 0.5362 GB, free: 8.508 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002617/0.3374, allocations: 190.6 kB / 0.5364 GB, free: 8.348 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.424e-05/0.3374, allocations: 82.38 kB / 0.5365 GB, free: 8.25 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.386e-05/0.3375, allocations: 13.52 kB / 0.5365 GB, free: 8.238 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.576e-05/0.3375, allocations: 3.406 kB / 0.5365 GB, free: 8.238 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.74e-05/0.3376, allocations: 6.188 kB / 0.5365 GB, free: 8.234 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.333e-06/0.3376, allocations: 6.141 kB / 0.5365 GB, free: 8.23 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.582e-05/0.3377, allocations: 113.8 kB / 0.5366 GB, free: 8.141 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3377, allocations: 0 / 0.5366 GB, free: 8.141 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003031/0.338, allocations: 50.08 kB / 0.5367 GB, free: 8.117 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 (7): * Single equations (assignments): 7 * 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.001728/0.3397, allocations: 1.124 MB / 0.5378 GB, free: 7.25 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002861/0.34, allocations: 78.33 kB / 0.5379 GB, free: 7.215 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3401, allocations: 3.938 kB / 0.5379 GB, free: 7.211 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.928e-05/0.3401, allocations: 32.5 kB / 0.5379 GB, free: 7.199 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000352/0.3405, allocations: 22.66 kB / 0.5379 GB, free: 7.188 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001657/0.3422, allocations: 1.534 MB / 0.5394 GB, free: 5.816 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002785/0.3425, allocations: 0.6919 MB / 0.5401 GB, free: 5.113 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.303e-05/0.3426, allocations: 21.8 kB / 0.5401 GB, free: 5.102 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.409e-05/0.3426, allocations: 35.3 kB / 0.5401 GB, free: 5.074 MB / 398.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3427, allocations: 3.938 kB / 0.5401 GB, free: 5.07 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02572/0.3684, allocations: 3.493 MB / 0.5435 GB, free: 3.102 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.859/8.228, allocations: 10.19 kB / 0.5436 GB, free: 3.098 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches