Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test27.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.Test27,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test27,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test27",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.001235/0.001235, allocations: 105.8 kB / 16.41 MB, free: 6.508 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.001273/0.001273, allocations: 189.5 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.361/1.361, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.215/0.215, allocations: 43.52 MB / 314.1 MB, free: 452 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.002042/0.002042, allocations: 73.97 kB / 441.3 MB, free: 6.137 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.1149, allocations: 57.79 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test27): time 0.002797/0.1177, allocations: 1.554 MB / 0.4889 GB, free: 10.71 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006079/0.1183, allocations: 327.5 kB / 0.4892 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.263e-05/0.1184, allocations: 4 kB / 0.4892 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002955/0.1187, allocations: 119.7 kB / 0.4894 GB, free: 10.27 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001967/0.1189, allocations: 91.69 kB / 0.4895 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002553/0.1192, allocations: 95.81 kB / 0.4895 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001554/0.1193, allocations: 79.8 kB / 0.4896 GB, free: 10.01 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.108e-05/0.1194, allocations: 27.84 kB / 0.4896 GB, free: 9.98 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.111e-05/0.1195, allocations: 39.89 kB / 0.4897 GB, free: 9.941 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000122/0.1196, allocations: 79.78 kB / 0.4898 GB, free: 9.863 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.538e-05/0.1197, allocations: 4 kB / 0.4898 GB, free: 9.859 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.29e-05/0.1197, allocations: 32 kB / 0.4898 GB, free: 9.828 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.675e-05/0.1198, allocations: 27.91 kB / 0.4898 GB, free: 9.801 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.92e-05/0.1198, allocations: 27.75 kB / 0.4898 GB, free: 9.773 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001761/0.12, allocations: 103.5 kB / 0.4899 GB, free: 9.672 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.82e-06/0.12, allocations: 0 / 0.4899 GB, free: 9.672 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1201, allocations: 3.938 kB / 0.4899 GB, free: 9.668 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.519e-06/0.1201, allocations: 0 / 0.4899 GB, free: 9.668 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.0005056/0.1206, allocations: 430.6 kB / 0.4904 GB, free: 9.199 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.1206, allocations: 15.89 kB / 0.4904 GB, free: 9.184 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.495e-05/0.1207, allocations: 34.75 kB / 0.4904 GB, free: 9.141 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.396e-05/0.1207, allocations: 16.84 kB / 0.4904 GB, free: 9.125 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002131/0.1209, allocations: 208 kB / 0.4906 GB, free: 8.883 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.969e-06/0.1209, allocations: 384 / 0.4906 GB, free: 8.883 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.069e-05/0.121, allocations: 4.375 kB / 0.4906 GB, free: 8.879 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001293/0.1211, allocations: 45.62 kB / 0.4907 GB, free: 8.828 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.1211, allocations: 3.938 kB / 0.4907 GB, free: 8.824 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.384e-06/0.1211, allocations: 4 kB / 0.4907 GB, free: 8.82 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.1211, allocations: 0 / 0.4907 GB, free: 8.82 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.591e-05/0.1212, allocations: 35.95 kB / 0.4907 GB, free: 8.785 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003909/0.1216, allocations: 292.9 kB / 0.491 GB, free: 8.449 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002099/0.1219, allocations: 42.5 kB / 0.491 GB, free: 8.398 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.413e-05/0.1219, allocations: 20.94 kB / 0.4911 GB, free: 8.375 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.927e-05/0.122, allocations: 4 kB / 0.4911 GB, free: 8.371 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.785e-05/0.122, allocations: 30.56 kB / 0.4911 GB, free: 8.332 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.122, allocations: 4 kB / 0.4911 GB, free: 8.328 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005639/0.1226, allocations: 161.3 kB / 0.4912 GB, free: 8.164 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.481e-05/0.1226, allocations: 55.41 kB / 0.4913 GB, free: 8.098 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002524/0.1229, allocations: 266.2 kB / 0.4915 GB, free: 7.824 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.584e-05/0.1229, allocations: 29.7 kB / 0.4916 GB, free: 7.789 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.173e-05/0.123, allocations: 112.1 kB / 0.4917 GB, free: 7.676 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.114e-05/0.123, allocations: 11.91 kB / 0.4917 GB, free: 7.664 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.891e-05/0.1231, allocations: 17.72 kB / 0.4917 GB, free: 7.641 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.1232, allocations: 330.8 kB / 0.492 GB, free: 7.309 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.557e-05/0.1233, allocations: 23.97 kB / 0.4921 GB, free: 7.285 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.584e-05/0.1233, allocations: 19.98 kB / 0.4921 GB, free: 7.266 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001409/0.1235, allocations: 57.02 kB / 0.4921 GB, free: 7.207 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.1235, allocations: 4 kB / 0.4921 GB, free: 7.203 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001946/0.1237, allocations: 85.52 kB / 0.4922 GB, free: 7.113 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.1237, allocations: 15.92 kB / 0.4922 GB, free: 7.098 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.908e-06/0.1237, allocations: 0 / 0.4922 GB, free: 7.098 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.1238, allocations: 0 / 0.4922 GB, free: 7.098 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.699e-05/0.1238, allocations: 11.94 kB / 0.4922 GB, free: 7.086 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.782e-06/0.1238, allocations: 8 kB / 0.4922 GB, free: 7.078 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.084e-05/0.1239, allocations: 7.984 kB / 0.4923 GB, free: 7.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.085e-05/0.1239, allocations: 7.938 kB / 0.4923 GB, free: 7.062 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.0001044/0.124, allocations: 133.8 kB / 0.4924 GB, free: 6.922 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.397e-05/0.1241, allocations: 11.91 kB / 0.4924 GB, free: 6.91 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002576/0.1243, allocations: 114.6 kB / 0.4925 GB, free: 6.789 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.1243, allocations: 0 / 0.4925 GB, free: 6.789 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.1243, allocations: 4 kB / 0.4925 GB, free: 6.785 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.1243, allocations: 0 / 0.4925 GB, free: 6.785 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004822/0.1248, allocations: 362.5 kB / 0.4929 GB, free: 6.375 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.1248, allocations: 7.984 kB / 0.4929 GB, free: 6.367 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.414e-05/0.1249, allocations: 11.94 kB / 0.4929 GB, free: 6.355 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.1249, allocations: 0 / 0.4929 GB, free: 6.355 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.1249, allocations: 0 / 0.4929 GB, free: 6.355 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/0.1249, allocations: 3.938 kB / 0.4929 GB, free: 6.352 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.1249, allocations: 8.188 kB / 0.4929 GB, free: 6.344 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002463/0.1252, allocations: 187.4 kB / 0.4931 GB, free: 6.145 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.353e-05/0.1253, allocations: 85.02 kB / 0.4931 GB, free: 6.043 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.982e-05/0.1253, allocations: 11.98 kB / 0.4932 GB, free: 6.031 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.665e-05/0.1254, allocations: 3.938 kB / 0.4932 GB, free: 6.027 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.546e-05/0.1254, allocations: 4 kB / 0.4932 GB, free: 6.023 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.858e-06/0.1254, allocations: 4 kB / 0.4932 GB, free: 6.02 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001834/0.1256, allocations: 207.2 kB / 0.4934 GB, free: 5.816 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1256, allocations: 0 / 0.4934 GB, free: 5.816 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002313/0.1258, allocations: 11.94 kB / 0.4934 GB, free: 5.805 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.00191/0.1278, allocations: 1.026 MB / 0.4944 GB, free: 4.789 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002008/0.128, allocations: 51.97 kB / 0.4944 GB, free: 4.738 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.128, allocations: 0 / 0.4944 GB, free: 4.738 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.226e-05/0.1281, allocations: 31.91 kB / 0.4945 GB, free: 4.707 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003609/0.1284, allocations: 19.88 kB / 0.4945 GB, free: 4.688 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001915/0.1304, allocations: 1.723 MB / 0.4962 GB, free: 2.887 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003515/0.1307, allocations: 0.7119 MB / 0.4969 GB, free: 2.148 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.977e-05/0.1308, allocations: 20.03 kB / 0.4969 GB, free: 2.129 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.267e-05/0.1309, allocations: 35.42 kB / 0.4969 GB, free: 2.094 MB / 382.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1309, allocations: 4 kB / 0.4969 GB, free: 2.09 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02408/0.155, allocations: 3.028 MB / 0.4999 GB, free: 15.04 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.946/8.101, allocations: 12.22 kB / 0.4999 GB, free: 15.03 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test27.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test27.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test27_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test27_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test27.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches