Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.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.Test24,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test24,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test24",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001121/0.001121, allocations: 122.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001104/0.001104, allocations: 202 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.383/1.383, 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.2264/0.2264, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001515/0.001515, allocations: 71.88 kB / 480.8 MB, free: 4.555 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4359/0.4375, allocations: 62.45 MB / 0.5305 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test24): time 0.002989/0.4405, allocations: 1.594 MB / 0.5321 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001759/0.4423, allocations: 1.156 MB / 0.5332 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.858e-05/0.4423, allocations: 1.312 kB / 0.5332 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002297/0.4426, allocations: 23.88 kB / 0.5332 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002868/0.4429, allocations: 86.42 kB / 0.5333 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002599/0.4432, allocations: 90.14 kB / 0.5334 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001566/0.4433, allocations: 71.17 kB / 0.5335 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.4434, allocations: 14.62 kB / 0.5335 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.573e-05/0.4435, allocations: 25.98 kB / 0.5335 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001495/0.4437, allocations: 29.88 kB / 0.5335 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.798e-05/0.4437, allocations: 8.719 kB / 0.5336 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001793/0.4439, allocations: 102.5 kB / 0.5337 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.705e-05/0.4439, allocations: 11.47 kB / 0.5337 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.605e-05/0.444, allocations: 28.58 kB / 0.5337 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002752/0.4443, allocations: 134.2 kB / 0.5338 GB, free: 10.86 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.563e-06/0.4443, allocations: 4 kB / 0.5338 GB, free: 10.86 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.417e-06/0.4443, allocations: 1.812 kB / 0.5338 GB, free: 10.86 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.598e-06/0.4443, allocations: 3.938 kB / 0.5338 GB, free: 10.85 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.000564/0.4449, allocations: 399.8 kB / 0.5342 GB, free: 10.44 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.4449, allocations: 12.34 kB / 0.5342 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.733e-05/0.445, allocations: 31.78 kB / 0.5343 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.108e-05/0.445, allocations: 8.266 kB / 0.5343 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002302/0.4453, allocations: 204.7 kB / 0.5345 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.4453, allocations: 1.969 kB / 0.5345 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.7e-05/0.4453, allocations: 1.844 kB / 0.5345 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001655/0.4455, allocations: 71.23 kB / 0.5345 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.4455, allocations: 0 / 0.5345 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.4455, allocations: 9.344 kB / 0.5345 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.688e-06/0.4455, allocations: 0 / 0.5345 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.774e-05/0.4457, allocations: 21.02 kB / 0.5346 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003898/0.446, allocations: 276 kB / 0.5348 GB, free: 9.777 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002273/0.4463, allocations: 47.89 kB / 0.5349 GB, free: 9.738 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.388e-05/0.4464, allocations: 14.7 kB / 0.5349 GB, free: 9.727 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.991e-05/0.4464, allocations: 5.5 kB / 0.5349 GB, free: 9.723 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.354e-05/0.4464, allocations: 30.56 kB / 0.5349 GB, free: 9.684 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.4464, allocations: 1.25 kB / 0.5349 GB, free: 9.684 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005958/0.447, allocations: 144.2 kB / 0.5351 GB, free: 9.594 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.38e-05/0.4471, allocations: 78.48 kB / 0.5351 GB, free: 9.5 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001647/0.4473, allocations: 149 kB / 0.5353 GB, free: 9.375 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.483e-05/0.4473, allocations: 25.7 kB / 0.5353 GB, free: 9.344 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.737e-05/0.4474, allocations: 98.81 kB / 0.5354 GB, free: 9.246 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.255e-05/0.4474, allocations: 14.61 kB / 0.5354 GB, free: 9.234 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.776e-05/0.4474, allocations: 17.84 kB / 0.5354 GB, free: 9.215 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.4476, allocations: 325.5 kB / 0.5357 GB, free: 8.891 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.7e-05/0.4477, allocations: 18.98 kB / 0.5357 GB, free: 8.883 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.7e-05/0.4477, allocations: 34.08 kB / 0.5358 GB, free: 8.855 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001301/0.4479, allocations: 44.39 kB / 0.5358 GB, free: 8.832 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.124e-05/0.4479, allocations: 7.938 kB / 0.5358 GB, free: 8.824 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001915/0.4481, allocations: 81.25 kB / 0.5359 GB, free: 8.77 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.4481, allocations: 4.125 kB / 0.5359 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.709e-06/0.4481, allocations: 5.359 kB / 0.5359 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.4482, allocations: 4.031 kB / 0.5359 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.529e-05/0.4482, allocations: 9.625 kB / 0.5359 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.4482, allocations: 1.375 kB / 0.5359 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.35e-05/0.4483, allocations: 10.67 kB / 0.5359 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.4483, allocations: 1.375 kB / 0.5359 GB, free: 8.754 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 (5): * Single equations (assignments): 5 * 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.493e-05/0.4484, allocations: 114 kB / 0.5361 GB, free: 8.637 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.948e-05/0.4485, allocations: 8.078 kB / 0.5361 GB, free: 8.633 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002595/0.4487, allocations: 96.16 kB / 0.5362 GB, free: 8.559 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.4487, allocations: 1.375 kB / 0.5362 GB, free: 8.559 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.4488, allocations: 0 / 0.5362 GB, free: 8.559 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.126e-05/0.4488, allocations: 9.297 kB / 0.5362 GB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00044/0.4492, allocations: 350.4 kB / 0.5365 GB, free: 8.195 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.4492, allocations: 0 / 0.5365 GB, free: 8.195 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.867e-05/0.4493, allocations: 17.83 kB / 0.5365 GB, free: 8.188 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.4493, allocations: 0 / 0.5365 GB, free: 8.188 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.4493, allocations: 9.312 kB / 0.5365 GB, free: 8.18 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.4493, allocations: 0 / 0.5365 GB, free: 8.18 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.4493, allocations: 1.375 kB / 0.5365 GB, free: 8.18 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002321/0.4496, allocations: 175.2 kB / 0.5367 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.368e-05/0.4496, allocations: 87.14 kB / 0.5368 GB, free: 7.922 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.36e-05/0.4497, allocations: 9.031 kB / 0.5368 GB, free: 7.914 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.024e-05/0.4497, allocations: 11.19 kB / 0.5368 GB, free: 7.906 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.317e-05/0.4498, allocations: 6.141 kB / 0.5368 GB, free: 7.902 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.4498, allocations: 1.062 kB / 0.5368 GB, free: 7.902 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001074/0.4499, allocations: 110.8 kB / 0.5369 GB, free: 7.812 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4499, allocations: 3.938 kB / 0.5369 GB, free: 7.809 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002993/0.4502, allocations: 40.08 kB / 0.5369 GB, free: 7.793 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 (5): * Single equations (assignments): 5 * 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.0016/0.4518, allocations: 1.093 MB / 0.538 GB, free: 6.941 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002568/0.4521, allocations: 59.64 kB / 0.5381 GB, free: 6.91 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.4521, allocations: 3.938 kB / 0.5381 GB, free: 6.906 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.3e-05/0.4522, allocations: 23.95 kB / 0.5381 GB, free: 6.898 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000401/0.4526, allocations: 18.58 kB / 0.5381 GB, free: 6.891 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001848/0.4545, allocations: 1.427 MB / 0.5395 GB, free: 5.57 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003097/0.4548, allocations: 0.7007 MB / 0.5402 GB, free: 4.855 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.505e-05/0.4549, allocations: 18.67 kB / 0.5402 GB, free: 4.844 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.753e-05/0.4549, allocations: 31.33 kB / 0.5402 GB, free: 4.824 MB / 398.1 MB Notification: Performance of SimCode: time 3.8e-07/0.4549, allocations: 0 / 0.5402 GB, free: 4.824 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02154/0.4765, allocations: 3.201 MB / 0.5434 GB, free: 2.984 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.677/8.154, allocations: 8.375 kB / 0.5434 GB, free: 2.98 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test24.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches