Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.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.00138/0.00138, allocations: 123.4 kB / 17.79 MB, free: 5.266 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.001468/0.001468, allocations: 200.3 kB / 20.74 MB, free: 2.32 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.476/1.476, 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.2352/0.2352, allocations: 46.92 MB / 357.1 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.Test84,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test84",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test84,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test84",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001908/0.001908, allocations: 67.89 kB / 0.491 GB, free: 7.879 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1318, allocations: 65.99 MB / 0.5555 GB, free: 5.75 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.003404/0.1352, allocations: 1.745 MB / 0.5572 GB, free: 3.992 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002743/0.1379, allocations: 1.637 MB / 0.5588 GB, free: 2.348 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.488e-05/0.138, allocations: 0 / 0.5588 GB, free: 2.348 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002905/0.1383, allocations: 35.77 kB / 0.5588 GB, free: 2.312 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003178/0.1386, allocations: 103.5 kB / 0.5589 GB, free: 2.211 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001841/0.1388, allocations: 83.66 kB / 0.559 GB, free: 2.129 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001778/0.139, allocations: 107.7 kB / 0.5591 GB, free: 2.023 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.1391, allocations: 12 kB / 0.5591 GB, free: 2.012 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.802e-05/0.1392, allocations: 51.77 kB / 0.5591 GB, free: 1.961 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001463/0.1393, allocations: 47.77 kB / 0.5592 GB, free: 1.914 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.764e-05/0.1394, allocations: 4 kB / 0.5592 GB, free: 1.91 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001879/0.1395, allocations: 103.9 kB / 0.5593 GB, free: 1.809 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.537e-05/0.1396, allocations: 27.84 kB / 0.5593 GB, free: 1.781 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.17e-05/0.1397, allocations: 31.75 kB / 0.5593 GB, free: 1.75 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003026/0.14, allocations: 171.4 kB / 0.5595 GB, free: 1.582 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.14, allocations: 0 / 0.5595 GB, free: 1.582 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.14, allocations: 4 kB / 0.5595 GB, free: 1.578 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.14, allocations: 0 / 0.5595 GB, free: 1.578 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.0006821/0.1406, allocations: 426.6 kB / 0.5599 GB, free: 1.113 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.1407, allocations: 11.97 kB / 0.5599 GB, free: 1.102 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.55e-05/0.1407, allocations: 38.69 kB / 0.56 GB, free: 1.055 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.566e-05/0.1408, allocations: 12.84 kB / 0.56 GB, free: 1.043 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003273/0.1411, allocations: 216.5 kB / 0.5602 GB, free: 0.793 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.566e-05/0.1411, allocations: 4 kB / 0.5602 GB, free: 0.7891 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.787e-05/0.1411, allocations: 0 / 0.5602 GB, free: 0.7891 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001814/0.1413, allocations: 75.38 kB / 0.5603 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.1413, allocations: 0 / 0.5603 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.1413, allocations: 0 / 0.5603 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.1413, allocations: 0 / 0.5603 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.755e-05/0.1414, allocations: 27.92 kB / 0.5603 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003951/0.1418, allocations: 284.8 kB / 0.5606 GB, free: 356 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001748/0.142, allocations: 58.67 kB / 0.5606 GB, free: 288 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.487e-05/0.142, allocations: 20.84 kB / 0.5606 GB, free: 264 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.015e-05/0.1421, allocations: 0 / 0.5606 GB, free: 264 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000168/0.1422, allocations: 71.33 kB / 0.5607 GB, free: 180 kB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.1422, allocations: 0 / 0.5607 GB, free: 180 kB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.000568/0.1428, allocations: 181.3 kB / 0.5609 GB, free: 15.99 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.642e-05/0.1429, allocations: 85.05 kB / 0.561 GB, free: 15.89 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001843/0.1431, allocations: 161.7 kB / 0.5611 GB, free: 15.72 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.131e-05/0.1431, allocations: 29.7 kB / 0.5611 GB, free: 15.69 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.82e-05/0.1431, allocations: 92.14 kB / 0.5612 GB, free: 15.59 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.497e-05/0.1432, allocations: 35.72 kB / 0.5613 GB, free: 15.56 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.229e-05/0.1432, allocations: 21.72 kB / 0.5613 GB, free: 15.53 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.1434, allocations: 330.8 kB / 0.5616 GB, free: 15.2 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.241e-05/0.1434, allocations: 19.98 kB / 0.5616 GB, free: 15.18 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.417e-05/0.1435, allocations: 38.56 kB / 0.5617 GB, free: 15.13 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001304/0.1436, allocations: 65.64 kB / 0.5617 GB, free: 15.06 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.1436, allocations: 0 / 0.5617 GB, free: 15.06 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001981/0.1438, allocations: 94.02 kB / 0.5618 GB, free: 14.96 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.1438, allocations: 9.719 kB / 0.5618 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.1439, allocations: 4 kB / 0.5618 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.1439, allocations: 0 / 0.5618 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.316e-05/0.144, allocations: 27.92 kB / 0.5618 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.144, allocations: 3.938 kB / 0.5618 GB, free: 14.92 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.245e-05/0.144, allocations: 4 kB / 0.5619 GB, free: 14.92 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.957e-06/0.144, allocations: 4 kB / 0.5619 GB, free: 14.91 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.0001096/0.1441, allocations: 124 kB / 0.562 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.926e-05/0.1442, allocations: 15.95 kB / 0.562 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.616e-05/0.1442, allocations: 12.72 kB / 0.562 GB, free: 14.76 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.1442, allocations: 3.938 kB / 0.562 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.1442, allocations: 0 / 0.562 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.86e-06/0.1442, allocations: 3.984 kB / 0.562 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004939/0.1447, allocations: 395.3 kB / 0.5624 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.1447, allocations: 3.938 kB / 0.5624 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.696e-05/0.1447, allocations: 15.92 kB / 0.5624 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.1447, allocations: 4.031 kB / 0.5624 GB, free: 14.28 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.1448, allocations: 4.188 kB / 0.5624 GB, free: 14.28 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.1448, allocations: 0 / 0.5624 GB, free: 14.28 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.1448, allocations: 4.172 kB / 0.5624 GB, free: 14.27 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002603/0.145, allocations: 204.3 kB / 0.5626 GB, free: 14.05 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.88e-05/0.1451, allocations: 92.98 kB / 0.5627 GB, free: 13.95 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.632e-05/0.1451, allocations: 8 kB / 0.5627 GB, free: 13.94 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.464e-05/0.1452, allocations: 4 kB / 0.5627 GB, free: 13.93 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.185e-05/0.1452, allocations: 7.984 kB / 0.5627 GB, free: 13.93 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.588e-05/0.1452, allocations: 4 kB / 0.5627 GB, free: 13.92 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001414/0.1454, allocations: 127.2 kB / 0.5628 GB, free: 13.8 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1454, allocations: 0 / 0.5628 GB, free: 13.8 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003026/0.1457, allocations: 51.86 kB / 0.5629 GB, free: 13.75 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.002437/0.1481, allocations: 1.184 MB / 0.564 GB, free: 12.75 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001978/0.1483, allocations: 55.91 kB / 0.5641 GB, free: 12.7 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1483, allocations: 4.062 kB / 0.5641 GB, free: 12.7 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.95e-05/0.1484, allocations: 31.92 kB / 0.5641 GB, free: 12.66 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00033/0.1487, allocations: 27.97 kB / 0.5642 GB, free: 12.64 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001882/0.1506, allocations: 1.581 MB / 0.5657 GB, free: 10.96 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000359/0.151, allocations: 0.709 MB / 0.5664 GB, free: 10.23 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.432e-05/0.151, allocations: 17.17 kB / 0.5664 GB, free: 10.21 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.996e-05/0.1511, allocations: 39.42 kB / 0.5665 GB, free: 10.17 MB / 430.1 MB Notification: Performance of SimCode: time 6.81e-07/0.1511, allocations: 0 / 0.5665 GB, free: 10.17 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03201/0.1831, allocations: 4.059 MB / 0.5704 GB, free: 6.125 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.315/8.498, allocations: 3.938 kB / 0.5704 GB, free: 6.121 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test84_fmu --startTime=0 --stopTime=100 --stepSize=0.0198452 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test84.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.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.579514555865899]