Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.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.CombiTable1Ds.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test4",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.001426/0.001427, allocations: 106.8 kB / 16.41 MB, free: 6.477 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.001266/0.001266, allocations: 189.5 kB / 17.34 MB, free: 5.754 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.395/1.395, allocations: 205.1 MB / 223.2 MB, free: 12.11 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.2064/0.2064, allocations: 43.52 MB / 314.1 MB, free: 436 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.001456/0.001456, allocations: 73.47 kB / 441.3 MB, free: 6.133 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1188, allocations: 57.8 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.003254/0.1221, allocations: 1.574 MB / 0.4889 GB, free: 10.68 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006952/0.1229, allocations: 323.5 kB / 0.4893 GB, free: 10.36 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.297e-05/0.1229, allocations: 0 / 0.4893 GB, free: 10.36 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003019/0.1233, allocations: 91.73 kB / 0.4893 GB, free: 10.27 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002214/0.1235, allocations: 79.72 kB / 0.4894 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002757/0.1238, allocations: 75.78 kB / 0.4895 GB, free: 10.12 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001642/0.124, allocations: 79.81 kB / 0.4896 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.1241, allocations: 20.16 kB / 0.4896 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.595e-05/0.1242, allocations: 43.83 kB / 0.4896 GB, free: 9.98 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001057/0.1243, allocations: 55.83 kB / 0.4897 GB, free: 9.926 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.7e-05/0.1243, allocations: 4 kB / 0.4897 GB, free: 9.922 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.272e-05/0.1244, allocations: 27.98 kB / 0.4897 GB, free: 9.895 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.126e-05/0.1245, allocations: 19.92 kB / 0.4897 GB, free: 9.875 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.501e-05/0.1245, allocations: 35.73 kB / 0.4898 GB, free: 9.84 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000246/0.1248, allocations: 103.6 kB / 0.4899 GB, free: 9.738 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.1248, allocations: 7.938 kB / 0.4899 GB, free: 9.73 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1248, allocations: 0 / 0.4899 GB, free: 9.73 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.1248, allocations: 0 / 0.4899 GB, free: 9.73 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004921/0.1253, allocations: 410.9 kB / 0.4903 GB, free: 9.281 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.1254, allocations: 15.89 kB / 0.4903 GB, free: 9.266 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.264e-05/0.1254, allocations: 34.75 kB / 0.4903 GB, free: 9.223 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.718e-05/0.1254, allocations: 12.75 kB / 0.4903 GB, free: 9.211 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001924/0.1256, allocations: 196.1 kB / 0.4905 GB, free: 8.98 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.1256, allocations: 4.375 kB / 0.4905 GB, free: 8.977 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.646e-05/0.1257, allocations: 8.125 kB / 0.4905 GB, free: 8.969 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001596/0.1258, allocations: 61.59 kB / 0.4906 GB, free: 8.902 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.1259, allocations: 0 / 0.4906 GB, free: 8.902 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.1259, allocations: 4 kB / 0.4906 GB, free: 8.898 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/0.1259, allocations: 8 kB / 0.4906 GB, free: 8.891 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.915e-05/0.126, allocations: 31.91 kB / 0.4906 GB, free: 8.859 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003662/0.1264, allocations: 300.7 kB / 0.4909 GB, free: 8.516 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001112/0.1265, allocations: 58.48 kB / 0.491 GB, free: 8.449 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.789e-05/0.1265, allocations: 12.86 kB / 0.491 GB, free: 8.434 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.269e-05/0.1266, allocations: 4.125 kB / 0.491 GB, free: 8.43 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.275e-05/0.1266, allocations: 42.55 kB / 0.491 GB, free: 8.379 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.1266, allocations: 0 / 0.491 GB, free: 8.379 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006362/0.1273, allocations: 185.1 kB / 0.4912 GB, free: 8.191 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.062e-05/0.1273, allocations: 51.41 kB / 0.4912 GB, free: 8.129 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002214/0.1275, allocations: 243.5 kB / 0.4915 GB, free: 7.883 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.656e-05/0.1276, allocations: 25.7 kB / 0.4915 GB, free: 7.852 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.698e-05/0.1276, allocations: 104.1 kB / 0.4916 GB, free: 7.746 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.332e-05/0.1277, allocations: 31.55 kB / 0.4916 GB, free: 7.715 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.986e-05/0.1277, allocations: 21.72 kB / 0.4917 GB, free: 7.688 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001306/0.1279, allocations: 322.8 kB / 0.492 GB, free: 7.363 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.729e-05/0.1279, allocations: 19.98 kB / 0.492 GB, free: 7.344 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.453e-05/0.128, allocations: 27.98 kB / 0.492 GB, free: 7.316 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001272/0.1282, allocations: 60.77 kB / 0.4921 GB, free: 7.254 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.1282, allocations: 3.938 kB / 0.4921 GB, free: 7.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001983/0.1284, allocations: 105.5 kB / 0.4922 GB, free: 7.141 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.1284, allocations: 4 kB / 0.4922 GB, free: 7.137 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.1284, allocations: 0 / 0.4922 GB, free: 7.137 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.1284, allocations: 4 kB / 0.4922 GB, free: 7.133 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.595e-05/0.1285, allocations: 15.98 kB / 0.4922 GB, free: 7.117 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.1285, allocations: 7.938 kB / 0.4922 GB, free: 7.109 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.877e-05/0.1286, allocations: 4.375 kB / 0.4922 GB, free: 7.105 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.618e-05/0.1286, allocations: 8 kB / 0.4922 GB, free: 7.098 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 (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.771e-05/0.1287, allocations: 133.7 kB / 0.4923 GB, free: 6.957 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.169e-05/0.1287, allocations: 11.81 kB / 0.4924 GB, free: 6.945 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002549/0.129, allocations: 127.3 kB / 0.4925 GB, free: 6.809 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.129, allocations: 3.984 kB / 0.4925 GB, free: 6.805 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.188e-06/0.129, allocations: 7.938 kB / 0.4925 GB, free: 6.797 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.129, allocations: 0 / 0.4925 GB, free: 6.797 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004774/0.1295, allocations: 394.5 kB / 0.4929 GB, free: 6.355 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.1295, allocations: 3.938 kB / 0.4929 GB, free: 6.352 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.321e-05/0.1296, allocations: 15.98 kB / 0.4929 GB, free: 6.336 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.139e-06/0.1296, allocations: 3.938 kB / 0.4929 GB, free: 6.332 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.1296, allocations: 4 kB / 0.4929 GB, free: 6.328 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.1296, allocations: 4 kB / 0.4929 GB, free: 6.324 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1296, allocations: 0 / 0.4929 GB, free: 6.324 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002539/0.1299, allocations: 199.3 kB / 0.4931 GB, free: 6.113 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.158e-05/0.13, allocations: 88.95 kB / 0.4932 GB, free: 6.008 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.698e-05/0.13, allocations: 0 / 0.4932 GB, free: 6.008 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.997e-05/0.1301, allocations: 11.98 kB / 0.4932 GB, free: 5.996 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.697e-05/0.1301, allocations: 4 kB / 0.4932 GB, free: 5.992 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-06/0.1301, allocations: 4 kB / 0.4932 GB, free: 5.988 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001321/0.1303, allocations: 175.2 kB / 0.4934 GB, free: 5.816 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1303, allocations: 0 / 0.4934 GB, free: 5.816 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002437/0.1305, allocations: 20 kB / 0.4934 GB, free: 5.797 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 (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.001366/0.1319, allocations: 1.033 MB / 0.4944 GB, free: 4.781 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002128/0.1321, allocations: 63.91 kB / 0.4944 GB, free: 4.719 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1321, allocations: 0 / 0.4944 GB, free: 4.719 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.787e-05/0.1322, allocations: 35.91 kB / 0.4945 GB, free: 4.684 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003356/0.1325, allocations: 27.2 kB / 0.4945 GB, free: 4.66 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001853/0.1344, allocations: 1.668 MB / 0.4961 GB, free: 2.914 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000298/0.1347, allocations: 0.7157 MB / 0.4968 GB, free: 2.172 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.271e-05/0.1348, allocations: 12.66 kB / 0.4968 GB, free: 2.16 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.99e-05/0.1348, allocations: 31.42 kB / 0.4969 GB, free: 2.129 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1349, allocations: 0 / 0.4969 GB, free: 2.129 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02203/0.1569, allocations: 3.018 MB / 0.4998 GB, free: 15.09 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.815/7.971, allocations: 8.203 kB / 0.4998 GB, free: 15.08 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test4_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test4.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches