Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3.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.001503/0.001503, 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.001535/0.001535, allocations: 215 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.574/1.574, allocations: 230.6 MB / 254.8 MB, free: 15.09 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.2387/0.2387, allocations: 46.92 MB / 357.8 MB, free: 10.31 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.Test3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test3",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test3",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00195/0.00195, allocations: 63.91 kB / 0.4917 GB, free: 7.859 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1501/0.1521, allocations: 65.99 MB / 0.5561 GB, free: 5.738 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.003666/0.1557, allocations: 1.727 MB / 0.5578 GB, free: 3.996 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001811/0.1575, allocations: 1.034 MB / 0.5588 GB, free: 2.957 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.304e-05/0.1576, allocations: 0 / 0.5588 GB, free: 2.957 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003225/0.1579, allocations: 39.77 kB / 0.5589 GB, free: 2.918 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003158/0.1582, allocations: 99.53 kB / 0.559 GB, free: 2.82 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001991/0.1584, allocations: 67.75 kB / 0.559 GB, free: 2.754 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002298/0.1587, allocations: 111.6 kB / 0.5591 GB, free: 2.645 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.1588, allocations: 15.98 kB / 0.5592 GB, free: 2.629 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.838e-05/0.1589, allocations: 39.8 kB / 0.5592 GB, free: 2.59 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.017e-05/0.159, allocations: 43.83 kB / 0.5592 GB, free: 2.547 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.808e-05/0.159, allocations: 7.938 kB / 0.5592 GB, free: 2.539 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001042/0.1591, allocations: 43.98 kB / 0.5593 GB, free: 2.496 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.709e-05/0.1592, allocations: 11.94 kB / 0.5593 GB, free: 2.484 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.216e-05/0.1592, allocations: 39.72 kB / 0.5593 GB, free: 2.445 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002361/0.1595, allocations: 111.5 kB / 0.5594 GB, free: 2.336 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1595, allocations: 0 / 0.5594 GB, free: 2.336 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1595, allocations: 0 / 0.5594 GB, free: 2.336 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.77e-06/0.1595, allocations: 3.938 kB / 0.5595 GB, free: 2.332 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006687/0.1602, allocations: 414.8 kB / 0.5598 GB, free: 1.879 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/0.1602, allocations: 12.02 kB / 0.5599 GB, free: 1.867 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.319e-05/0.1602, allocations: 4.188 kB / 0.5599 GB, free: 1.863 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.002e-05/0.1603, allocations: 34.75 kB / 0.5599 GB, free: 1.82 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.014e-05/0.1603, allocations: 8.891 kB / 0.5599 GB, free: 1.812 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003156/0.1606, allocations: 204.2 kB / 0.5601 GB, free: 1.574 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/0.1606, allocations: 4.125 kB / 0.5601 GB, free: 1.57 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.058e-05/0.1607, allocations: 8 kB / 0.5601 GB, free: 1.562 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001714/0.1608, allocations: 53.61 kB / 0.5602 GB, free: 1.504 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.1608, allocations: 8 kB / 0.5602 GB, free: 1.496 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.1609, allocations: 4 kB / 0.5602 GB, free: 1.492 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.1609, allocations: 0 / 0.5602 GB, free: 1.492 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.043e-05/0.1609, allocations: 23.92 kB / 0.5602 GB, free: 1.469 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004358/0.1614, allocations: 288.8 kB / 0.5605 GB, free: 1.137 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001892/0.1616, allocations: 62.66 kB / 0.5605 GB, free: 1.066 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.453e-05/0.1616, allocations: 12.86 kB / 0.5605 GB, free: 1.051 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.146e-05/0.1616, allocations: 4 kB / 0.5605 GB, free: 1.047 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001588/0.1618, allocations: 71.31 kB / 0.5606 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.323e-06/0.1618, allocations: 0 / 0.5606 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005751/0.1624, allocations: 169.4 kB / 0.5608 GB, free: 0.793 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.118e-05/0.1624, allocations: 63.41 kB / 0.5608 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001881/0.1626, allocations: 172.4 kB / 0.561 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.237e-05/0.1626, allocations: 29.7 kB / 0.561 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.201e-05/0.1627, allocations: 96.14 kB / 0.5611 GB, free: 416 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.507e-05/0.1627, allocations: 27.78 kB / 0.5611 GB, free: 388 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.66e-05/0.1628, allocations: 17.72 kB / 0.5612 GB, free: 364 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.1629, allocations: 322.8 kB / 0.5615 GB, free: 32 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.022e-05/0.163, allocations: 23.98 kB / 0.5615 GB, free: 8 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.481e-05/0.1631, allocations: 37.78 kB / 0.5615 GB, free: 15.96 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001289/0.1632, allocations: 65.64 kB / 0.5616 GB, free: 15.89 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.1632, allocations: 0 / 0.5616 GB, free: 15.89 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002029/0.1634, allocations: 101.5 kB / 0.5617 GB, free: 15.79 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.1634, allocations: 4 kB / 0.5617 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.1634, allocations: 4.078 kB / 0.5617 GB, free: 15.78 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.1635, allocations: 0 / 0.5617 GB, free: 15.78 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.627e-05/0.1635, allocations: 20.2 kB / 0.5617 GB, free: 15.76 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/0.1636, allocations: 7.922 kB / 0.5617 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.472e-05/0.1636, allocations: 11.94 kB / 0.5617 GB, free: 15.74 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.057e-05/0.1636, allocations: 4 kB / 0.5617 GB, free: 15.74 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 (10): * Single equations (assignments): 10 * 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.0001052/0.1637, allocations: 118.7 kB / 0.5619 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.346e-05/0.1637, allocations: 11.95 kB / 0.5619 GB, free: 15.6 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.092e-05/0.1638, allocations: 12.72 kB / 0.5619 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.1638, allocations: 0 / 0.5619 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/0.1638, allocations: 7.938 kB / 0.5619 GB, free: 15.58 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.1638, allocations: 3.938 kB / 0.5619 GB, free: 15.58 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004671/0.1643, allocations: 395.6 kB / 0.5623 GB, free: 15.13 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1643, allocations: 4 kB / 0.5623 GB, free: 15.13 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.7e-05/0.1643, allocations: 15.94 kB / 0.5623 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.1643, allocations: 3.938 kB / 0.5623 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.1643, allocations: 0 / 0.5623 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.1643, allocations: 0 / 0.5623 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1643, allocations: 4 kB / 0.5623 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002447/0.1646, allocations: 200.4 kB / 0.5625 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.922e-05/0.1646, allocations: 92.94 kB / 0.5626 GB, free: 14.78 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.41e-05/0.1646, allocations: 8 kB / 0.5626 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.59e-05/0.1647, allocations: 0 / 0.5626 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.747e-05/0.1647, allocations: 7.984 kB / 0.5626 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.544e-05/0.1648, allocations: 4 kB / 0.5626 GB, free: 14.76 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001176/0.1649, allocations: 139.1 kB / 0.5627 GB, free: 14.62 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1649, allocations: 0 / 0.5627 GB, free: 14.62 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002586/0.1651, allocations: 27.92 kB / 0.5627 GB, free: 14.6 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 6 * 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.002175/0.1673, allocations: 1.084 MB / 0.5638 GB, free: 13.67 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001944/0.1675, allocations: 59.89 kB / 0.5639 GB, free: 13.61 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/0.1675, allocations: 4 kB / 0.5639 GB, free: 13.61 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.32e-05/0.1676, allocations: 24.22 kB / 0.5639 GB, free: 13.59 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003673/0.168, allocations: 36.05 kB / 0.5639 GB, free: 13.55 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00195/0.1699, allocations: 1.605 MB / 0.5655 GB, free: 11.85 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003648/0.1703, allocations: 0.7041 MB / 0.5662 GB, free: 11.12 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.438e-05/0.1703, allocations: 8.891 kB / 0.5662 GB, free: 11.11 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.331e-05/0.1704, allocations: 35.42 kB / 0.5662 GB, free: 11.07 MB / 430.1 MB Notification: Performance of SimCode: time 7.62e-07/0.1704, allocations: 0 / 0.5662 GB, free: 11.07 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01943/0.1898, allocations: 3.407 MB / 0.5696 GB, free: 7.742 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.485/8.675, allocations: 8.938 kB / 0.5696 GB, free: 7.734 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test3_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test3.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3.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.968548175995238]