Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test16",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001049/0.001049, allocations: 105.5 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001103/0.001103, allocations: 192 kB / 18.56 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.31/1.31, allocations: 222.9 MB / 242.3 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1944/0.1944, allocations: 44.18 MB / 336.6 MB, free: 2.738 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 69.17 kB / 408.5 MB, free: 27.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09734/0.09863, allocations: 60.82 MB / 469.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test16): time 0.002667/0.1013, allocations: 1.584 MB / 470.9 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006777/0.102, allocations: 415.3 kB / 471.3 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.375e-05/0.1021, allocations: 0 / 471.3 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002203/0.1023, allocations: 75.77 kB / 471.4 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001911/0.1025, allocations: 67.73 kB / 471.5 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002678/0.1028, allocations: 107.4 kB / 471.6 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001256/0.1029, allocations: 71.89 kB / 471.7 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.912e-05/0.103, allocations: 28.09 kB / 471.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.674e-05/0.1031, allocations: 35.8 kB / 471.7 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.58e-05/0.1032, allocations: 51.88 kB / 471.8 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.556e-05/0.1032, allocations: 0 / 471.8 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.53e-05/0.1033, allocations: 43.98 kB / 471.8 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.531e-05/0.1033, allocations: 23.91 kB / 471.8 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.837e-05/0.1034, allocations: 31.75 kB / 471.9 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00015/0.1035, allocations: 95.92 kB / 472 MB, free: 11.63 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1036, allocations: 8 kB / 472 MB, free: 11.62 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1036, allocations: 0 / 472 MB, free: 11.62 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.07e-06/0.1036, allocations: 4 kB / 472 MB, free: 11.62 MB / 350.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.0004175/0.104, allocations: 399 kB / 472.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.265e-05/0.104, allocations: 15.97 kB / 472.4 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.846e-05/0.1041, allocations: 34.75 kB / 472.4 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.986e-05/0.1041, allocations: 8.844 kB / 472.4 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001653/0.1043, allocations: 196.1 kB / 472.6 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.806e-06/0.1043, allocations: 384 / 472.6 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.478e-05/0.1043, allocations: 16.03 kB / 472.6 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001437/0.1045, allocations: 53.67 kB / 472.7 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.1045, allocations: 0 / 472.7 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.1045, allocations: 3.984 kB / 472.7 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.1045, allocations: 4 kB / 472.7 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.468e-05/0.1046, allocations: 27.92 kB / 472.7 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003654/0.105, allocations: 308.7 kB / 473 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001083/0.1051, allocations: 42.56 kB / 473.1 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.219e-05/0.1052, allocations: 24.88 kB / 473.1 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.933e-05/0.1052, allocations: 0 / 473.1 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.931e-05/0.1052, allocations: 30.56 kB / 473.1 MB, free: 10.31 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.32e-07/0.1052, allocations: 0 / 473.1 MB, free: 10.31 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008572/0.1061, allocations: 229.1 kB / 473.3 MB, free: 10.08 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.273e-05/0.1061, allocations: 59.33 kB / 473.4 MB, free: 10.01 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000178/0.1063, allocations: 210.2 kB / 473.6 MB, free: 9.793 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.231e-05/0.1063, allocations: 25.7 kB / 473.6 MB, free: 9.762 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.279e-05/0.1064, allocations: 104 kB / 473.7 MB, free: 9.656 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.751e-05/0.1064, allocations: 27.64 kB / 473.8 MB, free: 9.629 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.777e-05/0.1065, allocations: 21.72 kB / 473.8 MB, free: 9.602 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000101/0.1066, allocations: 322.8 kB / 474.1 MB, free: 9.277 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.765e-05/0.1067, allocations: 32.05 kB / 474.1 MB, free: 9.246 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.521e-05/0.1068, allocations: 31.97 kB / 474.2 MB, free: 9.215 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001662/0.1069, allocations: 80.75 kB / 474.2 MB, free: 9.133 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.107, allocations: 0 / 474.2 MB, free: 9.133 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000212/0.1072, allocations: 109.5 kB / 474.3 MB, free: 9.02 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.1072, allocations: 7.938 kB / 474.3 MB, free: 9.012 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-06/0.1072, allocations: 3.938 kB / 474.4 MB, free: 9.008 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.1072, allocations: 0 / 474.4 MB, free: 9.008 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001503/0.1074, allocations: 23.98 kB / 474.4 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.1074, allocations: 3.938 kB / 474.4 MB, free: 8.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.195e-05/0.1074, allocations: 12 kB / 474.4 MB, free: 8.969 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.1075, allocations: 3.984 kB / 474.4 MB, free: 8.965 MB / 350.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 8.375e-05/0.1075, allocations: 125.8 kB / 474.5 MB, free: 8.832 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.381e-05/0.1076, allocations: 7.906 kB / 474.5 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002951/0.1079, allocations: 134.6 kB / 474.7 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.1079, allocations: 0 / 474.7 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.249e-06/0.1079, allocations: 3.938 kB / 474.7 MB, free: 8.684 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.1079, allocations: 8 kB / 474.7 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004983/0.1084, allocations: 415.2 kB / 475.1 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.1084, allocations: 3.938 kB / 475.1 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.895e-05/0.1085, allocations: 23.92 kB / 475.1 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.1085, allocations: 0 / 475.1 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.694e-06/0.1085, allocations: 432 / 475.1 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.1085, allocations: 8.031 kB / 475.1 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1086, allocations: 0 / 475.1 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002474/0.1088, allocations: 208.3 kB / 475.3 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.936e-05/0.1089, allocations: 88.95 kB / 475.4 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.818e-05/0.1089, allocations: 4 kB / 475.4 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.568e-05/0.109, allocations: 15.97 kB / 475.4 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.523e-05/0.109, allocations: 4 kB / 475.4 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.353e-05/0.109, allocations: 3.984 kB / 475.4 MB, free: 7.82 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001088/0.1091, allocations: 151.2 kB / 475.6 MB, free: 7.672 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1091, allocations: 0 / 475.6 MB, free: 7.672 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002537/0.1094, allocations: 23.98 kB / 475.6 MB, free: 7.648 MB / 350.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.001404/0.1108, allocations: 1.109 MB / 476.7 MB, free: 6.695 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002322/0.1111, allocations: 75.89 kB / 476.8 MB, free: 6.621 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1111, allocations: 0 / 476.8 MB, free: 6.621 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.387e-05/0.1112, allocations: 43.91 kB / 476.8 MB, free: 6.578 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003455/0.1115, allocations: 23.27 kB / 476.8 MB, free: 6.559 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001722/0.1132, allocations: 1.665 MB / 478.5 MB, free: 4.801 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002402/0.1135, allocations: 0.7119 MB / 479.2 MB, free: 4.062 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.489e-05/0.1136, allocations: 20.66 kB / 479.2 MB, free: 4.043 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.224e-05/0.1136, allocations: 35.42 kB / 479.3 MB, free: 4.008 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1137, allocations: 0 / 479.3 MB, free: 4.008 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01946/0.1331, allocations: 3 MB / 482.3 MB, free: 1.078 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.72/7.853, allocations: 7.922 kB / 482.3 MB, free: 1.07 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0012 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test16.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches