Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.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.001846/0.001846, allocations: 127.4 kB / 17.79 MB, free: 5.246 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.002056/0.002056, allocations: 208.3 kB / 20.75 MB, free: 2.297 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.538/1.538, allocations: 230.6 MB / 254.1 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.2512/0.2512, allocations: 46.92 MB / 357.1 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.Test5,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test5,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002002/0.002002, allocations: 71.89 kB / 0.491 GB, free: 7.82 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.1317, allocations: 65.99 MB / 0.5555 GB, free: 5.699 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.003043/0.1348, allocations: 1.772 MB / 0.5572 GB, free: 3.914 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001762/0.1365, allocations: 1.047 MB / 0.5582 GB, free: 2.863 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.315e-05/0.1366, allocations: 0 / 0.5582 GB, free: 2.863 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003285/0.1369, allocations: 111.6 kB / 0.5583 GB, free: 2.754 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003252/0.1372, allocations: 127.5 kB / 0.5585 GB, free: 2.629 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001963/0.1374, allocations: 79.67 kB / 0.5585 GB, free: 2.551 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002146/0.1377, allocations: 135.7 kB / 0.5587 GB, free: 2.418 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.1378, allocations: 13.39 kB / 0.5587 GB, free: 2.402 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001111/0.1379, allocations: 67.75 kB / 0.5587 GB, free: 2.336 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001238/0.138, allocations: 79.67 kB / 0.5588 GB, free: 2.258 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.948e-05/0.138, allocations: 8 kB / 0.5588 GB, free: 2.25 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001257/0.1381, allocations: 63.97 kB / 0.5589 GB, free: 2.188 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.313e-05/0.1382, allocations: 39.84 kB / 0.5589 GB, free: 2.148 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.019e-05/0.1383, allocations: 47.61 kB / 0.559 GB, free: 2.102 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000259/0.1385, allocations: 167.3 kB / 0.5591 GB, free: 1.938 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.1385, allocations: 0 / 0.5591 GB, free: 1.938 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1385, allocations: 0 / 0.5591 GB, free: 1.938 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.1385, allocations: 0 / 0.5591 GB, free: 1.938 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006251/0.1392, allocations: 466.3 kB / 0.5596 GB, free: 1.434 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.1392, allocations: 12.03 kB / 0.5596 GB, free: 1.422 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.921e-05/0.1392, allocations: 38.73 kB / 0.5596 GB, free: 1.375 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.406e-05/0.1393, allocations: 20.84 kB / 0.5596 GB, free: 1.355 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002958/0.1396, allocations: 221.1 kB / 0.5599 GB, free: 1.098 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/0.1396, allocations: 8.312 kB / 0.5599 GB, free: 1.09 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.416e-05/0.1396, allocations: 11.92 kB / 0.5599 GB, free: 1.078 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001789/0.1398, allocations: 69.61 kB / 0.5599 GB, free: 1.004 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/0.1398, allocations: 7.938 kB / 0.5599 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.1398, allocations: 4 kB / 0.56 GB, free: 0.9922 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.848e-05/0.1398, allocations: 7.938 kB / 0.56 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001056/0.1399, allocations: 35.97 kB / 0.56 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004459/0.1404, allocations: 324.7 kB / 0.5603 GB, free: 0.582 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002693/0.1407, allocations: 74.47 kB / 0.5604 GB, free: 0.5 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.801e-05/0.1407, allocations: 24.86 kB / 0.5604 GB, free: 484 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.279e-05/0.1408, allocations: 4 kB / 0.5604 GB, free: 480 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001679/0.1409, allocations: 79.31 kB / 0.5605 GB, free: 388 kB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.353e-06/0.1409, allocations: 0 / 0.5605 GB, free: 388 kB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008675/0.1418, allocations: 309.2 kB / 0.5608 GB, free: 72 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.349e-05/0.1418, allocations: 51.41 kB / 0.5608 GB, free: 8 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002921/0.1421, allocations: 263.7 kB / 0.5611 GB, free: 15.74 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.039e-05/0.1421, allocations: 25.7 kB / 0.5611 GB, free: 15.71 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.689e-05/0.1422, allocations: 120.1 kB / 0.5612 GB, free: 15.59 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.636e-05/0.1423, allocations: 47.64 kB / 0.5613 GB, free: 15.54 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.762e-05/0.1423, allocations: 33.7 kB / 0.5613 GB, free: 15.5 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001494/0.1425, allocations: 326.8 kB / 0.5616 GB, free: 15.17 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.531e-05/0.1426, allocations: 39.98 kB / 0.5616 GB, free: 15.13 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001045/0.1427, allocations: 61.62 kB / 0.5617 GB, free: 15.07 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001856/0.1429, allocations: 102.5 kB / 0.5618 GB, free: 14.96 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.1429, allocations: 0 / 0.5618 GB, free: 14.96 MB / 430.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002886/0.1432, allocations: 160.9 kB / 0.5619 GB, free: 14.8 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.1432, allocations: 9.875 kB / 0.562 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.1432, allocations: 0 / 0.562 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.1432, allocations: 4.047 kB / 0.562 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001022/0.1433, allocations: 35.86 kB / 0.562 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/0.1433, allocations: 0 / 0.562 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.253e-05/0.1434, allocations: 8 kB / 0.562 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.086e-05/0.1434, allocations: 7.938 kB / 0.562 GB, free: 14.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 (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.000131/0.1435, allocations: 148 kB / 0.5622 GB, free: 14.59 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.85e-05/0.1435, allocations: 23.86 kB / 0.5622 GB, free: 14.56 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.439e-05/0.1436, allocations: 33.44 kB / 0.5622 GB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.1436, allocations: 0 / 0.5622 GB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.1436, allocations: 0 / 0.5622 GB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.1436, allocations: 4 kB / 0.5622 GB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006638/0.1443, allocations: 0.4999 MB / 0.5627 GB, free: 13.96 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.1443, allocations: 0 / 0.5627 GB, free: 13.96 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.169e-05/0.1443, allocations: 16 kB / 0.5627 GB, free: 13.94 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.1443, allocations: 0 / 0.5627 GB, free: 13.94 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.68e-05/0.1444, allocations: 11.98 kB / 0.5627 GB, free: 13.93 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1444, allocations: 0 / 0.5627 GB, free: 13.93 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1444, allocations: 4 kB / 0.5627 GB, free: 13.93 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003505/0.1447, allocations: 269 kB / 0.563 GB, free: 13.64 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.002e-05/0.1448, allocations: 93.02 kB / 0.5631 GB, free: 13.53 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.517e-05/0.1448, allocations: 0 / 0.5631 GB, free: 13.53 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.688e-05/0.1449, allocations: 11.98 kB / 0.5631 GB, free: 13.52 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.386e-05/0.1449, allocations: 4 kB / 0.5631 GB, free: 13.52 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.109e-05/0.1449, allocations: 11.98 kB / 0.5631 GB, free: 13.5 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001786/0.1451, allocations: 193.5 kB / 0.5633 GB, free: 13.32 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1451, allocations: 4 kB / 0.5633 GB, free: 13.31 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002864/0.1454, allocations: 31.94 kB / 0.5633 GB, free: 13.28 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 (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.002578/0.148, allocations: 1.213 MB / 0.5645 GB, free: 12.25 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002547/0.1482, allocations: 99.91 kB / 0.5646 GB, free: 12.15 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1482, allocations: 0 / 0.5646 GB, free: 12.15 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000111/0.1484, allocations: 47.91 kB / 0.5646 GB, free: 12.11 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003641/0.1487, allocations: 31.77 kB / 0.5647 GB, free: 12.07 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002306/0.151, allocations: 2.007 MB / 0.5666 GB, free: 9.969 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003675/0.1514, allocations: 0.7317 MB / 0.5674 GB, free: 9.211 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.926e-05/0.1515, allocations: 25.41 kB / 0.5674 GB, free: 9.184 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.284e-05/0.1516, allocations: 51.36 kB / 0.5674 GB, free: 9.133 MB / 430.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1516, allocations: 3.938 kB / 0.5674 GB, free: 9.129 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02542/0.177, allocations: 4.371 MB / 0.5717 GB, free: 4.816 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.347/8.524, allocations: 16.73 kB / 0.5717 GB, free: 4.801 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test5_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test5.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.726998310070485]