Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.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.CombiTable2Ds.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001156/0.001156, allocations: 117.6 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.001257/0.001258, allocations: 199.9 kB / 18.74 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.459/1.459, 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.2321/0.2321, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00174/0.00174, allocations: 75.86 kB / 480.9 MB, free: 4.52 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4074/0.4092, allocations: 62.42 MB / 0.5305 GB, free: 13.32 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test2): time 0.00332/0.4125, allocations: 1.674 MB / 0.5322 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001046/0.4136, allocations: 0.5677 MB / 0.5327 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.896e-05/0.4137, allocations: 1.469 kB / 0.5327 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005742/0.4143, allocations: 443.5 kB / 0.5332 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004542/0.4148, allocations: 297 kB / 0.5334 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003506/0.4151, allocations: 133.4 kB / 0.5336 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002386/0.4154, allocations: 169.8 kB / 0.5337 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.4155, allocations: 24.22 kB / 0.5338 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001391/0.4156, allocations: 115.2 kB / 0.5339 GB, free: 11 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002698/0.4159, allocations: 210.2 kB / 0.5341 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.254e-05/0.4159, allocations: 4.594 kB / 0.5341 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001393/0.4161, allocations: 56.36 kB / 0.5341 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001108/0.4162, allocations: 81.41 kB / 0.5342 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001011/0.4163, allocations: 112.2 kB / 0.5343 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004043/0.4167, allocations: 278.9 kB / 0.5346 GB, free: 10.61 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.4167, allocations: 1.375 kB / 0.5346 GB, free: 10.61 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.4167, allocations: 0 / 0.5346 GB, free: 10.61 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.143e-05/0.4168, allocations: 0 / 0.5346 GB, free: 10.61 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007683/0.4175, allocations: 0.6685 MB / 0.5352 GB, free: 9.984 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.4176, allocations: 14.09 kB / 0.5352 GB, free: 9.98 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.437e-05/0.4176, allocations: 35.97 kB / 0.5353 GB, free: 9.938 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.791e-05/0.4177, allocations: 47 kB / 0.5353 GB, free: 9.91 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003733/0.4181, allocations: 311.9 kB / 0.5356 GB, free: 9.605 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/0.4181, allocations: 1.719 kB / 0.5356 GB, free: 9.605 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.476e-05/0.4181, allocations: 7.531 kB / 0.5356 GB, free: 9.602 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001485/0.4183, allocations: 56.5 kB / 0.5357 GB, free: 9.555 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/0.4183, allocations: 9.031 kB / 0.5357 GB, free: 9.547 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.246e-06/0.4183, allocations: 0 / 0.5357 GB, free: 9.547 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.4183, allocations: 1.156 kB / 0.5357 GB, free: 9.547 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001005/0.4184, allocations: 32.58 kB / 0.5357 GB, free: 9.531 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004997/0.4189, allocations: 400.5 kB / 0.5361 GB, free: 9.164 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000119/0.4191, allocations: 46.77 kB / 0.5361 GB, free: 9.125 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.037e-05/0.4191, allocations: 15.89 kB / 0.5362 GB, free: 9.113 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.153e-05/0.4191, allocations: 1.156 kB / 0.5362 GB, free: 9.113 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.552e-05/0.4192, allocations: 36.09 kB / 0.5362 GB, free: 9.07 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.4192, allocations: 0 / 0.5362 GB, free: 9.07 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009988/0.4202, allocations: 313 kB / 0.5365 GB, free: 8.887 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.031e-05/0.4202, allocations: 56.47 kB / 0.5365 GB, free: 8.82 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009236/0.4212, allocations: 0.8763 MB / 0.5374 GB, free: 8.395 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.645e-05/0.4212, allocations: 26.83 kB / 0.5374 GB, free: 8.363 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001874/0.4214, allocations: 222.1 kB / 0.5376 GB, free: 8.172 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.07e-05/0.4214, allocations: 34.44 kB / 0.5377 GB, free: 8.141 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.269e-05/0.4215, allocations: 20.38 kB / 0.5377 GB, free: 8.121 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001768/0.4217, allocations: 364.4 kB / 0.538 GB, free: 7.773 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.015e-05/0.4218, allocations: 25.77 kB / 0.5381 GB, free: 7.762 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.652e-05/0.4219, allocations: 31.05 kB / 0.5381 GB, free: 7.746 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001768/0.422, allocations: 60.33 kB / 0.5382 GB, free: 7.715 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.422, allocations: 4 kB / 0.5382 GB, free: 7.711 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002659/0.4223, allocations: 134.7 kB / 0.5383 GB, free: 7.629 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.4223, allocations: 5.656 kB / 0.5383 GB, free: 7.629 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.4224, allocations: 0 / 0.5383 GB, free: 7.629 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.4224, allocations: 1.156 kB / 0.5383 GB, free: 7.629 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001109/0.4225, allocations: 29.45 kB / 0.5383 GB, free: 7.613 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.219e-06/0.4225, allocations: 5.188 kB / 0.5383 GB, free: 7.609 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.311e-05/0.4226, allocations: 3.344 kB / 0.5383 GB, free: 7.609 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.4226, allocations: 6.188 kB / 0.5383 GB, free: 7.605 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.0002169/0.4228, allocations: 214.8 kB / 0.5385 GB, free: 7.453 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.449e-05/0.4229, allocations: 46.42 kB / 0.5386 GB, free: 7.426 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003559/0.4232, allocations: 169.2 kB / 0.5387 GB, free: 7.316 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.4233, allocations: 5.312 kB / 0.5387 GB, free: 7.312 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.4233, allocations: 0 / 0.5387 GB, free: 7.312 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.4233, allocations: 5.047 kB / 0.5388 GB, free: 7.309 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006919/0.424, allocations: 0.4988 MB / 0.5392 GB, free: 6.871 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.424, allocations: 1.625 kB / 0.5392 GB, free: 6.871 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.544e-05/0.4241, allocations: 21.52 kB / 0.5393 GB, free: 6.863 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.4241, allocations: 5.562 kB / 0.5393 GB, free: 6.859 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.4241, allocations: 1.312 kB / 0.5393 GB, free: 6.859 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.431e-06/0.4241, allocations: 5.891 kB / 0.5393 GB, free: 6.855 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.4241, allocations: 0 / 0.5393 GB, free: 6.855 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002938/0.4244, allocations: 238.9 kB / 0.5395 GB, free: 6.66 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.553e-05/0.4245, allocations: 123.3 kB / 0.5396 GB, free: 6.531 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.936e-05/0.4246, allocations: 1.25 kB / 0.5396 GB, free: 6.531 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.317e-05/0.4247, allocations: 8.422 kB / 0.5396 GB, free: 6.527 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.012e-05/0.4247, allocations: 2.75 kB / 0.5396 GB, free: 6.527 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.608e-06/0.4247, allocations: 6.266 kB / 0.5396 GB, free: 6.523 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007182/0.4255, allocations: 0.6591 MB / 0.5403 GB, free: 6.203 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4255, allocations: 1.375 kB / 0.5403 GB, free: 6.203 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002743/0.4257, allocations: 29.84 kB / 0.5403 GB, free: 6.195 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.001684/0.4274, allocations: 1.134 MB / 0.5414 GB, free: 5.312 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002382/0.4277, allocations: 67.25 kB / 0.5415 GB, free: 5.285 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.4277, allocations: 0 / 0.5415 GB, free: 5.285 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.984e-05/0.4278, allocations: 38.55 kB / 0.5415 GB, free: 5.27 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000459/0.4283, allocations: 36.12 kB / 0.5416 GB, free: 5.25 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004415/0.4327, allocations: 3.333 MB / 0.5448 GB, free: 2.738 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004417/0.4332, allocations: 0.826 MB / 0.5456 GB, free: 1.887 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.341e-05/0.4332, allocations: 24.41 kB / 0.5456 GB, free: 1.863 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001379/0.4334, allocations: 111.3 kB / 0.5457 GB, free: 1.754 MB / 398.1 MB Notification: Performance of SimCode: time 1.303e-06/0.4334, allocations: 0 / 0.5457 GB, free: 1.754 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0245/0.4579, allocations: 6.364 MB / 0.552 GB, free: 11.46 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.152/8.61, allocations: 11.5 kB / 0.552 GB, free: 11.46 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test2.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches