Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.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.001339/0.001339, allocations: 119 kB / 18.5 MB, free: 4.434 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.001448/0.001448, allocations: 190.9 kB / 21.44 MB, free: 1.504 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.445/1.445, allocations: 225.6 MB / 249.8 MB, free: 3.57 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.2335/0.2335, allocations: 44.92 MB / 349.6 MB, free: 1.684 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.Test42,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test42",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test42,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test42",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002546/0.002546, allocations: 69.34 kB / 491.9 MB, free: 29.99 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1477, allocations: 64.26 MB / 0.5431 GB, free: 4.004 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.003621/0.1514, allocations: 1.709 MB / 0.5448 GB, free: 2.281 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001687/0.1531, allocations: 0.8924 MB / 0.5456 GB, free: 1.383 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.571e-05/0.1531, allocations: 7.938 kB / 0.5456 GB, free: 1.375 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003512/0.1535, allocations: 35.83 kB / 0.5457 GB, free: 1.34 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002535/0.1537, allocations: 59.69 kB / 0.5457 GB, free: 1.281 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003227/0.1541, allocations: 111.2 kB / 0.5458 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001814/0.1542, allocations: 95.73 kB / 0.5459 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.1544, allocations: 8.453 kB / 0.5459 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001104/0.1545, allocations: 43.78 kB / 0.546 GB, free: 1.027 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.507e-05/0.1545, allocations: 35.84 kB / 0.546 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.92e-05/0.1546, allocations: 4 kB / 0.546 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.633e-05/0.1547, allocations: 39.98 kB / 0.546 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.04e-05/0.1547, allocations: 23.92 kB / 0.5461 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.802e-05/0.1548, allocations: 39.73 kB / 0.5461 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002371/0.155, allocations: 119.4 kB / 0.5462 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.155, allocations: 0 / 0.5462 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of FrontEnd: time 8.61e-07/0.155, allocations: 0 / 0.5462 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.58e-06/0.155, allocations: 3.938 kB / 0.5462 GB, free: 0.7656 MB / 398.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.0006356/0.1557, allocations: 422.7 kB / 0.5466 GB, free: 312 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/0.1557, allocations: 12.03 kB / 0.5466 GB, free: 300 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.049e-05/0.1558, allocations: 30.75 kB / 0.5467 GB, free: 260 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.099e-05/0.1558, allocations: 8.891 kB / 0.5467 GB, free: 252 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004005/0.1562, allocations: 212.9 kB / 0.5469 GB, free: 16 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.063e-05/0.1562, allocations: 8.375 kB / 0.5469 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.156e-05/0.1562, allocations: 3.938 kB / 0.5469 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001846/0.1564, allocations: 57.61 kB / 0.547 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.1564, allocations: 0 / 0.547 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.1565, allocations: 7.984 kB / 0.547 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-06/0.1565, allocations: 4 kB / 0.547 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.258e-05/0.1565, allocations: 15.98 kB / 0.547 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000537/0.1571, allocations: 284.9 kB / 0.5472 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001939/0.1573, allocations: 58.61 kB / 0.5473 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.175e-05/0.1573, allocations: 24.84 kB / 0.5473 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.815e-05/0.1574, allocations: 0 / 0.5473 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002124/0.1576, allocations: 71.38 kB / 0.5474 GB, free: 15.39 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.1576, allocations: 0 / 0.5474 GB, free: 15.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006522/0.1582, allocations: 173.3 kB / 0.5476 GB, free: 15.21 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.205e-05/0.1583, allocations: 51.41 kB / 0.5476 GB, free: 15.15 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002719/0.1586, allocations: 214.4 kB / 0.5478 GB, free: 14.93 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.344e-05/0.1586, allocations: 29.7 kB / 0.5478 GB, free: 14.89 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.769e-05/0.1587, allocations: 104.1 kB / 0.5479 GB, free: 14.79 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.891e-05/0.1587, allocations: 23.8 kB / 0.548 GB, free: 14.77 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.939e-05/0.1588, allocations: 25.7 kB / 0.548 GB, free: 14.73 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002084/0.159, allocations: 322.8 kB / 0.5483 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.891e-05/0.159, allocations: 20 kB / 0.5483 GB, free: 14.39 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.259e-05/0.1591, allocations: 37.64 kB / 0.5484 GB, free: 14.35 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000116/0.1592, allocations: 57.7 kB / 0.5484 GB, free: 14.29 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1592, allocations: 0 / 0.5484 GB, free: 14.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002074/0.1594, allocations: 117.5 kB / 0.5485 GB, free: 14.17 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.1595, allocations: 4 kB / 0.5485 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.1595, allocations: 0 / 0.5485 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.1595, allocations: 4 kB / 0.5485 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.713e-05/0.1596, allocations: 12 kB / 0.5485 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.1596, allocations: 4.031 kB / 0.5485 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.115e-05/0.1596, allocations: 11.92 kB / 0.5486 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.228e-05/0.1596, allocations: 8.375 kB / 0.5486 GB, free: 14.12 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 (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.0001334/0.1598, allocations: 121.8 kB / 0.5487 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.364e-05/0.1598, allocations: 11.91 kB / 0.5487 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.658e-05/0.1599, allocations: 21.39 kB / 0.5487 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.1599, allocations: 0 / 0.5487 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.1599, allocations: 4 kB / 0.5487 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.1599, allocations: 3.938 kB / 0.5487 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005134/0.1604, allocations: 395.3 kB / 0.5491 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.1604, allocations: 0 / 0.5491 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.305e-05/0.1604, allocations: 11.98 kB / 0.5491 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.1604, allocations: 3.938 kB / 0.5491 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.1604, allocations: 8 kB / 0.5491 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.1604, allocations: 0 / 0.5491 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.1604, allocations: 0 / 0.5491 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002754/0.1607, allocations: 204.3 kB / 0.5493 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.476e-05/0.1608, allocations: 85.06 kB / 0.5494 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.141e-05/0.1608, allocations: 15.86 kB / 0.5494 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.686e-05/0.1609, allocations: 4 kB / 0.5494 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.354e-05/0.1609, allocations: 4 kB / 0.5494 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.057e-05/0.1609, allocations: 8.172 kB / 0.5494 GB, free: 13.13 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001463/0.1611, allocations: 148.9 kB / 0.5496 GB, free: 12.98 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1611, allocations: 7.938 kB / 0.5496 GB, free: 12.98 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002577/0.1613, allocations: 27.94 kB / 0.5496 GB, free: 12.95 MB / 414.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.002268/0.1636, allocations: 1.09 MB / 0.5507 GB, free: 12.03 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002023/0.1638, allocations: 63.94 kB / 0.5507 GB, free: 11.97 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1638, allocations: 0 / 0.5507 GB, free: 11.97 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.544e-05/0.1639, allocations: 27.92 kB / 0.5508 GB, free: 11.94 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003669/0.1642, allocations: 28.11 kB / 0.5508 GB, free: 11.91 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00215/0.1664, allocations: 1.662 MB / 0.5524 GB, free: 10.16 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004096/0.1668, allocations: 0.7041 MB / 0.5531 GB, free: 9.426 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.331e-05/0.1669, allocations: 12.89 kB / 0.5531 GB, free: 9.414 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.287e-05/0.1669, allocations: 35.42 kB / 0.5531 GB, free: 9.379 MB / 414.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1669, allocations: 0 / 0.5531 GB, free: 9.379 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02626/0.1932, allocations: 3.465 MB / 0.5565 GB, free: 5.957 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.972/8.165, allocations: 11.97 kB / 0.5565 GB, free: 5.945 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test42_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498604 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test42.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test42/Test42.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.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.217692598700523]