Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.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.CombiTable2Dv.Test25,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test25",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test25,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test25",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001501/0.001501, allocations: 114.9 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001453/0.001453, allocations: 205.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.44/1.44, allocations: 227.4 MB / 246.9 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2293/0.2293, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00222/0.00222, allocations: 79.81 kB / 480.8 MB, free: 4.52 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4116/0.4139, allocations: 62.42 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test25): time 0.003664/0.4176, allocations: 1.687 MB / 0.5322 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001215/0.4189, allocations: 0.5778 MB / 0.5327 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.693e-05/0.419, allocations: 3.938 kB / 0.5328 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003339/0.4193, allocations: 45.67 kB / 0.5328 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003378/0.4197, allocations: 99.22 kB / 0.5329 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004855/0.4202, allocations: 182.1 kB / 0.5331 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000215/0.4204, allocations: 83.83 kB / 0.5331 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001371/0.4205, allocations: 28.67 kB / 0.5332 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.283e-05/0.4206, allocations: 33.36 kB / 0.5332 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001313/0.4208, allocations: 47.66 kB / 0.5332 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.99e-05/0.4208, allocations: 3.25 kB / 0.5333 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001189/0.4209, allocations: 44.95 kB / 0.5333 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.085e-05/0.421, allocations: 29.52 kB / 0.5333 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.56e-05/0.4211, allocations: 42.14 kB / 0.5334 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002455/0.4213, allocations: 126.6 kB / 0.5335 GB, free: 11.17 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.4213, allocations: 0 / 0.5335 GB, free: 11.17 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.4213, allocations: 1.125 kB / 0.5335 GB, free: 11.17 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.4213, allocations: 0 / 0.5335 GB, free: 11.17 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.0006684/0.422, allocations: 419.5 kB / 0.5339 GB, free: 10.74 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/0.4221, allocations: 9.812 kB / 0.5339 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.498e-05/0.4221, allocations: 35.73 kB / 0.5339 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.707e-05/0.4222, allocations: 14.69 kB / 0.5339 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002508/0.4225, allocations: 212 kB / 0.5341 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.653e-05/0.4225, allocations: 3 kB / 0.5341 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.588e-05/0.4225, allocations: 2.594 kB / 0.5341 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002159/0.4227, allocations: 73.06 kB / 0.5342 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.642e-05/0.4228, allocations: 0 / 0.5342 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.4228, allocations: 1.344 kB / 0.5342 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/0.4228, allocations: 5.328 kB / 0.5342 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001461/0.4229, allocations: 45.22 kB / 0.5343 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004971/0.4234, allocations: 331.1 kB / 0.5346 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002623/0.4237, allocations: 65.92 kB / 0.5346 GB, free: 9.992 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.85e-05/0.4238, allocations: 26.12 kB / 0.5347 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.673e-05/0.4238, allocations: 4 kB / 0.5347 GB, free: 9.973 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.584e-05/0.4239, allocations: 31.81 kB / 0.5347 GB, free: 9.934 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.4239, allocations: 0 / 0.5347 GB, free: 9.934 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001416/0.4253, allocations: 426.1 kB / 0.5351 GB, free: 9.723 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.996e-05/0.4254, allocations: 56.78 kB / 0.5352 GB, free: 9.656 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002035/0.4256, allocations: 183.9 kB / 0.5353 GB, free: 9.516 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.927e-05/0.4256, allocations: 25.7 kB / 0.5354 GB, free: 9.484 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.861e-05/0.4257, allocations: 105.6 kB / 0.5355 GB, free: 9.383 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.227e-05/0.4257, allocations: 39.77 kB / 0.5355 GB, free: 9.348 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.198e-05/0.4258, allocations: 25.95 kB / 0.5355 GB, free: 9.324 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.4259, allocations: 330.9 kB / 0.5358 GB, free: 8.996 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001412/0.4261, allocations: 56.52 kB / 0.5359 GB, free: 8.969 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001395/0.4262, allocations: 49.47 kB / 0.5359 GB, free: 8.949 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002902/0.4265, allocations: 127.7 kB / 0.5361 GB, free: 8.883 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.4265, allocations: 0 / 0.5361 GB, free: 8.883 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003686/0.4269, allocations: 165.4 kB / 0.5362 GB, free: 8.789 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.4269, allocations: 4.938 kB / 0.5362 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.4269, allocations: 3.938 kB / 0.5362 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.465e-05/0.427, allocations: 5.438 kB / 0.5362 GB, free: 8.781 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000119/0.4271, allocations: 31.97 kB / 0.5363 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.4271, allocations: 1.094 kB / 0.5363 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.5e-05/0.4272, allocations: 5.562 kB / 0.5363 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.675e-05/0.4272, allocations: 15.27 kB / 0.5363 GB, free: 8.758 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 (11): * Single equations (assignments): 11 * 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.0001215/0.4273, allocations: 126.9 kB / 0.5364 GB, free: 8.633 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.876e-05/0.4274, allocations: 13.56 kB / 0.5364 GB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004868/0.4279, allocations: 187.5 kB / 0.5366 GB, free: 8.516 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.243e-06/0.4279, allocations: 5.094 kB / 0.5366 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.034e-06/0.4279, allocations: 0.5625 kB / 0.5366 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.4279, allocations: 0 / 0.5366 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007755/0.4287, allocations: 0.5019 MB / 0.5371 GB, free: 8.059 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.4287, allocations: 5.062 kB / 0.5371 GB, free: 8.055 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000114/0.4288, allocations: 28.67 kB / 0.5371 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.828e-06/0.4288, allocations: 0.9688 kB / 0.5371 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.958e-05/0.4289, allocations: 10.14 kB / 0.5371 GB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.4289, allocations: 4.875 kB / 0.5371 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.4289, allocations: 0.9375 kB / 0.5371 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004341/0.4293, allocations: 281.8 kB / 0.5374 GB, free: 7.812 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.002e-05/0.4294, allocations: 92.7 kB / 0.5375 GB, free: 7.707 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.233e-05/0.4294, allocations: 1.031 kB / 0.5375 GB, free: 7.707 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/0.4295, allocations: 14.42 kB / 0.5375 GB, free: 7.699 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.263e-05/0.4296, allocations: 9.016 kB / 0.5375 GB, free: 7.695 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.056e-05/0.4296, allocations: 4.375 kB / 0.5375 GB, free: 7.695 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001347/0.4298, allocations: 144 kB / 0.5377 GB, free: 7.59 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4298, allocations: 0 / 0.5377 GB, free: 7.59 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002864/0.4301, allocations: 27.41 kB / 0.5377 GB, free: 7.582 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001843/0.4319, allocations: 1.155 MB / 0.5388 GB, free: 6.688 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003843/0.4323, allocations: 132.3 kB / 0.5389 GB, free: 6.629 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.4323, allocations: 4 kB / 0.539 GB, free: 6.625 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001681/0.4325, allocations: 71.55 kB / 0.539 GB, free: 6.594 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003979/0.4329, allocations: 29.09 kB / 0.539 GB, free: 6.582 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002737/0.4356, allocations: 1.901 MB / 0.5409 GB, free: 5.008 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005123/0.4362, allocations: 0.7147 MB / 0.5416 GB, free: 4.293 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001449/0.4363, allocations: 31.41 kB / 0.5416 GB, free: 4.281 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001119/0.4365, allocations: 39.11 kB / 0.5417 GB, free: 4.25 MB / 398.1 MB Notification: Performance of SimCode: time 4.71e-07/0.4365, allocations: 0 / 0.5417 GB, free: 4.25 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.025/0.4615, allocations: 3.439 MB / 0.545 GB, free: 2.387 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.437/7.898, allocations: 11.48 kB / 0.545 GB, free: 2.379 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25_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_CombiTable2Dv_Test25.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test25/Test25.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches