Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.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.001643/0.001643, allocations: 119 kB / 18.5 MB, free: 4.602 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.001745/0.001745, allocations: 194.9 kB / 21.44 MB, free: 1.664 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.478/1.478, allocations: 225.6 MB / 249.8 MB, free: 3.715 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.2274/0.2274, allocations: 44.91 MB / 349.6 MB, free: 1.723 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.CombiTimeTable.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001967/0.001967, allocations: 62.08 kB / 491.9 MB, free: 29.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1505/0.1525, allocations: 64.26 MB / 0.5431 GB, free: 4.004 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.004421/0.1569, allocations: 1.76 MB / 0.5448 GB, free: 2.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001721/0.1586, allocations: 0.8962 MB / 0.5457 GB, free: 1.328 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.437e-05/0.1587, allocations: 0 / 0.5457 GB, free: 1.328 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00042/0.1591, allocations: 115.6 kB / 0.5458 GB, free: 1.215 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002857/0.1594, allocations: 87.64 kB / 0.5459 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003678/0.1598, allocations: 111.7 kB / 0.546 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002671/0.16, allocations: 127.7 kB / 0.5461 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001526/0.1602, allocations: 16.2 kB / 0.5461 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001463/0.1603, allocations: 63.77 kB / 0.5462 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001583/0.1605, allocations: 79.72 kB / 0.5463 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.468e-05/0.1605, allocations: 8 kB / 0.5463 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001441/0.1607, allocations: 55.98 kB / 0.5463 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.981e-05/0.1607, allocations: 39.83 kB / 0.5464 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.192e-05/0.1608, allocations: 39.69 kB / 0.5464 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003326/0.1612, allocations: 159.3 kB / 0.5466 GB, free: 452 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.1612, allocations: 0 / 0.5466 GB, free: 452 kB / 398.1 MB Notification: Performance of FrontEnd: time 2.976e-06/0.1612, allocations: 0 / 0.5466 GB, free: 452 kB / 398.1 MB Notification: Performance of Transformations before backend: time 1.379e-05/0.1612, allocations: 0 / 0.5466 GB, free: 452 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0009296/0.1621, allocations: 460.1 kB / 0.547 GB, free: 15.95 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.788e-05/0.1622, allocations: 16.03 kB / 0.547 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.114e-05/0.1623, allocations: 38.73 kB / 0.547 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.687e-05/0.1623, allocations: 16.84 kB / 0.5471 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004661/0.1628, allocations: 224.1 kB / 0.5473 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.08e-05/0.1628, allocations: 8.312 kB / 0.5473 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.904e-05/0.1628, allocations: 3.938 kB / 0.5473 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000202/0.163, allocations: 73.66 kB / 0.5474 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.163, allocations: 0 / 0.5474 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.507e-05/0.1631, allocations: 4 kB / 0.5474 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.882e-06/0.1631, allocations: 7.984 kB / 0.5474 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001063/0.1632, allocations: 31.98 kB / 0.5474 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005461/0.1637, allocations: 324.7 kB / 0.5477 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002907/0.164, allocations: 74.48 kB / 0.5478 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.231e-05/0.1641, allocations: 24.84 kB / 0.5478 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.345e-05/0.1641, allocations: 7.984 kB / 0.5478 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001908/0.1643, allocations: 83.31 kB / 0.5479 GB, free: 14.9 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.253e-06/0.1643, allocations: 0 / 0.5479 GB, free: 14.9 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009409/0.1653, allocations: 305.2 kB / 0.5482 GB, free: 14.59 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001045/0.1654, allocations: 51.41 kB / 0.5482 GB, free: 14.53 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002901/0.1656, allocations: 255.1 kB / 0.5485 GB, free: 14.27 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.413e-05/0.1657, allocations: 29.81 kB / 0.5485 GB, free: 14.23 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.9e-05/0.1658, allocations: 120 kB / 0.5486 GB, free: 14.11 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.629e-05/0.1658, allocations: 47.64 kB / 0.5487 GB, free: 14.07 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.702e-05/0.1659, allocations: 33.7 kB / 0.5487 GB, free: 14.03 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002337/0.1661, allocations: 326.8 kB / 0.549 GB, free: 13.7 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.257e-05/0.1662, allocations: 35.98 kB / 0.549 GB, free: 13.66 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001/0.1663, allocations: 57.69 kB / 0.5491 GB, free: 13.6 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001806/0.1665, allocations: 109.2 kB / 0.5492 GB, free: 13.49 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.1665, allocations: 0 / 0.5492 GB, free: 13.49 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002927/0.1668, allocations: 161.5 kB / 0.5494 GB, free: 13.33 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.1668, allocations: 8 kB / 0.5494 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.1668, allocations: 0 / 0.5494 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.967e-05/0.1668, allocations: 3.938 kB / 0.5494 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.86e-05/0.1669, allocations: 31.92 kB / 0.5494 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.1669, allocations: 4 kB / 0.5494 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.516e-05/0.167, allocations: 8.031 kB / 0.5494 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.167, allocations: 8 kB / 0.5494 GB, free: 13.27 MB / 414.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 (16): * Single equations (assignments): 16 * 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.0001431/0.1671, allocations: 129.8 kB / 0.5495 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.166e-05/0.1672, allocations: 15.91 kB / 0.5496 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.236e-05/0.1672, allocations: 33.45 kB / 0.5496 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.1672, allocations: 0 / 0.5496 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.1672, allocations: 0.8438 kB / 0.5496 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.1672, allocations: 0 / 0.5496 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006964/0.1679, allocations: 0.5038 MB / 0.5501 GB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1679, allocations: 0 / 0.5501 GB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.008e-05/0.168, allocations: 20 kB / 0.5501 GB, free: 12.49 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.168, allocations: 4 kB / 0.5501 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/0.168, allocations: 3.984 kB / 0.5501 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.168, allocations: 4 kB / 0.5501 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.168, allocations: 0 / 0.5501 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003538/0.1684, allocations: 273 kB / 0.5504 GB, free: 12.19 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.372e-05/0.1684, allocations: 89.02 kB / 0.5505 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.777e-05/0.1685, allocations: 4 kB / 0.5505 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.234e-05/0.1685, allocations: 4 kB / 0.5505 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.148e-05/0.1686, allocations: 11.98 kB / 0.5505 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.14e-05/0.1686, allocations: 15.98 kB / 0.5505 GB, free: 12.05 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001848/0.1688, allocations: 184.5 kB / 0.5507 GB, free: 11.87 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1688, allocations: 0 / 0.5507 GB, free: 11.87 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002767/0.1691, allocations: 31.94 kB / 0.5507 GB, free: 11.84 MB / 414.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 (14): * Single equations (assignments): 12 * 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.002523/0.1716, allocations: 1.214 MB / 0.5519 GB, free: 10.82 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002562/0.1718, allocations: 91.91 kB / 0.552 GB, free: 10.73 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1718, allocations: 0 / 0.552 GB, free: 10.73 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.887e-05/0.1719, allocations: 47.92 kB / 0.552 GB, free: 10.68 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003716/0.1723, allocations: 42.22 kB / 0.5521 GB, free: 10.64 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002458/0.1748, allocations: 1.989 MB / 0.554 GB, free: 8.551 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003832/0.1752, allocations: 0.7201 MB / 0.5547 GB, free: 7.805 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.509e-05/0.1752, allocations: 29.41 kB / 0.5547 GB, free: 7.773 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001027/0.1753, allocations: 51.41 kB / 0.5548 GB, free: 7.723 MB / 414.1 MB Notification: Performance of SimCode: time 7.82e-07/0.1753, allocations: 0 / 0.5548 GB, free: 7.723 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02762/0.203, allocations: 4.291 MB / 0.559 GB, free: 3.457 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.852/8.055, allocations: 8.922 kB / 0.559 GB, free: 3.449 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test5_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test5.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.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.19746489264071]