Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33.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.Test33,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test33,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test33",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001289/0.001289, 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.001389/0.001389, 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.409/1.409, 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.2313/0.2313, allocations: 46.09 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001538/0.001538, allocations: 76.2 kB / 480.8 MB, free: 4.551 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3956/0.3971, allocations: 62.44 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test33): time 0.004433/0.4016, allocations: 1.596 MB / 0.5321 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002767/0.4044, allocations: 1.16 MB / 0.5332 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.552e-05/0.4046, allocations: 0.8438 kB / 0.5332 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003534/0.4049, allocations: 31.88 kB / 0.5333 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004343/0.4054, allocations: 82.34 kB / 0.5333 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005293/0.406, allocations: 113.7 kB / 0.5334 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002257/0.4062, allocations: 67.17 kB / 0.5335 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001506/0.4064, allocations: 11.75 kB / 0.5335 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.068e-05/0.4065, allocations: 29.86 kB / 0.5335 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002131/0.4067, allocations: 39.17 kB / 0.5336 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.74e-05/0.4068, allocations: 3.5 kB / 0.5336 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002965/0.4071, allocations: 95.72 kB / 0.5337 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.278e-05/0.4072, allocations: 15.48 kB / 0.5337 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.495e-05/0.4073, allocations: 28.62 kB / 0.5337 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004262/0.4077, allocations: 139.6 kB / 0.5339 GB, free: 10.85 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.4077, allocations: 0 / 0.5339 GB, free: 10.85 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.035e-06/0.4077, allocations: 0 / 0.5339 GB, free: 10.85 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.243e-06/0.4078, allocations: 3.938 kB / 0.5339 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.0007216/0.4085, allocations: 411.6 kB / 0.5342 GB, free: 10.42 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.254e-05/0.4085, allocations: 9.562 kB / 0.5343 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.45e-05/0.4086, allocations: 32.06 kB / 0.5343 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.936e-05/0.4087, allocations: 8.016 kB / 0.5343 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003461/0.409, allocations: 198.1 kB / 0.5345 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/0.4091, allocations: 384 / 0.5345 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.33e-05/0.4091, allocations: 7.469 kB / 0.5345 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002518/0.4094, allocations: 71.56 kB / 0.5346 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.978e-05/0.4094, allocations: 3.938 kB / 0.5346 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/0.4094, allocations: 1.281 kB / 0.5346 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.123e-05/0.4095, allocations: 1.344 kB / 0.5346 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001522/0.4096, allocations: 24.89 kB / 0.5346 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000619/0.4102, allocations: 283.6 kB / 0.5349 GB, free: 9.762 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003836/0.4106, allocations: 49.97 kB / 0.5349 GB, free: 9.723 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.099e-05/0.4108, allocations: 19.81 kB / 0.5349 GB, free: 9.707 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.064e-05/0.4108, allocations: 0 / 0.5349 GB, free: 9.707 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.846e-05/0.4108, allocations: 31.94 kB / 0.535 GB, free: 9.668 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.744e-06/0.4109, allocations: 0 / 0.535 GB, free: 9.668 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0009489/0.4118, allocations: 159.4 kB / 0.5351 GB, free: 9.57 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001022/0.4119, allocations: 78.48 kB / 0.5352 GB, free: 9.477 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002671/0.4122, allocations: 147.5 kB / 0.5353 GB, free: 9.352 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.143e-05/0.4123, allocations: 25.7 kB / 0.5353 GB, free: 9.32 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001111/0.4124, allocations: 96.2 kB / 0.5354 GB, free: 9.227 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.403e-05/0.4125, allocations: 21.22 kB / 0.5355 GB, free: 9.207 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.02e-05/0.4125, allocations: 15.22 kB / 0.5355 GB, free: 9.191 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002356/0.4128, allocations: 324.1 kB / 0.5358 GB, free: 8.867 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001202/0.4129, allocations: 24.36 kB / 0.5358 GB, free: 8.855 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001543/0.4131, allocations: 36.83 kB / 0.5358 GB, free: 8.828 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002773/0.4134, allocations: 50.95 kB / 0.5359 GB, free: 8.801 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.4134, allocations: 0 / 0.5359 GB, free: 8.801 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003611/0.4138, allocations: 87.92 kB / 0.536 GB, free: 8.742 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.59e-05/0.4138, allocations: 8.156 kB / 0.536 GB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.4138, allocations: 1.375 kB / 0.536 GB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/0.4139, allocations: 0 / 0.536 GB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/0.414, allocations: 13.61 kB / 0.536 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.358e-06/0.414, allocations: 1.375 kB / 0.536 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.816e-05/0.4141, allocations: 10.69 kB / 0.536 GB, free: 8.727 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.395e-05/0.4141, allocations: 1.375 kB / 0.536 GB, free: 8.727 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 0.0001421/0.4143, allocations: 119.3 kB / 0.5361 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.307e-05/0.4144, allocations: 10.7 kB / 0.5361 GB, free: 8.598 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004226/0.4148, allocations: 96.28 kB / 0.5362 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.435e-06/0.4148, allocations: 9.297 kB / 0.5362 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.4148, allocations: 0 / 0.5362 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.4148, allocations: 3.938 kB / 0.5362 GB, free: 8.516 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006828/0.4155, allocations: 352 kB / 0.5366 GB, free: 8.164 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.797e-06/0.4156, allocations: 5.156 kB / 0.5366 GB, free: 8.16 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000101/0.4157, allocations: 20.38 kB / 0.5366 GB, free: 8.148 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.4157, allocations: 1.062 kB / 0.5366 GB, free: 8.148 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.724e-05/0.4157, allocations: 9.031 kB / 0.5366 GB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.95e-06/0.4157, allocations: 3.984 kB / 0.5366 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.4157, allocations: 1.094 kB / 0.5366 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004322/0.4162, allocations: 182.3 kB / 0.5368 GB, free: 7.977 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.424e-05/0.4163, allocations: 87.75 kB / 0.5369 GB, free: 7.875 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.419e-05/0.4163, allocations: 3.938 kB / 0.5369 GB, free: 7.871 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001316/0.4165, allocations: 3.281 kB / 0.5369 GB, free: 7.871 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.257e-05/0.4165, allocations: 10.14 kB / 0.5369 GB, free: 7.863 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.107e-06/0.4166, allocations: 2.25 kB / 0.5369 GB, free: 7.863 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001982/0.4168, allocations: 110.1 kB / 0.537 GB, free: 7.773 MB / 398.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.4168, allocations: 0 / 0.537 GB, free: 7.773 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005685/0.4174, allocations: 39.86 kB / 0.537 GB, free: 7.758 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.002827/0.4202, allocations: 1.111 MB / 0.5381 GB, free: 6.895 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003888/0.4206, allocations: 50.47 kB / 0.5382 GB, free: 6.875 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/0.4206, allocations: 0 / 0.5382 GB, free: 6.875 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001614/0.4208, allocations: 33.56 kB / 0.5382 GB, free: 6.859 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006335/0.4215, allocations: 26.78 kB / 0.5382 GB, free: 6.844 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003054/0.4245, allocations: 1.452 MB / 0.5396 GB, free: 5.512 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005448/0.4251, allocations: 0.694 MB / 0.5403 GB, free: 4.805 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001491/0.4253, allocations: 24.95 kB / 0.5403 GB, free: 4.789 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000103/0.4254, allocations: 31.7 kB / 0.5404 GB, free: 4.77 MB / 398.1 MB Notification: Performance of SimCode: time 8.41e-07/0.4254, allocations: 0 / 0.5404 GB, free: 4.77 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02677/0.4522, allocations: 3.236 MB / 0.5435 GB, free: 2.91 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.612/8.064, allocations: 8.516 kB / 0.5435 GB, free: 2.906 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33_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_CombiTable1Dv_Test33.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test33/Test33.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches