Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.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.Test3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001081/0.001081, 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.001207/0.001207, 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.432/1.432, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.254/0.254, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001569/0.001569, allocations: 79.8 kB / 480.8 MB, free: 4.559 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3548/0.3564, allocations: 62.44 MB / 0.5305 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.003081/0.3595, allocations: 1.618 MB / 0.5321 GB, free: 12.17 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009287/0.3605, allocations: 0.5319 MB / 0.5326 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.767e-05/0.3605, allocations: 1.375 kB / 0.5326 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002648/0.3608, allocations: 79.33 kB / 0.5327 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002739/0.3611, allocations: 100.3 kB / 0.5328 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000273/0.3614, allocations: 99.75 kB / 0.5329 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001689/0.3616, allocations: 82.34 kB / 0.533 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.3617, allocations: 16.67 kB / 0.533 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.835e-05/0.3618, allocations: 26.2 kB / 0.533 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000116/0.3619, allocations: 56.28 kB / 0.5331 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.773e-05/0.3619, allocations: 6.562 kB / 0.5331 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001168/0.362, allocations: 45.69 kB / 0.5331 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.341e-05/0.3621, allocations: 22.59 kB / 0.5332 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.398e-05/0.3622, allocations: 33.23 kB / 0.5332 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002472/0.3624, allocations: 100.1 kB / 0.5333 GB, free: 11.36 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.3624, allocations: 0 / 0.5333 GB, free: 11.36 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.405e-06/0.3624, allocations: 0 / 0.5333 GB, free: 11.36 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.431e-05/0.3625, allocations: 1.281 kB / 0.5333 GB, free: 11.36 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005738/0.363, allocations: 413.8 kB / 0.5337 GB, free: 10.94 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.06e-05/0.3631, allocations: 13.5 kB / 0.5337 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.107e-05/0.3631, allocations: 35.97 kB / 0.5337 GB, free: 10.89 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.851e-05/0.3632, allocations: 13.59 kB / 0.5337 GB, free: 10.88 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002117/0.3634, allocations: 207.4 kB / 0.5339 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.3634, allocations: 1.625 kB / 0.5339 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.675e-05/0.3635, allocations: 7.406 kB / 0.5339 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001636/0.3636, allocations: 61.09 kB / 0.534 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.743e-05/0.3637, allocations: 1.469 kB / 0.534 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.3637, allocations: 0 / 0.534 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/0.3637, allocations: 1.438 kB / 0.534 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.4e-05/0.3638, allocations: 27.42 kB / 0.534 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004017/0.3642, allocations: 293.8 kB / 0.5343 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001122/0.3643, allocations: 42.88 kB / 0.5343 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.211e-05/0.3644, allocations: 20 kB / 0.5344 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.339e-05/0.3644, allocations: 1.438 kB / 0.5344 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.952e-05/0.3644, allocations: 36.09 kB / 0.5344 GB, free: 10.18 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.3645, allocations: 0 / 0.5344 GB, free: 10.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000913/0.3654, allocations: 225.2 kB / 0.5346 GB, free: 10.05 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.544e-05/0.3654, allocations: 60.77 kB / 0.5347 GB, free: 9.98 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000246/0.3657, allocations: 203.9 kB / 0.5349 GB, free: 9.828 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.139e-05/0.3657, allocations: 33.64 kB / 0.5349 GB, free: 9.789 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.688e-05/0.3658, allocations: 101.6 kB / 0.535 GB, free: 9.691 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.761e-05/0.3658, allocations: 31.86 kB / 0.535 GB, free: 9.664 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.315e-05/0.3659, allocations: 19.22 kB / 0.535 GB, free: 9.645 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001488/0.366, allocations: 321.6 kB / 0.5354 GB, free: 9.324 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.482e-05/0.3661, allocations: 37.72 kB / 0.5354 GB, free: 9.301 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001009/0.3663, allocations: 23.11 kB / 0.5354 GB, free: 9.293 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000209/0.3665, allocations: 59.08 kB / 0.5355 GB, free: 9.262 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.3665, allocations: 1.375 kB / 0.5355 GB, free: 9.262 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003126/0.3668, allocations: 103 kB / 0.5356 GB, free: 9.195 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/0.3668, allocations: 5.5 kB / 0.5356 GB, free: 9.195 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.3669, allocations: 0 / 0.5356 GB, free: 9.195 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/0.3669, allocations: 5.375 kB / 0.5356 GB, free: 9.191 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001309/0.367, allocations: 17.73 kB / 0.5356 GB, free: 9.188 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/0.367, allocations: 9.375 kB / 0.5356 GB, free: 9.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.541e-05/0.3671, allocations: 6.734 kB / 0.5356 GB, free: 9.176 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-06/0.3671, allocations: 1.375 kB / 0.5356 GB, free: 9.176 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 0.0001048/0.3672, allocations: 123.5 kB / 0.5357 GB, free: 9.055 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.588e-05/0.3673, allocations: 13.41 kB / 0.5357 GB, free: 9.047 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002937/0.3676, allocations: 120.4 kB / 0.5359 GB, free: 8.961 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.3676, allocations: 0 / 0.5359 GB, free: 8.961 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.3676, allocations: 5.312 kB / 0.5359 GB, free: 8.957 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.3676, allocations: 3.984 kB / 0.5359 GB, free: 8.953 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005458/0.3682, allocations: 406.4 kB / 0.5363 GB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.3682, allocations: 0 / 0.5363 GB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.81e-05/0.3683, allocations: 26.36 kB / 0.5363 GB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.3683, allocations: 432 / 0.5363 GB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.3683, allocations: 6.406 kB / 0.5363 GB, free: 8.547 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.3683, allocations: 0 / 0.5363 GB, free: 8.547 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3683, allocations: 1.438 kB / 0.5363 GB, free: 8.547 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002636/0.3686, allocations: 204 kB / 0.5365 GB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.549e-05/0.3686, allocations: 91.47 kB / 0.5366 GB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.391e-05/0.3687, allocations: 9.797 kB / 0.5366 GB, free: 8.258 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.2e-05/0.3687, allocations: 3.125 kB / 0.5366 GB, free: 8.258 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.56e-05/0.3688, allocations: 7.766 kB / 0.5366 GB, free: 8.254 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.743e-06/0.3688, allocations: 6.062 kB / 0.5366 GB, free: 8.25 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001394/0.369, allocations: 154.2 kB / 0.5367 GB, free: 8.145 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.369, allocations: 0 / 0.5367 GB, free: 8.145 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002596/0.3692, allocations: 18.5 kB / 0.5368 GB, free: 8.141 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.001657/0.3709, allocations: 1.091 MB / 0.5378 GB, free: 7.281 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002894/0.3712, allocations: 74.2 kB / 0.5379 GB, free: 7.246 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.3712, allocations: 0 / 0.5379 GB, free: 7.246 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.634e-05/0.3713, allocations: 29.8 kB / 0.5379 GB, free: 7.238 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004482/0.3718, allocations: 20.61 kB / 0.5379 GB, free: 7.227 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002199/0.374, allocations: 1.639 MB / 0.5395 GB, free: 5.801 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003572/0.3743, allocations: 0.7024 MB / 0.5402 GB, free: 5.094 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.832e-05/0.3744, allocations: 19.22 kB / 0.5403 GB, free: 5.082 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.716e-05/0.3745, allocations: 32.95 kB / 0.5403 GB, free: 5.055 MB / 398.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3745, allocations: 1.312 kB / 0.5403 GB, free: 5.055 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01977/0.3943, allocations: 3.035 MB / 0.5432 GB, free: 3.387 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.592/7.986, allocations: 4.016 kB / 0.5433 GB, free: 3.387 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test3.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches