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.001264/0.001264, allocations: 117.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00141/0.001411, allocations: 204.6 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.497/1.497, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2357/0.2357, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001701/0.001701, allocations: 87.84 kB / 480.8 MB, free: 4.547 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4077/0.4094, allocations: 62.42 MB / 0.5305 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab): time 0.003654/0.4131, allocations: 1.601 MB / 0.5321 GB, free: 12.17 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001036/0.4142, allocations: 0.5516 MB / 0.5326 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.582e-05/0.4142, allocations: 1.125 kB / 0.5326 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002481/0.4145, allocations: 24.36 kB / 0.5327 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002602/0.4148, allocations: 79.67 kB / 0.5327 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002672/0.415, allocations: 96.66 kB / 0.5328 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001563/0.4152, allocations: 68.61 kB / 0.5329 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.4153, allocations: 14.41 kB / 0.5329 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.186e-05/0.4154, allocations: 34.66 kB / 0.5329 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.945e-05/0.4155, allocations: 33.91 kB / 0.533 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.654e-05/0.4155, allocations: 5.75 kB / 0.533 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001622/0.4156, allocations: 96.91 kB / 0.5331 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.732e-05/0.4157, allocations: 18.59 kB / 0.5331 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.456e-05/0.4158, allocations: 34.61 kB / 0.5331 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002709/0.416, allocations: 148.9 kB / 0.5333 GB, free: 11.34 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.4161, allocations: 1.375 kB / 0.5333 GB, free: 11.34 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.4161, allocations: 3.938 kB / 0.5333 GB, free: 11.33 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.4161, allocations: 0 / 0.5333 GB, free: 11.33 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.0005746/0.4167, allocations: 418.2 kB / 0.5337 GB, free: 10.9 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.4167, allocations: 9.625 kB / 0.5337 GB, free: 10.9 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.772e-05/0.4167, allocations: 36.12 kB / 0.5337 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.016e-05/0.4168, allocations: 9.016 kB / 0.5337 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002251/0.417, allocations: 195.8 kB / 0.5339 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.417, allocations: 5.75 kB / 0.5339 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.677e-05/0.4171, allocations: 3.125 kB / 0.5339 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001659/0.4173, allocations: 73.08 kB / 0.534 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.4173, allocations: 0 / 0.534 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.4173, allocations: 1.375 kB / 0.534 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.4173, allocations: 1.375 kB / 0.534 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001034/0.4174, allocations: 27.09 kB / 0.534 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004542/0.4179, allocations: 302.9 kB / 0.5343 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001451/0.418, allocations: 67.23 kB / 0.5344 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.486e-05/0.4181, allocations: 23.97 kB / 0.5344 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.6e-05/0.4181, allocations: 5.359 kB / 0.5344 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.856e-05/0.4182, allocations: 31.94 kB / 0.5344 GB, free: 10.12 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 2.565e-06/0.4182, allocations: 0 / 0.5344 GB, free: 10.12 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006454/0.4188, allocations: 194 kB / 0.5346 GB, free: 10.01 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.895e-05/0.4189, allocations: 83.52 kB / 0.5347 GB, free: 9.91 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000167/0.4191, allocations: 150.1 kB / 0.5348 GB, free: 9.781 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.648e-05/0.4191, allocations: 26.83 kB / 0.5349 GB, free: 9.75 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.742e-05/0.4192, allocations: 100.3 kB / 0.535 GB, free: 9.652 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.064e-05/0.4192, allocations: 26.5 kB / 0.535 GB, free: 9.629 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.481e-05/0.4193, allocations: 20.78 kB / 0.535 GB, free: 9.609 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.4194, allocations: 328.7 kB / 0.5353 GB, free: 9.281 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001002/0.4195, allocations: 29.55 kB / 0.5353 GB, free: 9.27 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000103/0.4196, allocations: 51 kB / 0.5354 GB, free: 9.234 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001803/0.4198, allocations: 70.66 kB / 0.5355 GB, free: 9.199 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.4198, allocations: 3.938 kB / 0.5355 GB, free: 9.195 MB / 398.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002579/0.4201, allocations: 115.2 kB / 0.5356 GB, free: 9.125 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.4201, allocations: 5.812 kB / 0.5356 GB, free: 9.125 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.4201, allocations: 0 / 0.5356 GB, free: 9.125 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.4201, allocations: 1.219 kB / 0.5356 GB, free: 9.125 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001255/0.4203, allocations: 23.17 kB / 0.5356 GB, free: 9.117 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/0.4203, allocations: 0 / 0.5356 GB, free: 9.117 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.332e-05/0.4204, allocations: 8.406 kB / 0.5356 GB, free: 9.113 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.421e-05/0.4204, allocations: 10.55 kB / 0.5356 GB, free: 9.105 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.0001108/0.4205, allocations: 122.4 kB / 0.5357 GB, free: 8.98 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.917e-05/0.4205, allocations: 8.359 kB / 0.5357 GB, free: 8.977 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003044/0.4208, allocations: 114.5 kB / 0.5359 GB, free: 8.898 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.4209, allocations: 3.938 kB / 0.5359 GB, free: 8.895 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.4209, allocations: 5.188 kB / 0.5359 GB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.4209, allocations: 0 / 0.5359 GB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005722/0.4215, allocations: 408.4 kB / 0.5363 GB, free: 8.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.4215, allocations: 0 / 0.5363 GB, free: 8.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.959e-05/0.4216, allocations: 25.7 kB / 0.5363 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.147e-06/0.4216, allocations: 0 / 0.5363 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.4216, allocations: 9.094 kB / 0.5363 GB, free: 8.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.4216, allocations: 1.406 kB / 0.5363 GB, free: 8.48 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.4216, allocations: 0 / 0.5363 GB, free: 8.48 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002791/0.4219, allocations: 194.9 kB / 0.5365 GB, free: 8.316 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.274e-05/0.4219, allocations: 88.39 kB / 0.5366 GB, free: 8.215 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.391e-05/0.422, allocations: 5.406 kB / 0.5366 GB, free: 8.211 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.661e-05/0.4221, allocations: 7.031 kB / 0.5366 GB, free: 8.207 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.165e-05/0.4221, allocations: 10.89 kB / 0.5366 GB, free: 8.199 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-06/0.4221, allocations: 5.375 kB / 0.5366 GB, free: 8.195 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001062/0.4222, allocations: 120.9 kB / 0.5367 GB, free: 8.102 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4222, allocations: 0 / 0.5367 GB, free: 8.102 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003283/0.4226, allocations: 47.36 kB / 0.5367 GB, free: 8.082 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.001693/0.4243, allocations: 1.126 MB / 0.5378 GB, free: 7.215 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000261/0.4246, allocations: 72.23 kB / 0.5379 GB, free: 7.188 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.4246, allocations: 4 kB / 0.5379 GB, free: 7.184 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.46e-05/0.4247, allocations: 34.27 kB / 0.5379 GB, free: 7.172 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003501/0.425, allocations: 27.05 kB / 0.538 GB, free: 7.16 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001828/0.4269, allocations: 1.549 MB / 0.5395 GB, free: 5.789 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003206/0.4272, allocations: 0.7117 MB / 0.5402 GB, free: 5.066 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.846e-05/0.4273, allocations: 16.95 kB / 0.5402 GB, free: 5.062 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.238e-05/0.4274, allocations: 27.42 kB / 0.5402 GB, free: 5.043 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4274, allocations: 0 / 0.5402 GB, free: 5.043 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02222/0.4496, allocations: 3.55 MB / 0.5437 GB, free: 3.043 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.875/8.324, allocations: 6.094 kB / 0.5437 GB, free: 3.039 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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.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_CombiTable1Ds_Test25_usertab.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.csv","/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