Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.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.Test1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test1",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.001293/0.001293, allocations: 105.3 kB / 16.41 MB, free: 6.465 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.001811/0.001811, allocations: 189.5 kB / 17.34 MB, free: 5.715 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.398/1.398, 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.2336/0.2336, allocations: 43.53 MB / 314.1 MB, free: 456 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.002309/0.002309, allocations: 73.45 kB / 441.3 MB, free: 6.137 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1283, allocations: 57.8 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.003529/0.1318, allocations: 1.542 MB / 0.4889 GB, free: 10.71 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007257/0.1326, allocations: 323.5 kB / 0.4892 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.426e-05/0.1327, allocations: 4 kB / 0.4892 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002177/0.1329, allocations: 15.86 kB / 0.4893 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002122/0.1332, allocations: 39.84 kB / 0.4893 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002886/0.1335, allocations: 71.78 kB / 0.4894 GB, free: 10.27 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001806/0.1337, allocations: 59.84 kB / 0.4894 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.1338, allocations: 11.97 kB / 0.4894 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.022e-05/0.1338, allocations: 23.86 kB / 0.4895 GB, free: 10.17 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.06e-05/0.1339, allocations: 15.92 kB / 0.4895 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.544e-05/0.1339, allocations: 4 kB / 0.4895 GB, free: 10.15 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.801e-05/0.134, allocations: 35.92 kB / 0.4895 GB, free: 10.12 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.936e-05/0.1341, allocations: 11.94 kB / 0.4895 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.52e-05/0.1342, allocations: 27.84 kB / 0.4895 GB, free: 10.08 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000192/0.1344, allocations: 75.61 kB / 0.4896 GB, free: 10 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.1344, allocations: 0 / 0.4896 GB, free: 10 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1344, allocations: 0 / 0.4896 GB, free: 10 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.1344, 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.0005451/0.1349, allocations: 367.2 kB / 0.49 GB, free: 9.598 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.135, allocations: 11.89 kB / 0.49 GB, free: 9.586 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.503e-05/0.135, allocations: 42.73 kB / 0.49 GB, free: 9.535 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.531e-05/0.1351, allocations: 4.891 kB / 0.49 GB, free: 9.531 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002222/0.1353, allocations: 192.2 kB / 0.4902 GB, free: 9.305 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.1353, allocations: 4.375 kB / 0.4902 GB, free: 9.301 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.334e-05/0.1354, allocations: 4.375 kB / 0.4902 GB, free: 9.297 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001602/0.1355, allocations: 53.61 kB / 0.4903 GB, free: 9.238 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.673e-05/0.1356, allocations: 3.984 kB / 0.4903 GB, free: 9.234 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.1356, allocations: 4 kB / 0.4903 GB, free: 9.23 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.1356, allocations: 0 / 0.4903 GB, free: 9.23 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.292e-05/0.1357, allocations: 19.98 kB / 0.4903 GB, free: 9.211 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004098/0.1361, allocations: 276.8 kB / 0.4906 GB, free: 8.891 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002227/0.1363, allocations: 46.56 kB / 0.4906 GB, free: 8.836 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.948e-05/0.1364, allocations: 8.859 kB / 0.4906 GB, free: 8.824 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.251e-05/0.1364, allocations: 4 kB / 0.4906 GB, free: 8.82 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.778e-05/0.1365, allocations: 30.56 kB / 0.4906 GB, free: 8.781 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.393e-06/0.1365, allocations: 0 / 0.4906 GB, free: 8.781 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005987/0.1371, allocations: 145.5 kB / 0.4908 GB, free: 8.633 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.757e-05/0.1371, allocations: 59.39 kB / 0.4908 GB, free: 8.562 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001608/0.1373, allocations: 141.9 kB / 0.491 GB, free: 8.414 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.992e-05/0.1373, allocations: 25.7 kB / 0.491 GB, free: 8.383 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.95e-05/0.1374, allocations: 96.08 kB / 0.4911 GB, free: 8.285 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.953e-05/0.1374, allocations: 15.84 kB / 0.4911 GB, free: 8.27 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.71e-05/0.1375, allocations: 17.72 kB / 0.4911 GB, free: 8.246 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001837/0.1377, allocations: 330.8 kB / 0.4914 GB, free: 7.914 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.14e-05/0.1377, allocations: 19.92 kB / 0.4915 GB, free: 7.895 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.993e-05/0.1378, allocations: 15.98 kB / 0.4915 GB, free: 7.879 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001296/0.1379, allocations: 44.84 kB / 0.4915 GB, free: 7.832 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.1379, allocations: 0 / 0.4915 GB, free: 7.832 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000193/0.1381, allocations: 85.8 kB / 0.4916 GB, free: 7.742 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.1382, allocations: 8 kB / 0.4916 GB, free: 7.734 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.1382, allocations: 0 / 0.4916 GB, free: 7.734 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.1382, allocations: 0 / 0.4916 GB, free: 7.734 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.868e-05/0.1383, allocations: 12 kB / 0.4916 GB, free: 7.723 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.1383, allocations: 7.938 kB / 0.4916 GB, free: 7.715 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.789e-05/0.1384, allocations: 3.984 kB / 0.4916 GB, free: 7.711 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.217e-05/0.1384, allocations: 7.938 kB / 0.4916 GB, free: 7.703 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.0001086/0.1385, allocations: 125.7 kB / 0.4918 GB, free: 7.57 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.322e-05/0.1385, allocations: 7.953 kB / 0.4918 GB, free: 7.562 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002534/0.1388, allocations: 85.97 kB / 0.4918 GB, free: 7.469 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.1388, allocations: 4 kB / 0.4918 GB, free: 7.465 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.1388, allocations: 0 / 0.4918 GB, free: 7.465 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.533e-06/0.1388, allocations: 3.984 kB / 0.4919 GB, free: 7.461 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000463/0.1393, allocations: 338.5 kB / 0.4922 GB, free: 7.074 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.1393, allocations: 4 kB / 0.4922 GB, free: 7.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.168e-05/0.1394, allocations: 12 kB / 0.4922 GB, free: 7.059 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.1394, allocations: 0 / 0.4922 GB, free: 7.059 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.702e-06/0.1394, allocations: 0 / 0.4922 GB, free: 7.059 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.08e-06/0.1394, allocations: 7.922 kB / 0.4922 GB, free: 7.051 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1394, allocations: 0 / 0.4922 GB, free: 7.051 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002403/0.1396, allocations: 175.4 kB / 0.4924 GB, free: 6.863 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.808e-05/0.1397, allocations: 89.06 kB / 0.4924 GB, free: 6.758 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.728e-05/0.1397, allocations: 4 kB / 0.4925 GB, free: 6.754 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.82e-05/0.1398, allocations: 12.11 kB / 0.4925 GB, free: 6.742 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.344e-05/0.1399, allocations: 4 kB / 0.4925 GB, free: 6.738 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.215e-06/0.1399, allocations: 4 kB / 0.4925 GB, free: 6.734 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.039e-05/0.14, allocations: 115.2 kB / 0.4926 GB, free: 6.621 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.14, allocations: 0 / 0.4926 GB, free: 6.621 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002424/0.1402, allocations: 12 kB / 0.4926 GB, free: 6.609 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.001982/0.1422, allocations: 0.9995 MB / 0.4936 GB, free: 5.629 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002197/0.1424, allocations: 51.89 kB / 0.4936 GB, free: 5.578 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.1425, allocations: 4 kB / 0.4936 GB, free: 5.574 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.328e-05/0.1425, allocations: 28.11 kB / 0.4936 GB, free: 5.547 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003789/0.1429, allocations: 19.88 kB / 0.4937 GB, free: 5.527 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001702/0.1446, allocations: 1.401 MB / 0.495 GB, free: 4.047 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000409/0.1451, allocations: 0.6885 MB / 0.4957 GB, free: 3.332 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.071e-05/0.1451, allocations: 12.22 kB / 0.4957 GB, free: 3.32 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.326e-05/0.1452, allocations: 27.36 kB / 0.4957 GB, free: 3.293 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1452, allocations: 0 / 0.4957 GB, free: 3.293 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02527/0.1705, allocations: 2.435 MB / 0.4981 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.857/8.027, allocations: 19.89 kB / 0.4981 GB, free: 0.8242 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test1_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test1.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches