Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable1D.Test31,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test31,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test31",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.001164/0.001164, allocations: 104.6 kB / 16.4 MB, free: 6.512 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.001431/0.001431, allocations: 188.2 kB / 17.34 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.407/1.407, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2186/0.2186, allocations: 43.52 MB / 314.1 MB, free: 460 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 65.94 kB / 441.3 MB, free: 6.121 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09726/0.09862, allocations: 57.79 MB / 499.1 MB, free: 12.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test31): time 0.003114/0.1018, allocations: 1.558 MB / 0.4889 GB, free: 10.69 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006265/0.1024, allocations: 327.5 kB / 0.4892 GB, free: 10.37 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.205e-05/0.1025, allocations: 0 / 0.4892 GB, free: 10.37 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003237/0.1029, allocations: 127.7 kB / 0.4894 GB, free: 10.24 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002366/0.1031, allocations: 87.7 kB / 0.4894 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002913/0.1034, allocations: 95.73 kB / 0.4895 GB, free: 10.06 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001766/0.1036, allocations: 75.88 kB / 0.4896 GB, free: 9.988 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.9e-05/0.1037, allocations: 19.97 kB / 0.4896 GB, free: 9.969 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.465e-05/0.1038, allocations: 43.83 kB / 0.4897 GB, free: 9.926 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001282/0.1039, allocations: 79.78 kB / 0.4897 GB, free: 9.848 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.796e-05/0.104, allocations: 7.938 kB / 0.4898 GB, free: 9.84 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.398e-05/0.104, allocations: 32 kB / 0.4898 GB, free: 9.809 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.669e-05/0.1041, allocations: 31.89 kB / 0.4898 GB, free: 9.777 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.086e-05/0.1042, allocations: 27.75 kB / 0.4898 GB, free: 9.75 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001946/0.1044, allocations: 103.5 kB / 0.4899 GB, free: 9.648 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1044, allocations: 0 / 0.4899 GB, free: 9.648 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1044, allocations: 4 kB / 0.4899 GB, free: 9.645 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.1044, allocations: 0 / 0.4899 GB, free: 9.645 MB / 382.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.0005156/0.1049, allocations: 426.6 kB / 0.4904 GB, free: 9.18 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.105, allocations: 19.83 kB / 0.4904 GB, free: 9.16 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.801e-05/0.105, allocations: 34.75 kB / 0.4904 GB, free: 9.117 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.887e-05/0.105, allocations: 12.84 kB / 0.4904 GB, free: 9.105 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001885/0.1052, allocations: 208 kB / 0.4906 GB, free: 8.863 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.388e-06/0.1053, allocations: 384 / 0.4906 GB, free: 8.863 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.914e-05/0.1053, allocations: 384 / 0.4906 GB, free: 8.863 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001383/0.1054, allocations: 53.62 kB / 0.4907 GB, free: 8.805 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.1054, allocations: 0 / 0.4907 GB, free: 8.805 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.125e-06/0.1055, allocations: 0 / 0.4907 GB, free: 8.805 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.1055, allocations: 4 kB / 0.4907 GB, free: 8.801 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.995e-05/0.1056, allocations: 31.91 kB / 0.4907 GB, free: 8.77 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003829/0.106, allocations: 292.9 kB / 0.491 GB, free: 8.434 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002043/0.1062, allocations: 42.56 kB / 0.491 GB, free: 8.383 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.399e-05/0.1062, allocations: 20.94 kB / 0.491 GB, free: 8.359 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.084e-05/0.1063, allocations: 0 / 0.491 GB, free: 8.359 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.108e-05/0.1063, allocations: 38.5 kB / 0.4911 GB, free: 8.312 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.1063, allocations: 0 / 0.4911 GB, free: 8.312 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005633/0.1069, allocations: 165.6 kB / 0.4912 GB, free: 8.145 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.618e-05/0.1069, allocations: 55.34 kB / 0.4913 GB, free: 8.078 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002567/0.1072, allocations: 270.2 kB / 0.4915 GB, free: 7.801 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.247e-05/0.1072, allocations: 25.7 kB / 0.4916 GB, free: 7.77 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.01e-05/0.1073, allocations: 116.1 kB / 0.4917 GB, free: 7.652 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.189e-05/0.1073, allocations: 11.91 kB / 0.4917 GB, free: 7.641 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.406e-05/0.1073, allocations: 13.72 kB / 0.4917 GB, free: 7.621 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.00011/0.1075, allocations: 334.8 kB / 0.492 GB, free: 7.285 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.595e-05/0.1075, allocations: 23.97 kB / 0.492 GB, free: 7.262 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.537e-05/0.1076, allocations: 19.98 kB / 0.4921 GB, free: 7.242 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001364/0.1078, allocations: 60.95 kB / 0.4921 GB, free: 7.18 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.1078, allocations: 0 / 0.4921 GB, free: 7.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002094/0.108, allocations: 93.56 kB / 0.4922 GB, free: 7.082 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.108, allocations: 11.94 kB / 0.4922 GB, free: 7.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.108, allocations: 0 / 0.4922 GB, free: 7.07 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.108, allocations: 0 / 0.4922 GB, free: 7.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.319e-05/0.1081, allocations: 8 kB / 0.4922 GB, free: 7.062 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.1081, allocations: 3.938 kB / 0.4922 GB, free: 7.059 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.194e-05/0.1082, allocations: 11.98 kB / 0.4922 GB, free: 7.047 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.1082, allocations: 3.938 kB / 0.4923 GB, free: 7.043 MB / 382.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 9.303e-05/0.1083, allocations: 137.8 kB / 0.4924 GB, free: 6.898 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.768e-05/0.1083, allocations: 15.91 kB / 0.4924 GB, free: 6.883 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002391/0.1086, allocations: 98.64 kB / 0.4925 GB, free: 6.777 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.1086, allocations: 7.938 kB / 0.4925 GB, free: 6.77 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.1086, allocations: 0 / 0.4925 GB, free: 6.77 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.1086, allocations: 4 kB / 0.4925 GB, free: 6.766 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004304/0.109, allocations: 366.5 kB / 0.4929 GB, free: 6.352 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.109, allocations: 0 / 0.4929 GB, free: 6.352 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.683e-05/0.1091, allocations: 12 kB / 0.4929 GB, free: 6.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.1091, allocations: 0 / 0.4929 GB, free: 6.34 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.315e-06/0.1091, allocations: 0 / 0.4929 GB, free: 6.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.287e-06/0.1091, allocations: 3.938 kB / 0.4929 GB, free: 6.336 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1091, allocations: 192 / 0.4929 GB, free: 6.336 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002454/0.1094, allocations: 199.4 kB / 0.4931 GB, free: 6.125 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.857e-05/0.1095, allocations: 89.02 kB / 0.4931 GB, free: 6.02 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.974e-05/0.1095, allocations: 3.984 kB / 0.4931 GB, free: 6.016 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.722e-05/0.1096, allocations: 7.938 kB / 0.4932 GB, free: 6.008 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.763e-05/0.1096, allocations: 4 kB / 0.4932 GB, free: 6.004 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.1096, allocations: 0 / 0.4932 GB, free: 6.004 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001767/0.1098, allocations: 207.2 kB / 0.4934 GB, free: 5.801 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1098, allocations: 0 / 0.4934 GB, free: 5.801 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002524/0.1101, allocations: 19.94 kB / 0.4934 GB, free: 5.781 MB / 382.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.001372/0.1114, allocations: 1.03 MB / 0.4944 GB, free: 4.766 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002146/0.1117, allocations: 43.97 kB / 0.4944 GB, free: 4.723 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1117, allocations: 0 / 0.4944 GB, free: 4.723 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.531e-05/0.1118, allocations: 35.91 kB / 0.4945 GB, free: 4.688 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003804/0.1122, allocations: 19.88 kB / 0.4945 GB, free: 4.668 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001822/0.114, allocations: 1.715 MB / 0.4962 GB, free: 2.875 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002634/0.1143, allocations: 0.7196 MB / 0.4969 GB, free: 2.129 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.522e-05/0.1143, allocations: 16.05 kB / 0.4969 GB, free: 2.113 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.326e-05/0.1144, allocations: 31.42 kB / 0.4969 GB, free: 2.082 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1144, allocations: 0 / 0.4969 GB, free: 2.082 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02062/0.135, allocations: 3.039 MB / 0.4999 GB, free: 15.03 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.608/7.743, allocations: 12.28 kB / 0.4999 GB, free: 15.02 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test31.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches