Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.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.001864/0.001864, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.002292/0.002292, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.457/1.457, allocations: 230.6 MB / 254.1 MB, free: 15.08 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.2334/0.2334, allocations: 46.92 MB / 357.1 MB, free: 10.3 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.CombiTimeTable.Test76,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test76",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test76,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test76",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001998/0.001998, allocations: 71.89 kB / 0.491 GB, free: 7.855 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.1308, allocations: 65.98 MB / 0.5555 GB, free: 5.742 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.003215/0.134, allocations: 1.764 MB / 0.5572 GB, free: 3.965 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001781/0.1358, allocations: 1.033 MB / 0.5582 GB, free: 2.926 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.85e-05/0.1359, allocations: 0 / 0.5582 GB, free: 2.926 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002979/0.1362, allocations: 55.73 kB / 0.5583 GB, free: 2.871 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003322/0.1365, allocations: 103.5 kB / 0.5584 GB, free: 2.77 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002409/0.1368, allocations: 79.67 kB / 0.5584 GB, free: 2.691 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002354/0.137, allocations: 127.7 kB / 0.5586 GB, free: 2.566 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001193/0.1371, allocations: 11.98 kB / 0.5586 GB, free: 2.555 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001181/0.1372, allocations: 59.75 kB / 0.5586 GB, free: 2.496 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001152/0.1373, allocations: 59.72 kB / 0.5587 GB, free: 2.438 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.927e-05/0.1374, allocations: 4 kB / 0.5587 GB, free: 2.434 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000131/0.1375, allocations: 67.89 kB / 0.5587 GB, free: 2.367 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.463e-05/0.1376, allocations: 27.92 kB / 0.5588 GB, free: 2.34 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.804e-05/0.1376, allocations: 43.67 kB / 0.5588 GB, free: 2.297 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000263/0.1379, allocations: 147.4 kB / 0.559 GB, free: 2.152 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.1379, allocations: 0 / 0.559 GB, free: 2.152 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1379, allocations: 0 / 0.559 GB, free: 2.152 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.71e-06/0.1379, allocations: 3.938 kB / 0.559 GB, free: 2.148 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007177/0.1386, allocations: 442.5 kB / 0.5594 GB, free: 1.668 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.261e-05/0.1387, allocations: 12.03 kB / 0.5594 GB, free: 1.656 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.362e-05/0.1387, allocations: 38.73 kB / 0.5594 GB, free: 1.609 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.772e-05/0.1388, allocations: 16.84 kB / 0.5594 GB, free: 1.594 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003571/0.1391, allocations: 236 kB / 0.5597 GB, free: 1.324 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.1392, allocations: 4.375 kB / 0.5597 GB, free: 1.32 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.734e-05/0.1392, allocations: 7.938 kB / 0.5597 GB, free: 1.312 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001873/0.1394, allocations: 73.59 kB / 0.5598 GB, free: 1.234 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.1394, allocations: 0 / 0.5598 GB, free: 1.234 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.1394, allocations: 0 / 0.5598 GB, free: 1.234 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.1394, allocations: 8 kB / 0.5598 GB, free: 1.227 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001259/0.1395, allocations: 43.97 kB / 0.5598 GB, free: 1.184 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005051/0.14, allocations: 316.7 kB / 0.5601 GB, free: 0.8242 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003035/0.1403, allocations: 74.55 kB / 0.5602 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.049e-05/0.1404, allocations: 28.84 kB / 0.5602 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.909e-05/0.1404, allocations: 8 kB / 0.5602 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001839/0.1406, allocations: 83.41 kB / 0.5603 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.313e-06/0.1406, allocations: 0 / 0.5603 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009115/0.1415, allocations: 301.5 kB / 0.5606 GB, free: 316 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.283e-05/0.1416, allocations: 63.28 kB / 0.5606 GB, free: 240 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002353/0.1418, allocations: 194.1 kB / 0.5608 GB, free: 36 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.238e-05/0.1419, allocations: 29.7 kB / 0.5608 GB, free: 0 / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.14e-05/0.1419, allocations: 104.4 kB / 0.5609 GB, free: 15.89 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.857e-05/0.142, allocations: 47.64 kB / 0.561 GB, free: 15.85 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.796e-05/0.1421, allocations: 29.72 kB / 0.561 GB, free: 15.81 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002576/0.1423, allocations: 326.8 kB / 0.5613 GB, free: 15.48 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.085e-05/0.1424, allocations: 39.98 kB / 0.5614 GB, free: 15.45 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001009/0.1425, allocations: 51.61 kB / 0.5614 GB, free: 15.39 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001798/0.1427, allocations: 97.7 kB / 0.5615 GB, free: 15.29 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.91e-07/0.1427, allocations: 4 kB / 0.5615 GB, free: 15.29 MB / 430.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002841/0.143, allocations: 164.8 kB / 0.5617 GB, free: 15.12 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.143, allocations: 4 kB / 0.5617 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.143, allocations: 3.938 kB / 0.5617 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.143, allocations: 0 / 0.5617 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.759e-05/0.1431, allocations: 31.86 kB / 0.5617 GB, free: 15.08 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.1431, allocations: 4 kB / 0.5617 GB, free: 15.08 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.024e-05/0.1432, allocations: 12.02 kB / 0.5617 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.385e-05/0.1432, allocations: 4 kB / 0.5617 GB, free: 15.06 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001267/0.1433, allocations: 132 kB / 0.5619 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.151e-05/0.1433, allocations: 15.91 kB / 0.5619 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.617e-05/0.1434, allocations: 17.53 kB / 0.5619 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.418e-06/0.1434, allocations: 11.94 kB / 0.5619 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.339e-06/0.1434, allocations: 0 / 0.5619 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.1434, allocations: 3.984 kB / 0.5619 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006754/0.1441, allocations: 492 kB / 0.5624 GB, free: 14.33 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.1441, allocations: 0 / 0.5624 GB, free: 14.33 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.293e-05/0.1442, allocations: 19.98 kB / 0.5624 GB, free: 14.31 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.1442, allocations: 0 / 0.5624 GB, free: 14.31 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.898e-05/0.1442, allocations: 8 kB / 0.5624 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1442, allocations: 0 / 0.5624 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1442, allocations: 8.5 kB / 0.5624 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003479/0.1445, allocations: 253.1 kB / 0.5627 GB, free: 14.03 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.24e-05/0.1446, allocations: 93.02 kB / 0.5627 GB, free: 13.92 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.708e-05/0.1446, allocations: 3.984 kB / 0.5627 GB, free: 13.91 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.866e-05/0.1447, allocations: 8 kB / 0.5628 GB, free: 13.91 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.894e-05/0.1447, allocations: 7.984 kB / 0.5628 GB, free: 13.9 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.092e-05/0.1448, allocations: 15.94 kB / 0.5628 GB, free: 13.88 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001512/0.1449, allocations: 148.3 kB / 0.5629 GB, free: 13.74 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1449, allocations: 0 / 0.5629 GB, free: 13.74 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002897/0.1452, allocations: 31.94 kB / 0.5629 GB, free: 13.71 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002607/0.1478, allocations: 1.213 MB / 0.5641 GB, free: 12.68 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002857/0.1481, allocations: 91.91 kB / 0.5642 GB, free: 12.59 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1481, allocations: 0 / 0.5642 GB, free: 12.59 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001087/0.1482, allocations: 43.91 kB / 0.5643 GB, free: 12.55 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000372/0.1486, allocations: 27.98 kB / 0.5643 GB, free: 12.52 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002456/0.151, allocations: 1.865 MB / 0.5661 GB, free: 10.55 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004035/0.1514, allocations: 0.7162 MB / 0.5668 GB, free: 9.805 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.563e-05/0.1515, allocations: 33.39 kB / 0.5668 GB, free: 9.773 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.28e-05/0.1516, allocations: 43.42 kB / 0.5669 GB, free: 9.73 MB / 430.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1516, allocations: 0 / 0.5669 GB, free: 9.73 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02602/0.1776, allocations: 4.08 MB / 0.5709 GB, free: 5.707 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.205/8.382, allocations: 11.88 kB / 0.5709 GB, free: 5.695 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test76_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test76.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.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.42973666312173]