Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.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.001673/0.001673, allocations: 113 kB / 18.49 MB, free: 4.539 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.001965/0.001965, allocations: 217.4 kB / 21.46 MB, free: 1.586 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.475/1.475, allocations: 230.6 MB / 254.8 MB, free: 15.07 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.2355/0.2355, allocations: 46.92 MB / 357.8 MB, free: 10.29 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.Test78,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test78",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test78,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test78",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001958/0.001958, allocations: 71.91 kB / 0.4917 GB, free: 7.82 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.1357, allocations: 65.99 MB / 0.5562 GB, free: 5.703 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.003368/0.1391, allocations: 1.943 MB / 0.5581 GB, free: 3.746 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001963/0.141, allocations: 1.132 MB / 0.5592 GB, free: 2.609 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001151/0.1411, allocations: 7.938 kB / 0.5592 GB, free: 2.602 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005843/0.1417, allocations: 251.4 kB / 0.5594 GB, free: 2.355 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005027/0.1422, allocations: 235.2 kB / 0.5596 GB, free: 2.125 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002759/0.1425, allocations: 107.7 kB / 0.5597 GB, free: 2.02 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003675/0.1429, allocations: 275.2 kB / 0.56 GB, free: 1.75 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001284/0.143, allocations: 29.61 kB / 0.56 GB, free: 1.719 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001963/0.1432, allocations: 135.5 kB / 0.5602 GB, free: 1.586 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002496/0.1435, allocations: 211.3 kB / 0.5604 GB, free: 1.379 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.341e-05/0.1435, allocations: 8 kB / 0.5604 GB, free: 1.371 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001352/0.1436, allocations: 63.97 kB / 0.5604 GB, free: 1.309 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001007/0.1437, allocations: 67.77 kB / 0.5605 GB, free: 1.242 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001139/0.1438, allocations: 95.16 kB / 0.5606 GB, free: 1.148 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003688/0.1442, allocations: 262.8 kB / 0.5608 GB, free: 0.8906 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1442, allocations: 0 / 0.5608 GB, free: 0.8906 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1442, allocations: 0 / 0.5608 GB, free: 0.8906 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.294e-06/0.1442, allocations: 0 / 0.5608 GB, free: 0.8906 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008566/0.1451, allocations: 0.5948 MB / 0.5614 GB, free: 252 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.1451, allocations: 12.03 kB / 0.5614 GB, free: 240 kB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.072e-05/0.1451, allocations: 192 / 0.5614 GB, free: 240 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.709e-05/0.1452, allocations: 42.73 kB / 0.5615 GB, free: 188 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.273e-05/0.1452, allocations: 36.75 kB / 0.5615 GB, free: 152 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004683/0.1457, allocations: 294.7 kB / 0.5618 GB, free: 15.82 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.038e-05/0.1457, allocations: 8.125 kB / 0.5618 GB, free: 15.82 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.838e-05/0.1458, allocations: 11.98 kB / 0.5618 GB, free: 15.8 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002601/0.146, allocations: 107.3 kB / 0.5619 GB, free: 15.69 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.146, allocations: 0 / 0.5619 GB, free: 15.69 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.636e-05/0.1461, allocations: 3.984 kB / 0.5619 GB, free: 15.68 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.1461, allocations: 7.984 kB / 0.5619 GB, free: 15.68 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001394/0.1462, allocations: 47.97 kB / 0.562 GB, free: 15.63 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000621/0.1468, allocations: 484.7 kB / 0.5624 GB, free: 15.1 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003977/0.1472, allocations: 121.2 kB / 0.5625 GB, free: 14.96 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001062/0.1473, allocations: 45.75 kB / 0.5626 GB, free: 14.91 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.952e-05/0.1474, allocations: 7.938 kB / 0.5626 GB, free: 14.91 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002548/0.1476, allocations: 121 kB / 0.5627 GB, free: 14.77 MB / 430.1 MB Notification: Performance of pre-optimization done (n=14): time 1.283e-06/0.1476, allocations: 4 kB / 0.5627 GB, free: 14.77 MB / 430.1 MB Notification: Performance of matching and sorting (n=22): time 0.001388/0.149, allocations: 0.5092 MB / 0.5632 GB, free: 14.25 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.212e-05/0.1491, allocations: 77.11 kB / 0.5633 GB, free: 14.16 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005669/0.1496, allocations: 0.4937 MB / 0.5638 GB, free: 13.65 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.74e-05/0.1497, allocations: 33.7 kB / 0.5638 GB, free: 13.61 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001351/0.1498, allocations: 164.5 kB / 0.5639 GB, free: 13.44 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.411e-05/0.1499, allocations: 83.41 kB / 0.564 GB, free: 13.36 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.349e-05/0.1499, allocations: 41.7 kB / 0.5641 GB, free: 13.31 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001813/0.1501, allocations: 350.7 kB / 0.5644 GB, free: 12.96 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001367/0.1503, allocations: 55.98 kB / 0.5645 GB, free: 12.91 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001601/0.1504, allocations: 93.52 kB / 0.5645 GB, free: 12.8 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003072/0.1507, allocations: 159.5 kB / 0.5647 GB, free: 12.64 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.1507, allocations: 0 / 0.5647 GB, free: 12.64 MB / 430.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004281/0.1512, allocations: 249.2 kB / 0.5649 GB, free: 12.39 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.1512, allocations: 4 kB / 0.5649 GB, free: 12.38 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.1512, allocations: 4 kB / 0.5649 GB, free: 12.38 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.1512, allocations: 0 / 0.5649 GB, free: 12.38 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001479/0.1513, allocations: 47.98 kB / 0.565 GB, free: 12.33 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.1513, allocations: 240 / 0.565 GB, free: 12.33 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.55e-05/0.1514, allocations: 11.98 kB / 0.565 GB, free: 12.32 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.693e-05/0.1514, allocations: 8 kB / 0.565 GB, free: 12.31 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001819/0.1516, allocations: 169.8 kB / 0.5652 GB, free: 12.14 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.757e-05/0.1517, allocations: 39.7 kB / 0.5652 GB, free: 12.1 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.058e-05/0.1518, allocations: 50.8 kB / 0.5653 GB, free: 12.05 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.209e-06/0.1518, allocations: 4 kB / 0.5653 GB, free: 12.04 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.1518, allocations: 4 kB / 0.5653 GB, free: 12.04 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.1518, allocations: 4 kB / 0.5653 GB, free: 12.04 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00102/0.1528, allocations: 0.7313 MB / 0.566 GB, free: 11.23 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.1528, allocations: 4.031 kB / 0.566 GB, free: 11.23 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.833e-05/0.1529, allocations: 35.86 kB / 0.566 GB, free: 11.2 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.601e-06/0.1529, allocations: 8.125 kB / 0.566 GB, free: 11.19 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.27e-05/0.1529, allocations: 11.98 kB / 0.566 GB, free: 11.18 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.063e-06/0.1529, allocations: 0 / 0.566 GB, free: 11.18 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.112e-06/0.1529, allocations: 7.938 kB / 0.566 GB, free: 11.17 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005303/0.1535, allocations: 420.1 kB / 0.5664 GB, free: 10.73 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.006e-05/0.1536, allocations: 112.9 kB / 0.5666 GB, free: 10.6 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.994e-05/0.1536, allocations: 8 kB / 0.5666 GB, free: 10.59 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001464/0.1537, allocations: 12 kB / 0.5666 GB, free: 10.58 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.961e-05/0.1538, allocations: 19.91 kB / 0.5666 GB, free: 10.56 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.676e-05/0.1538, allocations: 12 kB / 0.5666 GB, free: 10.55 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003845/0.1542, allocations: 379.1 kB / 0.567 GB, free: 10.18 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1542, allocations: 0 / 0.567 GB, free: 10.18 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003539/0.1546, allocations: 47.92 kB / 0.567 GB, free: 10.14 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.00282/0.1574, allocations: 1.375 MB / 0.5684 GB, free: 8.941 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00042/0.1578, allocations: 147.8 kB / 0.5685 GB, free: 8.797 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1578, allocations: 0 / 0.5685 GB, free: 8.797 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001743/0.158, allocations: 80.03 kB / 0.5686 GB, free: 8.719 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006126/0.1586, allocations: 67.12 kB / 0.5686 GB, free: 8.66 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004008/0.1626, allocations: 3.013 MB / 0.5716 GB, free: 5.523 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004577/0.1631, allocations: 0.7909 MB / 0.5723 GB, free: 4.707 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001047/0.1632, allocations: 37.92 kB / 0.5724 GB, free: 4.672 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001616/0.1633, allocations: 103.4 kB / 0.5725 GB, free: 4.57 MB / 430.1 MB Notification: Performance of SimCode: time 7.12e-07/0.1633, allocations: 0 / 0.5725 GB, free: 4.57 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0239/0.1872, allocations: 6.73 MB / 0.5791 GB, free: 13.91 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.976/9.163, allocations: 19.88 kB / 0.5791 GB, free: 13.89 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test78_fmu --startTime=0 --stopTime=15 --stepSize=0.0029988 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test78.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.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: 12.446904364973307]