Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.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.001727/0.001727, 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.001992/0.001992, 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.5/1.5, allocations: 225.6 MB / 249.8 MB, free: 3.473 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.2394/0.2394, allocations: 44.92 MB / 349.6 MB, free: 1.707 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.CombiTable1Dv.Test25_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001883/0.001883, allocations: 65.36 kB / 491.8 MB, free: 29.67 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.128, allocations: 64.26 MB / 0.543 GB, free: 4.094 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.003348/0.1313, allocations: 1.576 MB / 0.5446 GB, free: 2.5 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009003/0.1322, allocations: 439.1 kB / 0.545 GB, free: 2.066 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.703e-05/0.1323, allocations: 0 / 0.545 GB, free: 2.066 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002495/0.1325, allocations: 23.86 kB / 0.545 GB, free: 2.043 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001877/0.1327, allocations: 39.78 kB / 0.545 GB, free: 2.004 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003256/0.133, allocations: 111.2 kB / 0.5451 GB, free: 1.898 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001621/0.1332, allocations: 63.83 kB / 0.5452 GB, free: 1.836 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.1333, allocations: 8.125 kB / 0.5452 GB, free: 1.828 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.356e-05/0.1334, allocations: 27.86 kB / 0.5452 GB, free: 1.801 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.911e-05/0.1334, allocations: 19.92 kB / 0.5453 GB, free: 1.781 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.75e-05/0.1334, allocations: 4 kB / 0.5453 GB, free: 1.777 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00013/0.1336, allocations: 63.89 kB / 0.5453 GB, free: 1.715 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.359e-05/0.1336, allocations: 4 kB / 0.5453 GB, free: 1.711 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.481e-05/0.1337, allocations: 31.8 kB / 0.5454 GB, free: 1.68 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002162/0.1339, allocations: 95.58 kB / 0.5454 GB, free: 1.586 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1339, allocations: 0 / 0.5454 GB, free: 1.586 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.1339, allocations: 0 / 0.5454 GB, free: 1.586 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.571e-06/0.1339, allocations: 0 / 0.5454 GB, free: 1.586 MB / 398.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.0005551/0.1344, allocations: 379.1 kB / 0.5458 GB, free: 1.168 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.1345, allocations: 8.031 kB / 0.5458 GB, free: 1.16 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.549e-05/0.1345, allocations: 38.75 kB / 0.5459 GB, free: 1.113 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.393e-05/0.1346, allocations: 8.891 kB / 0.5459 GB, free: 1.105 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000237/0.1348, allocations: 196.2 kB / 0.5461 GB, free: 0.875 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.1348, allocations: 4.312 kB / 0.5461 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.062e-05/0.1348, allocations: 8.125 kB / 0.5461 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001754/0.135, allocations: 63.39 kB / 0.5461 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.135, allocations: 0 / 0.5461 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.135, allocations: 0 / 0.5461 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.135, allocations: 4 kB / 0.5461 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.644e-05/0.1351, allocations: 23.98 kB / 0.5461 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000481/0.1356, allocations: 292.8 kB / 0.5464 GB, free: 436 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001265/0.1357, allocations: 54.55 kB / 0.5465 GB, free: 372 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.582e-05/0.1358, allocations: 16.86 kB / 0.5465 GB, free: 352 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.795e-05/0.1358, allocations: 16.06 kB / 0.5465 GB, free: 336 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.158e-05/0.1359, allocations: 30.56 kB / 0.5465 GB, free: 296 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.392e-06/0.1359, allocations: 0 / 0.5465 GB, free: 296 kB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006436/0.1365, allocations: 173.3 kB / 0.5467 GB, free: 116 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.764e-05/0.1366, allocations: 77.11 kB / 0.5468 GB, free: 20 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001763/0.1368, allocations: 145.7 kB / 0.5469 GB, free: 15.87 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.792e-05/0.1368, allocations: 25.7 kB / 0.5469 GB, free: 15.84 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.272e-05/0.1368, allocations: 92.12 kB / 0.547 GB, free: 15.74 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.807e-05/0.1369, allocations: 31.66 kB / 0.5471 GB, free: 15.71 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.455e-05/0.1369, allocations: 25.7 kB / 0.5471 GB, free: 15.68 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001611/0.1371, allocations: 322.8 kB / 0.5474 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.17e-05/0.1372, allocations: 31.97 kB / 0.5474 GB, free: 15.32 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.473e-05/0.1372, allocations: 49.69 kB / 0.5475 GB, free: 15.27 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001603/0.1374, allocations: 65.05 kB / 0.5475 GB, free: 15.2 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.1374, allocations: 0 / 0.5475 GB, free: 15.2 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002247/0.1376, allocations: 109.6 kB / 0.5476 GB, free: 15.09 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.1376, allocations: 4 kB / 0.5476 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.1377, allocations: 0 / 0.5476 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.1377, allocations: 4.031 kB / 0.5476 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001057/0.1378, allocations: 27.92 kB / 0.5477 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.1378, allocations: 0 / 0.5477 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.499e-05/0.1378, allocations: 7.938 kB / 0.5477 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-06/0.1378, allocations: 0 / 0.5477 GB, free: 15.05 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 (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 0.00011/0.1379, allocations: 125.8 kB / 0.5478 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.283e-05/0.138, allocations: 7.953 kB / 0.5478 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002712/0.1382, allocations: 121.9 kB / 0.5479 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.1382, allocations: 0 / 0.5479 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.1383, allocations: 0 / 0.5479 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.1383, allocations: 3.938 kB / 0.5479 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005271/0.1388, allocations: 382.5 kB / 0.5483 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.1388, allocations: 0 / 0.5483 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.702e-05/0.1388, allocations: 12 kB / 0.5483 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/0.1389, allocations: 3.938 kB / 0.5483 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.1389, allocations: 7.938 kB / 0.5483 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.1389, allocations: 0 / 0.5483 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.02e-06/0.1389, allocations: 7.984 kB / 0.5483 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002543/0.1391, allocations: 191.5 kB / 0.5485 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.387e-05/0.1392, allocations: 85.06 kB / 0.5486 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.762e-05/0.1392, allocations: 3.938 kB / 0.5486 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.925e-05/0.1393, allocations: 12 kB / 0.5486 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.067e-05/0.1393, allocations: 3.984 kB / 0.5486 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.335e-06/0.1393, allocations: 4 kB / 0.5486 GB, free: 13.98 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.622e-05/0.1394, allocations: 109.7 kB / 0.5487 GB, free: 13.88 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1394, allocations: 0 / 0.5487 GB, free: 13.88 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002653/0.1397, allocations: 27.92 kB / 0.5487 GB, free: 13.85 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 (7): * Single equations (assignments): 7 * 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.002079/0.1417, allocations: 1.089 MB / 0.5498 GB, free: 12.93 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002366/0.142, allocations: 71.89 kB / 0.5499 GB, free: 12.86 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.142, allocations: 0 / 0.5499 GB, free: 12.86 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.625e-05/0.1421, allocations: 35.95 kB / 0.5499 GB, free: 12.82 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003745/0.1424, allocations: 15.98 kB / 0.5499 GB, free: 12.81 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001966/0.1444, allocations: 1.476 MB / 0.5514 GB, free: 11.25 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004211/0.1448, allocations: 0.7 MB / 0.552 GB, free: 10.52 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001001/0.1449, allocations: 24.94 kB / 0.5521 GB, free: 10.5 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.696e-05/0.145, allocations: 23.44 kB / 0.5521 GB, free: 10.48 MB / 414.1 MB Notification: Performance of SimCode: time 1.153e-06/0.145, allocations: 0 / 0.5521 GB, free: 10.48 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02574/0.1708, allocations: 3.062 MB / 0.5551 GB, free: 7.41 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.92/8.091, allocations: 8.625 kB / 0.5551 GB, free: 7.402 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.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.259526614099741]