Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28.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.Test28,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test28,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test28",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001227/0.001227, allocations: 118.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.00136/0.00136, allocations: 198 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.435/1.435, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2335/0.2335, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002636/0.002636, allocations: 75.88 kB / 480.8 MB, free: 4.539 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3861/0.3888, allocations: 62.44 MB / 0.5305 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test28): time 0.003189/0.392, allocations: 1.617 MB / 0.5321 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001009/0.393, allocations: 0.5452 MB / 0.5327 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.287e-05/0.3931, allocations: 1.125 kB / 0.5327 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003458/0.3935, allocations: 111.5 kB / 0.5328 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003215/0.3938, allocations: 122.1 kB / 0.5329 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000343/0.3942, allocations: 114.2 kB / 0.533 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001901/0.3944, allocations: 89.52 kB / 0.5331 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.3945, allocations: 16.03 kB / 0.5331 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.084e-05/0.3946, allocations: 47.14 kB / 0.5331 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001335/0.3947, allocations: 70.48 kB / 0.5332 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.814e-05/0.3948, allocations: 3.125 kB / 0.5332 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001043/0.3949, allocations: 44.36 kB / 0.5333 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.165e-05/0.3949, allocations: 22.77 kB / 0.5333 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.887e-05/0.395, allocations: 33.16 kB / 0.5333 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002319/0.3952, allocations: 120.9 kB / 0.5334 GB, free: 11.29 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3952, allocations: 5.375 kB / 0.5334 GB, free: 11.28 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3952, allocations: 0 / 0.5334 GB, free: 11.28 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.061e-06/0.3953, allocations: 0 / 0.5334 GB, free: 11.28 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.0005882/0.3959, allocations: 439.5 kB / 0.5338 GB, free: 10.84 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/0.3959, allocations: 9.625 kB / 0.5339 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.095e-05/0.396, allocations: 36.12 kB / 0.5339 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.641e-05/0.396, allocations: 10.39 kB / 0.5339 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002285/0.3962, allocations: 207.5 kB / 0.5341 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.3963, allocations: 1.75 kB / 0.5341 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.256e-05/0.3963, allocations: 5.688 kB / 0.5341 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001585/0.3964, allocations: 71.28 kB / 0.5342 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.586e-05/0.3965, allocations: 7.938 kB / 0.5342 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.3965, allocations: 1.375 kB / 0.5342 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.3965, allocations: 1.375 kB / 0.5342 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000102/0.3966, allocations: 31.09 kB / 0.5342 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004416/0.3971, allocations: 299.2 kB / 0.5345 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001089/0.3972, allocations: 51 kB / 0.5345 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.997e-05/0.3973, allocations: 21.19 kB / 0.5346 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2e-05/0.3973, allocations: 1.375 kB / 0.5346 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.24e-05/0.3973, allocations: 31.94 kB / 0.5346 GB, free: 10.06 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.3973, allocations: 0 / 0.5346 GB, free: 10.06 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009509/0.3983, allocations: 247.3 kB / 0.5348 GB, free: 9.926 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.286e-05/0.3983, allocations: 52.78 kB / 0.5349 GB, free: 9.863 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002276/0.3986, allocations: 257.9 kB / 0.5351 GB, free: 9.695 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.585e-05/0.3986, allocations: 30.83 kB / 0.5352 GB, free: 9.66 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.857e-05/0.3986, allocations: 106.8 kB / 0.5353 GB, free: 9.559 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.164e-05/0.3987, allocations: 35.31 kB / 0.5353 GB, free: 9.527 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.939e-05/0.3987, allocations: 23.39 kB / 0.5353 GB, free: 9.504 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.3988, allocations: 328.2 kB / 0.5356 GB, free: 9.18 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.419e-05/0.3989, allocations: 27.36 kB / 0.5357 GB, free: 9.168 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.018e-05/0.399, allocations: 33.62 kB / 0.5357 GB, free: 9.152 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001621/0.3992, allocations: 69.27 kB / 0.5358 GB, free: 9.117 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.3992, allocations: 4 kB / 0.5358 GB, free: 9.113 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002211/0.3994, allocations: 118.6 kB / 0.5359 GB, free: 9.039 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.3994, allocations: 8.594 kB / 0.5359 GB, free: 9.035 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.3995, allocations: 0 / 0.5359 GB, free: 9.035 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.3995, allocations: 1.156 kB / 0.5359 GB, free: 9.035 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001025/0.3996, allocations: 21.55 kB / 0.5359 GB, free: 9.027 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.3996, allocations: 5.469 kB / 0.5359 GB, free: 9.023 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.394e-05/0.3996, allocations: 3.281 kB / 0.5359 GB, free: 9.023 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.844e-06/0.3997, allocations: 6.156 kB / 0.5359 GB, free: 9.02 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.0001007/0.3998, allocations: 131.5 kB / 0.536 GB, free: 8.895 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.758e-05/0.3998, allocations: 14.69 kB / 0.5361 GB, free: 8.887 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000297/0.4001, allocations: 139.2 kB / 0.5362 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.4001, allocations: 1.219 kB / 0.5362 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.4001, allocations: 7.938 kB / 0.5362 GB, free: 8.781 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.4001, allocations: 1.125 kB / 0.5362 GB, free: 8.781 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005685/0.4007, allocations: 437.9 kB / 0.5366 GB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.4007, allocations: 1.344 kB / 0.5366 GB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.27e-05/0.4008, allocations: 17.88 kB / 0.5366 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.4008, allocations: 3.984 kB / 0.5366 GB, free: 8.363 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.4008, allocations: 9.25 kB / 0.5366 GB, free: 8.355 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.4008, allocations: 1.281 kB / 0.5366 GB, free: 8.355 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.4009, allocations: 1.312 kB / 0.5366 GB, free: 8.355 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002672/0.4011, allocations: 217.3 kB / 0.5369 GB, free: 8.172 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.762e-05/0.4012, allocations: 89.47 kB / 0.5369 GB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.101e-05/0.4012, allocations: 4.859 kB / 0.5369 GB, free: 8.066 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.027e-05/0.4013, allocations: 2.844 kB / 0.5369 GB, free: 8.066 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.928e-05/0.4014, allocations: 15.88 kB / 0.537 GB, free: 8.055 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.173e-06/0.4014, allocations: 6.469 kB / 0.537 GB, free: 8.051 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001619/0.4015, allocations: 188 kB / 0.5371 GB, free: 7.934 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4016, allocations: 1.25 kB / 0.5371 GB, free: 7.934 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002647/0.4018, allocations: 18.75 kB / 0.5372 GB, free: 7.93 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.001472/0.4033, allocations: 1.096 MB / 0.5382 GB, free: 7.07 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002567/0.4036, allocations: 79.03 kB / 0.5383 GB, free: 7.035 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4036, allocations: 0 / 0.5383 GB, free: 7.035 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001041/0.4037, allocations: 39.7 kB / 0.5383 GB, free: 7.02 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003806/0.4041, allocations: 27.08 kB / 0.5384 GB, free: 7.004 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002062/0.4062, allocations: 1.803 MB / 0.5401 GB, free: 5.492 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002682/0.4064, allocations: 0.7159 MB / 0.5408 GB, free: 4.777 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.53e-05/0.4065, allocations: 20.73 kB / 0.5409 GB, free: 4.77 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.304e-05/0.4066, allocations: 37.33 kB / 0.5409 GB, free: 4.738 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4066, allocations: 0 / 0.5409 GB, free: 4.738 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02176/0.4284, allocations: 3.319 MB / 0.5441 GB, free: 2.938 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.728/8.157, allocations: 11.66 kB / 0.5441 GB, free: 2.934 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28_res.csv --start-time 7.99 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004804 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test28.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches