Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.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.00132/0.00132, allocations: 120.1 kB / 18.49 MB, free: 4.562 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.001437/0.001437, allocations: 215.1 kB / 21.45 MB, free: 1.617 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.576/1.576, allocations: 230.6 MB / 254.8 MB, free: 15.1 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.3743/0.3743, allocations: 46.93 MB / 357.8 MB, free: 10.31 MB / 286.1 MB " [Timeout remaining time 179] 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.Test21,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test21",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test21,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test21",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 59.91 kB / 0.4916 GB, free: 7.941 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.1327, allocations: 65.99 MB / 0.5561 GB, free: 5.824 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.003506/0.1362, allocations: 1.606 MB / 0.5576 GB, free: 4.207 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00205/0.1382, allocations: 1.167 MB / 0.5588 GB, free: 3.031 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.963e-05/0.1383, allocations: 0 / 0.5588 GB, free: 3.031 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000268/0.1386, allocations: 27.84 kB / 0.5588 GB, free: 3.004 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003808/0.139, allocations: 79.62 kB / 0.5589 GB, free: 2.926 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000315/0.1393, allocations: 91.69 kB / 0.559 GB, free: 2.836 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001835/0.1395, allocations: 67.78 kB / 0.559 GB, free: 2.77 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.1396, allocations: 15.98 kB / 0.5591 GB, free: 2.754 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.052e-05/0.1396, allocations: 23.91 kB / 0.5591 GB, free: 2.73 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001918/0.1398, allocations: 35.84 kB / 0.5591 GB, free: 2.695 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.837e-05/0.1398, allocations: 4 kB / 0.5591 GB, free: 2.691 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002107/0.14, allocations: 99.88 kB / 0.5592 GB, free: 2.594 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.737e-05/0.1401, allocations: 23.86 kB / 0.5592 GB, free: 2.57 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.545e-05/0.1402, allocations: 23.8 kB / 0.5593 GB, free: 2.547 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003419/0.1405, allocations: 131.5 kB / 0.5594 GB, free: 2.418 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.593e-06/0.1405, allocations: 3.984 kB / 0.5594 GB, free: 2.414 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.1405, allocations: 0 / 0.5594 GB, free: 2.414 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.148e-05/0.1405, allocations: 4 kB / 0.5594 GB, free: 2.41 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006012/0.1411, allocations: 410.7 kB / 0.5598 GB, free: 1.961 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.1412, allocations: 12.03 kB / 0.5598 GB, free: 1.949 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.495e-05/0.1412, allocations: 192 / 0.5598 GB, free: 1.949 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.338e-05/0.1412, allocations: 30.75 kB / 0.5598 GB, free: 1.91 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.662e-05/0.1412, allocations: 8.891 kB / 0.5598 GB, free: 1.902 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002532/0.1415, allocations: 193.5 kB / 0.56 GB, free: 1.676 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.1415, allocations: 4.375 kB / 0.56 GB, free: 1.672 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.344e-05/0.1415, allocations: 8.125 kB / 0.56 GB, free: 1.664 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001711/0.1417, allocations: 63.39 kB / 0.5601 GB, free: 1.59 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.666e-05/0.1417, allocations: 7.938 kB / 0.5601 GB, free: 1.582 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-06/0.1417, allocations: 0 / 0.5601 GB, free: 1.582 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.1417, allocations: 0 / 0.5601 GB, free: 1.582 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.809e-05/0.1418, allocations: 23.98 kB / 0.5601 GB, free: 1.559 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004006/0.1422, allocations: 276.9 kB / 0.5604 GB, free: 1.238 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002263/0.1425, allocations: 42.5 kB / 0.5604 GB, free: 1.188 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.643e-05/0.1425, allocations: 20.94 kB / 0.5604 GB, free: 1.164 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.732e-05/0.1425, allocations: 0 / 0.5604 GB, free: 1.164 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.57e-05/0.1426, allocations: 30.56 kB / 0.5605 GB, free: 1.125 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 6.532e-06/0.1426, allocations: 3.984 kB / 0.5605 GB, free: 1.121 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006226/0.1432, allocations: 141.4 kB / 0.5606 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.611e-05/0.1433, allocations: 81.11 kB / 0.5607 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001716/0.1434, allocations: 149.8 kB / 0.5608 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.008e-05/0.1435, allocations: 29.7 kB / 0.5609 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.073e-05/0.1435, allocations: 88.14 kB / 0.5609 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.889e-05/0.1435, allocations: 23.78 kB / 0.561 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.621e-05/0.1436, allocations: 25.7 kB / 0.561 GB, free: 0.543 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.1437, allocations: 318.8 kB / 0.5613 GB, free: 228 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.28e-05/0.1438, allocations: 15.98 kB / 0.5613 GB, free: 212 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.874e-05/0.1439, allocations: 41.62 kB / 0.5614 GB, free: 164 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001427/0.144, allocations: 45.03 kB / 0.5614 GB, free: 116 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.144, allocations: 4.031 kB / 0.5614 GB, free: 112 kB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002183/0.1443, allocations: 81.55 kB / 0.5615 GB, free: 24 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.1443, allocations: 10.03 kB / 0.5615 GB, free: 16 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.1443, allocations: 0 / 0.5615 GB, free: 16 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.1443, allocations: 0 / 0.5615 GB, free: 16 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.113e-05/0.1444, allocations: 11.98 kB / 0.5615 GB, free: 4 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.857e-05/0.1444, allocations: 11.97 kB / 0.5615 GB, free: 15.99 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.328e-05/0.1444, allocations: 7.938 kB / 0.5615 GB, free: 15.98 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.435e-06/0.1445, allocations: 4 kB / 0.5615 GB, free: 15.98 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 (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.000109/0.1446, allocations: 124 kB / 0.5616 GB, free: 15.85 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.276e-05/0.1446, allocations: 11.89 kB / 0.5617 GB, free: 15.84 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000253/0.1449, allocations: 85.91 kB / 0.5617 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.1449, allocations: 4 kB / 0.5617 GB, free: 15.74 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.1449, allocations: 0 / 0.5617 GB, free: 15.74 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.1449, allocations: 3.938 kB / 0.5617 GB, free: 15.74 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004909/0.1454, allocations: 346.6 kB / 0.5621 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.1454, allocations: 0 / 0.5621 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.105e-05/0.1454, allocations: 15.92 kB / 0.5621 GB, free: 15.33 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.1454, allocations: 0 / 0.5621 GB, free: 15.33 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.1454, allocations: 11.94 kB / 0.5621 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.1454, allocations: 0 / 0.5621 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.1454, allocations: 0 / 0.5621 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000273/0.1457, allocations: 183.7 kB / 0.5623 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.339e-05/0.1458, allocations: 81.06 kB / 0.5623 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.104e-05/0.1458, allocations: 7.938 kB / 0.5624 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.69e-05/0.1459, allocations: 7.984 kB / 0.5624 GB, free: 15.01 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.227e-05/0.1459, allocations: 0 / 0.5624 GB, free: 15.01 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.529e-06/0.1459, allocations: 0 / 0.5624 GB, free: 15.01 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001091/0.146, allocations: 115.2 kB / 0.5625 GB, free: 14.89 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.146, allocations: 0 / 0.5625 GB, free: 14.89 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003041/0.1463, allocations: 43.88 kB / 0.5625 GB, free: 14.85 MB / 430.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.002345/0.1487, allocations: 1.107 MB / 0.5636 GB, free: 13.91 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002323/0.1489, allocations: 43.97 kB / 0.5636 GB, free: 13.87 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.1489, allocations: 4 kB / 0.5636 GB, free: 13.87 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.972e-05/0.149, allocations: 23.92 kB / 0.5637 GB, free: 13.84 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003857/0.1494, allocations: 15.98 kB / 0.5637 GB, free: 13.83 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001957/0.1513, allocations: 1.429 MB / 0.5651 GB, free: 12.32 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003472/0.1517, allocations: 0.6924 MB / 0.5658 GB, free: 11.6 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.631e-05/0.1518, allocations: 15.97 kB / 0.5658 GB, free: 11.58 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.831e-05/0.1518, allocations: 27.42 kB / 0.5658 GB, free: 11.56 MB / 430.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1518, allocations: 0 / 0.5658 GB, free: 11.56 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02251/0.1744, allocations: 3.28 MB / 0.569 GB, free: 8.289 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.456/8.63, allocations: 7.688 kB / 0.569 GB, free: 8.285 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test21_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test21.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.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.186115227988921]