Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001562/0.001562, allocations: 119 kB / 18.5 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001722/0.001722, allocations: 190.9 kB / 21.44 MB, free: 1.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.446/1.446, allocations: 225.6 MB / 249.8 MB, free: 3.637 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2565/0.2565, allocations: 44.93 MB / 349.6 MB, free: 1.73 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.CombiTable2Ds.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test19",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001909/0.001909, allocations: 64.27 kB / 491.8 MB, free: 29.88 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1368, allocations: 64.26 MB / 0.543 GB, free: 4.105 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test19): time 0.003674/0.1404, allocations: 1.864 MB / 0.5448 GB, free: 2.227 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001553/0.142, allocations: 0.8262 MB / 0.5456 GB, free: 1.395 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.895e-05/0.1421, allocations: 0 / 0.5456 GB, free: 1.395 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004915/0.1426, allocations: 243.3 kB / 0.5459 GB, free: 1.156 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000366/0.1429, allocations: 195.2 kB / 0.5461 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001057/0.144, allocations: 477.9 kB / 0.5465 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003632/0.1444, allocations: 247.4 kB / 0.5467 GB, free: 272 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001593/0.1445, allocations: 44.59 kB / 0.5468 GB, free: 224 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001417/0.1447, allocations: 115.6 kB / 0.5469 GB, free: 108 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002856/0.1449, allocations: 207.3 kB / 0.5471 GB, free: 15.9 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.705e-05/0.145, allocations: 8 kB / 0.5471 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001181/0.1451, allocations: 43.98 kB / 0.5471 GB, free: 15.85 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001302/0.1452, allocations: 87.67 kB / 0.5472 GB, free: 15.77 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001106/0.1453, allocations: 107.1 kB / 0.5473 GB, free: 15.66 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003975/0.1457, allocations: 278.6 kB / 0.5476 GB, free: 15.39 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.1457, allocations: 3.938 kB / 0.5476 GB, free: 15.38 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1457, allocations: 0 / 0.5476 GB, free: 15.38 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.955e-06/0.1457, allocations: 4 kB / 0.5476 GB, free: 15.38 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0009109/0.1467, allocations: 0.6337 MB / 0.5482 GB, free: 14.7 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.1467, allocations: 12.03 kB / 0.5482 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.274e-05/0.1468, allocations: 38.73 kB / 0.5483 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.027e-05/0.1468, allocations: 36.7 kB / 0.5483 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004098/0.1472, allocations: 314.6 kB / 0.5486 GB, free: 14.26 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/0.1472, allocations: 384 / 0.5486 GB, free: 14.26 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.801e-05/0.1473, allocations: 8.312 kB / 0.5486 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002083/0.1475, allocations: 81.61 kB / 0.5487 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/0.1475, allocations: 0 / 0.5487 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.476e-05/0.1475, allocations: 4 kB / 0.5487 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.1475, allocations: 4 kB / 0.5487 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001395/0.1476, allocations: 51.91 kB / 0.5488 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006569/0.1483, allocations: 440.5 kB / 0.5492 GB, free: 13.62 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001328/0.1484, allocations: 50.56 kB / 0.5492 GB, free: 13.57 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.233e-05/0.1485, allocations: 24.97 kB / 0.5492 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.065e-05/0.1485, allocations: 4 kB / 0.5492 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.677e-05/0.1486, allocations: 42.56 kB / 0.5493 GB, free: 13.48 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.1486, allocations: 3.938 kB / 0.5493 GB, free: 13.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=6): time 0.000355/0.1489, allocations: 125.4 kB / 0.5494 GB, free: 13.35 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.082e-05/0.149, allocations: 55.34 kB / 0.5495 GB, free: 13.29 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006523/0.1496, allocations: 0.5488 MB / 0.55 GB, free: 12.73 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.915e-05/0.1496, allocations: 25.7 kB / 0.55 GB, free: 12.7 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001646/0.1498, allocations: 196 kB / 0.5502 GB, free: 12.5 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.622e-05/0.1498, allocations: 27.78 kB / 0.5502 GB, free: 12.47 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.656e-05/0.1499, allocations: 21.7 kB / 0.5503 GB, free: 12.45 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001973/0.1501, allocations: 350.8 kB / 0.5506 GB, free: 12.09 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.308e-05/0.1501, allocations: 12 kB / 0.5506 GB, free: 12.08 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.804e-05/0.1502, allocations: 19.98 kB / 0.5506 GB, free: 12.06 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001234/0.1503, allocations: 52.78 kB / 0.5507 GB, free: 12.01 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.1503, allocations: 4 kB / 0.5507 GB, free: 12 MB / 414.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001984/0.1505, allocations: 109.4 kB / 0.5508 GB, free: 11.89 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.1505, allocations: 7.938 kB / 0.5508 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.1505, allocations: 0 / 0.5508 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.1505, allocations: 3.938 kB / 0.5508 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.72e-05/0.1506, allocations: 15.98 kB / 0.5508 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.1506, allocations: 0 / 0.5508 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.508e-05/0.1507, allocations: 4 kB / 0.5508 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.251e-06/0.1507, allocations: 0 / 0.5508 GB, free: 11.86 MB / 414.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 (6): * Single equations (assignments): 6 * 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.0001642/0.1509, allocations: 177.7 kB / 0.551 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.763e-05/0.1509, allocations: 47.64 kB / 0.551 GB, free: 11.63 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000274/0.1512, allocations: 128.9 kB / 0.5512 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.1512, allocations: 3.938 kB / 0.5512 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.1512, allocations: 0.5 kB / 0.5512 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.1512, allocations: 0 / 0.5512 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003106/0.1515, allocations: 281.5 kB / 0.5514 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.1515, allocations: 4 kB / 0.5514 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.117e-05/0.1516, allocations: 15.98 kB / 0.5514 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.1516, allocations: 0 / 0.5514 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.1516, allocations: 4 kB / 0.5514 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.1516, allocations: 3.938 kB / 0.5515 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.1516, allocations: 3.938 kB / 0.5515 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002613/0.1519, allocations: 203.3 kB / 0.5516 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000105/0.152, allocations: 120.8 kB / 0.5518 GB, free: 10.78 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.72e-05/0.152, allocations: 0 / 0.5518 GB, free: 10.78 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.33e-05/0.1521, allocations: 11.94 kB / 0.5518 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.581e-05/0.1521, allocations: 7.984 kB / 0.5518 GB, free: 10.76 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.1521, allocations: 0 / 0.5518 GB, free: 10.76 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00044/0.1526, allocations: 411.1 kB / 0.5522 GB, free: 10.36 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1526, allocations: 0 / 0.5522 GB, free: 10.36 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002728/0.1528, allocations: 35.89 kB / 0.5522 GB, free: 10.32 MB / 414.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 (6): * Single equations (assignments): 6 * 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.002793/0.1556, allocations: 1.236 MB / 0.5534 GB, free: 9.332 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001817/0.1558, allocations: 47.97 kB / 0.5535 GB, free: 9.285 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1558, allocations: 0 / 0.5535 GB, free: 9.285 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.23e-05/0.1559, allocations: 27.92 kB / 0.5535 GB, free: 9.258 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005692/0.1564, allocations: 89.22 kB / 0.5536 GB, free: 9.18 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003348/0.1598, allocations: 2.725 MB / 0.5562 GB, free: 6.379 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004511/0.1602, allocations: 0.7903 MB / 0.557 GB, free: 5.562 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001161/0.1604, allocations: 37.44 kB / 0.557 GB, free: 5.523 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001415/0.1605, allocations: 95.39 kB / 0.5571 GB, free: 5.43 MB / 414.1 MB Notification: Performance of SimCode: time 8.82e-07/0.1605, allocations: 8 kB / 0.5571 GB, free: 5.422 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0298/0.1903, allocations: 6.469 MB / 0.5635 GB, free: 14.96 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.303/8.493, allocations: 3.938 kB / 0.5635 GB, free: 14.96 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test19_fmu --startTime=0 --stopTime=6 --stepSize=0.00119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test19.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.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: 11.625475433189422]