Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.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.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test2",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.001274/0.001274, allocations: 110.9 kB / 16.41 MB, free: 6.492 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.001224/0.001224, allocations: 189.5 kB / 17.34 MB, free: 5.762 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.376/1.376, 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.2149/0.2149, allocations: 43.53 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.002063/0.002063, allocations: 71.89 kB / 441.3 MB, free: 6.164 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1101, allocations: 57.8 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test2): time 0.002927/0.113, allocations: 1.542 MB / 0.4889 GB, free: 10.74 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006804/0.1137, allocations: 323.5 kB / 0.4892 GB, free: 10.42 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.906e-05/0.1138, allocations: 3.938 kB / 0.4892 GB, free: 10.42 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000215/0.114, allocations: 31.84 kB / 0.4893 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001743/0.1142, allocations: 31.83 kB / 0.4893 GB, free: 10.36 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002871/0.1145, allocations: 99.77 kB / 0.4894 GB, free: 10.26 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001422/0.1147, allocations: 47.91 kB / 0.4894 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.1148, allocations: 19.95 kB / 0.4895 GB, free: 10.19 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.867e-05/0.1148, allocations: 19.88 kB / 0.4895 GB, free: 10.17 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.52e-05/0.1149, allocations: 15.92 kB / 0.4895 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.757e-05/0.1149, allocations: 4 kB / 0.4895 GB, free: 10.15 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.122e-05/0.115, allocations: 35.92 kB / 0.4895 GB, free: 10.12 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.782e-05/0.1151, allocations: 15.92 kB / 0.4895 GB, free: 10.1 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.615e-05/0.1151, allocations: 27.86 kB / 0.4896 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001672/0.1153, allocations: 75.61 kB / 0.4896 GB, free: 10 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1153, allocations: 0 / 0.4896 GB, free: 10 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1153, allocations: 0 / 0.4896 GB, free: 10 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.1153, allocations: 0 / 0.4896 GB, free: 10 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.0004814/0.1158, allocations: 367.2 kB / 0.49 GB, free: 9.594 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.1158, allocations: 11.89 kB / 0.49 GB, free: 9.582 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.072e-05/0.1159, allocations: 38.73 kB / 0.49 GB, free: 9.535 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.813e-05/0.1159, allocations: 8.891 kB / 0.4901 GB, free: 9.527 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000194/0.1161, allocations: 196.1 kB / 0.4902 GB, free: 9.297 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.1162, allocations: 4.375 kB / 0.4902 GB, free: 9.293 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.692e-05/0.1162, allocations: 384 / 0.4902 GB, free: 9.293 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001439/0.1163, allocations: 57.61 kB / 0.4903 GB, free: 9.23 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.1164, allocations: 0 / 0.4903 GB, free: 9.23 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.344e-06/0.1164, allocations: 0 / 0.4903 GB, free: 9.23 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.1164, allocations: 0 / 0.4903 GB, free: 9.23 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.76e-05/0.1165, allocations: 27.97 kB / 0.4903 GB, free: 9.203 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003751/0.1169, allocations: 280.8 kB / 0.4906 GB, free: 8.879 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002047/0.1171, allocations: 46.55 kB / 0.4906 GB, free: 8.824 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.363e-05/0.1171, allocations: 16.86 kB / 0.4907 GB, free: 8.805 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.174e-05/0.1172, allocations: 0 / 0.4907 GB, free: 8.805 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.562e-05/0.1172, allocations: 34.64 kB / 0.4907 GB, free: 8.762 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.1172, allocations: 4 kB / 0.4907 GB, free: 8.758 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005443/0.1178, allocations: 149.4 kB / 0.4908 GB, free: 8.605 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.083e-05/0.1178, allocations: 51.41 kB / 0.4909 GB, free: 8.543 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001326/0.118, allocations: 141.9 kB / 0.491 GB, free: 8.395 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.046e-05/0.118, allocations: 25.7 kB / 0.491 GB, free: 8.363 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.995e-05/0.1181, allocations: 100.1 kB / 0.4911 GB, free: 8.262 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.518e-05/0.1181, allocations: 19.86 kB / 0.4912 GB, free: 8.242 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.187e-05/0.1181, allocations: 21.7 kB / 0.4912 GB, free: 8.215 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.1183, allocations: 322.7 kB / 0.4915 GB, free: 7.891 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.233e-05/0.1184, allocations: 23.92 kB / 0.4915 GB, free: 7.867 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.625e-05/0.1184, allocations: 23.97 kB / 0.4915 GB, free: 7.844 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001404/0.1186, allocations: 52.83 kB / 0.4916 GB, free: 7.789 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.1186, allocations: 4 kB / 0.4916 GB, free: 7.785 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001947/0.1188, allocations: 85.88 kB / 0.4917 GB, free: 7.695 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.1188, allocations: 8 kB / 0.4917 GB, free: 7.688 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.1188, allocations: 0 / 0.4917 GB, free: 7.688 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.1189, allocations: 0 / 0.4917 GB, free: 7.688 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.712e-05/0.1189, allocations: 15.92 kB / 0.4917 GB, free: 7.672 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.1189, allocations: 0 / 0.4917 GB, free: 7.672 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.116e-05/0.119, allocations: 7.984 kB / 0.4917 GB, free: 7.664 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/0.119, allocations: 11.92 kB / 0.4917 GB, free: 7.652 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 0.0001047/0.1191, allocations: 125.7 kB / 0.4918 GB, free: 7.52 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.975e-05/0.1192, allocations: 7.953 kB / 0.4918 GB, free: 7.512 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000256/0.1194, allocations: 93.95 kB / 0.4919 GB, free: 7.41 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.1194, allocations: 0 / 0.4919 GB, free: 7.41 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.1194, allocations: 0 / 0.4919 GB, free: 7.41 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.1195, allocations: 0 / 0.4919 GB, free: 7.41 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004696/0.1199, allocations: 354.5 kB / 0.4923 GB, free: 7.008 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.1199, allocations: 0 / 0.4923 GB, free: 7.008 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.96e-05/0.12, allocations: 15.98 kB / 0.4923 GB, free: 6.992 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.12, allocations: 0 / 0.4923 GB, free: 6.992 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.12, allocations: 0 / 0.4923 GB, free: 6.992 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.62e-06/0.12, allocations: 3.938 kB / 0.4923 GB, free: 6.988 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.12, allocations: 0 / 0.4923 GB, free: 6.988 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002518/0.1203, allocations: 187.4 kB / 0.4925 GB, free: 6.789 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.363e-05/0.1204, allocations: 85.25 kB / 0.4925 GB, free: 6.688 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.018e-05/0.1204, allocations: 8 kB / 0.4925 GB, free: 6.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.647e-05/0.1205, allocations: 7.922 kB / 0.4926 GB, free: 6.672 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.993e-05/0.1205, allocations: 4 kB / 0.4926 GB, free: 6.668 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.031e-06/0.1205, allocations: 0 / 0.4926 GB, free: 6.668 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001005/0.1206, allocations: 115.2 kB / 0.4927 GB, free: 6.555 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1206, allocations: 0 / 0.4927 GB, free: 6.555 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002412/0.1209, allocations: 20 kB / 0.4927 GB, free: 6.535 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.001931/0.1228, allocations: 1.015 MB / 0.4937 GB, free: 5.535 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002111/0.1231, allocations: 51.97 kB / 0.4937 GB, free: 5.484 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1231, allocations: 0 / 0.4937 GB, free: 5.484 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.938e-05/0.1231, allocations: 27.97 kB / 0.4938 GB, free: 5.457 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003457/0.1235, allocations: 15.94 kB / 0.4938 GB, free: 5.441 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001657/0.1252, allocations: 1.428 MB / 0.4952 GB, free: 3.938 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00039/0.1256, allocations: 0.6963 MB / 0.4958 GB, free: 3.215 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.313e-05/0.1256, allocations: 15.97 kB / 0.4959 GB, free: 3.199 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.65e-05/0.1257, allocations: 23.38 kB / 0.4959 GB, free: 3.176 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1257, allocations: 0 / 0.4959 GB, free: 3.176 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02376/0.1495, allocations: 2.478 MB / 0.4983 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.825/7.974, allocations: 3.906 kB / 0.4983 GB, free: 0.6758 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test2_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test2.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches