Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00142/0.00142, allocations: 116.4 kB / 18.49 MB, free: 4.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001615/0.001615, allocations: 211 kB / 21.46 MB, free: 1.711 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.526/1.526, allocations: 230.6 MB / 254.8 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2398/0.2398, allocations: 46.93 MB / 357.8 MB, free: 10.33 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test4,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test4",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test4,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test4",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001899/0.001899, allocations: 71.91 kB / 0.4916 GB, free: 7.965 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.1266, allocations: 65.99 MB / 0.5561 GB, free: 5.852 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.003294/0.1298, allocations: 1.663 MB / 0.5577 GB, free: 4.176 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001119/0.131, allocations: 0.5455 MB / 0.5582 GB, free: 3.625 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.043e-05/0.131, allocations: 4 kB / 0.5583 GB, free: 3.621 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003352/0.1314, allocations: 95.69 kB / 0.5583 GB, free: 3.527 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003414/0.1317, allocations: 107.6 kB / 0.5584 GB, free: 3.422 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003052/0.132, allocations: 95.75 kB / 0.5585 GB, free: 3.328 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002233/0.1322, allocations: 103.7 kB / 0.5586 GB, free: 3.227 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001338/0.1324, allocations: 19.98 kB / 0.5587 GB, free: 3.207 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.945e-05/0.1324, allocations: 47.77 kB / 0.5587 GB, free: 3.16 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001394/0.1326, allocations: 71.73 kB / 0.5588 GB, free: 3.09 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.848e-05/0.1326, allocations: 4 kB / 0.5588 GB, free: 3.086 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001159/0.1327, allocations: 47.98 kB / 0.5588 GB, free: 3.039 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.447e-05/0.1328, allocations: 19.92 kB / 0.5588 GB, free: 3.02 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.142e-05/0.1328, allocations: 43.67 kB / 0.5589 GB, free: 2.977 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002643/0.1331, allocations: 131.4 kB / 0.559 GB, free: 2.848 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.1331, allocations: 0 / 0.559 GB, free: 2.848 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.1331, allocations: 4 kB / 0.559 GB, free: 2.844 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.863e-06/0.1331, allocations: 0 / 0.559 GB, free: 2.844 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006872/0.1338, allocations: 438.6 kB / 0.5594 GB, free: 2.367 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.1339, allocations: 8.031 kB / 0.5594 GB, free: 2.359 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.848e-05/0.1339, allocations: 8.125 kB / 0.5594 GB, free: 2.352 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.178e-05/0.1339, allocations: 38.73 kB / 0.5595 GB, free: 2.305 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.209e-05/0.134, allocations: 16.84 kB / 0.5595 GB, free: 2.289 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002389/0.1342, allocations: 212 kB / 0.5597 GB, free: 2.043 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.698e-05/0.1342, allocations: 8.375 kB / 0.5597 GB, free: 2.035 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.246e-05/0.1342, allocations: 12.12 kB / 0.5597 GB, free: 2.023 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001843/0.1344, allocations: 65.66 kB / 0.5598 GB, free: 1.953 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.006e-05/0.1345, allocations: 11.94 kB / 0.5598 GB, free: 1.941 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.1345, allocations: 0 / 0.5598 GB, free: 1.941 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/0.1345, allocations: 4 kB / 0.5598 GB, free: 1.938 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001346/0.1346, allocations: 39.91 kB / 0.5598 GB, free: 1.898 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005245/0.1351, allocations: 328.7 kB / 0.5601 GB, free: 1.527 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001515/0.1353, allocations: 58.55 kB / 0.5602 GB, free: 1.461 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.138e-05/0.1353, allocations: 24.84 kB / 0.5602 GB, free: 1.434 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.562e-05/0.1354, allocations: 0 / 0.5602 GB, free: 1.434 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.507e-05/0.1354, allocations: 34.56 kB / 0.5603 GB, free: 1.391 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.002e-06/0.1354, allocations: 4 kB / 0.5603 GB, free: 1.387 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.00111/0.1365, allocations: 317 kB / 0.5606 GB, free: 1.074 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.461e-05/0.1366, allocations: 55.41 kB / 0.5606 GB, free: 1.008 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002674/0.1368, allocations: 235.5 kB / 0.5608 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.087e-05/0.1369, allocations: 33.7 kB / 0.5609 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.94e-05/0.1369, allocations: 116 kB / 0.561 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.758e-05/0.137, allocations: 43.64 kB / 0.561 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.064e-05/0.1371, allocations: 25.72 kB / 0.561 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000213/0.1373, allocations: 330.8 kB / 0.5614 GB, free: 204 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.896e-05/0.1374, allocations: 31.98 kB / 0.5614 GB, free: 172 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.014e-05/0.1375, allocations: 35.98 kB / 0.5614 GB, free: 136 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002043/0.1377, allocations: 96.77 kB / 0.5615 GB, free: 36 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.1377, allocations: 0 / 0.5615 GB, free: 36 kB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002933/0.138, allocations: 137.6 kB / 0.5617 GB, free: 15.89 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.138, allocations: 4 kB / 0.5617 GB, free: 15.89 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.138, allocations: 4.172 kB / 0.5617 GB, free: 15.88 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.138, allocations: 4.109 kB / 0.5617 GB, free: 15.88 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001292/0.1381, allocations: 27.92 kB / 0.5617 GB, free: 15.85 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.1381, allocations: 3.984 kB / 0.5617 GB, free: 15.85 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.949e-05/0.1382, allocations: 11.98 kB / 0.5617 GB, free: 15.84 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.386e-05/0.1382, allocations: 8 kB / 0.5617 GB, free: 15.83 MB / 430.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 (13): * Single equations (assignments): 13 * 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.000119/0.1383, allocations: 136 kB / 0.5618 GB, free: 15.69 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.109e-05/0.1384, allocations: 15.91 kB / 0.5619 GB, free: 15.67 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003919/0.1387, allocations: 163 kB / 0.562 GB, free: 15.51 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.1387, allocations: 0 / 0.562 GB, free: 15.51 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.1388, allocations: 0 / 0.562 GB, free: 15.51 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.1388, allocations: 7.938 kB / 0.562 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007202/0.1395, allocations: 483 kB / 0.5625 GB, free: 14.97 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.1395, allocations: 0 / 0.5625 GB, free: 14.97 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.666e-05/0.1396, allocations: 27.98 kB / 0.5625 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.1396, allocations: 0 / 0.5625 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/0.1396, allocations: 8 kB / 0.5625 GB, free: 14.94 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/0.1396, allocations: 4 kB / 0.5625 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.1396, allocations: 4.031 kB / 0.5625 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003449/0.1399, allocations: 256 kB / 0.5628 GB, free: 14.66 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.732e-05/0.14, allocations: 89.02 kB / 0.5629 GB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.08e-05/0.14, allocations: 4 kB / 0.5629 GB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.774e-05/0.1401, allocations: 4 kB / 0.5629 GB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.043e-05/0.1401, allocations: 15.98 kB / 0.5629 GB, free: 14.53 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.017e-06/0.1401, allocations: 4 kB / 0.5629 GB, free: 14.53 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001728/0.1403, allocations: 181.2 kB / 0.5631 GB, free: 14.35 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1403, allocations: 0 / 0.5631 GB, free: 14.35 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002687/0.1406, allocations: 24 kB / 0.5631 GB, free: 14.33 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (13): * Single equations (assignments): 13 * 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.002289/0.1429, allocations: 1.121 MB / 0.5642 GB, free: 13.36 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002912/0.1432, allocations: 98.08 kB / 0.5643 GB, free: 13.27 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.1432, allocations: 4 kB / 0.5643 GB, free: 13.27 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001165/0.1433, allocations: 51.91 kB / 0.5643 GB, free: 13.21 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003622/0.1436, allocations: 23.73 kB / 0.5643 GB, free: 13.19 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002446/0.1461, allocations: 1.845 MB / 0.5661 GB, free: 11.26 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003826/0.1465, allocations: 0.7196 MB / 0.5668 GB, free: 10.51 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.032e-05/0.1465, allocations: 16.53 kB / 0.5669 GB, free: 10.5 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.94e-05/0.1466, allocations: 51.42 kB / 0.5669 GB, free: 10.45 MB / 430.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1466, allocations: 0 / 0.5669 GB, free: 10.45 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01924/0.1659, allocations: 3.597 MB / 0.5704 GB, free: 6.91 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.642/8.808, allocations: 12.03 kB / 0.5704 GB, free: 6.902 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test4_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test4.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.154232773988042]