Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.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.001254/0.001254, allocations: 119 kB / 18.5 MB, free: 4.582 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.001249/0.001249, allocations: 190.9 kB / 21.44 MB, free: 1.645 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.467/1.467, allocations: 225.6 MB / 249.8 MB, free: 3.641 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.2231/0.2231, allocations: 44.92 MB / 349.6 MB, free: 1.773 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.Test69,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test69",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test69,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test69",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001932/0.001932, allocations: 65.47 kB / 491.8 MB, free: 30.17 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/0.1409, allocations: 64.27 MB / 0.5431 GB, free: 4.098 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.00442/0.1453, allocations: 1.8 MB / 0.5448 GB, free: 2.281 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002043/0.1473, allocations: 0.9742 MB / 0.5458 GB, free: 1.301 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.034e-05/0.1474, allocations: 0 / 0.5458 GB, free: 1.301 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006512/0.1481, allocations: 295.3 kB / 0.5461 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004104/0.1485, allocations: 211.3 kB / 0.5463 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004506/0.149, allocations: 162.8 kB / 0.5464 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003432/0.1493, allocations: 243.4 kB / 0.5466 GB, free: 420 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.491e-05/0.1494, allocations: 5.562 kB / 0.5467 GB, free: 408 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002057/0.1496, allocations: 135.5 kB / 0.5468 GB, free: 272 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000275/0.1498, allocations: 208 kB / 0.547 GB, free: 60 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.959e-05/0.1499, allocations: 12 kB / 0.547 GB, free: 48 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001243/0.15, allocations: 47.92 kB / 0.547 GB, free: 0 / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001731/0.1502, allocations: 132.5 kB / 0.5472 GB, free: 15.87 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001535/0.1503, allocations: 134.9 kB / 0.5473 GB, free: 15.74 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004811/0.1508, allocations: 366.5 kB / 0.5476 GB, free: 15.38 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.1508, allocations: 0 / 0.5476 GB, free: 15.38 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1508, allocations: 0 / 0.5476 GB, free: 15.38 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.654e-06/0.1508, allocations: 0 / 0.5476 GB, free: 15.38 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001301/0.1521, allocations: 0.7422 MB / 0.5484 GB, free: 14.59 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.146e-05/0.1522, allocations: 16.03 kB / 0.5484 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.987e-05/0.1522, allocations: 34.73 kB / 0.5484 GB, free: 14.53 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.718e-05/0.1523, allocations: 52.55 kB / 0.5485 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008579/0.1532, allocations: 440.5 kB / 0.5489 GB, free: 14.01 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.734e-05/0.1532, allocations: 384 / 0.5489 GB, free: 14.01 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.515e-05/0.1532, allocations: 11.94 kB / 0.5489 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003012/0.1535, allocations: 83.3 kB / 0.549 GB, free: 13.9 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.56e-05/0.1536, allocations: 4 kB / 0.549 GB, free: 13.9 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.11e-05/0.1536, allocations: 8 kB / 0.549 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-06/0.1536, allocations: 3.984 kB / 0.549 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001253/0.1537, allocations: 27.97 kB / 0.549 GB, free: 13.86 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005564/0.1543, allocations: 374.4 kB / 0.5494 GB, free: 13.44 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002982/0.1546, allocations: 105.1 kB / 0.5495 GB, free: 13.32 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001022/0.1547, allocations: 37.7 kB / 0.5495 GB, free: 13.28 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.433e-05/0.1547, allocations: 0 / 0.5495 GB, free: 13.28 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002763/0.155, allocations: 113 kB / 0.5496 GB, free: 13.15 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.383e-06/0.155, allocations: 0 / 0.5496 GB, free: 13.15 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005276/0.1555, allocations: 201.2 kB / 0.5498 GB, free: 12.95 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.762e-05/0.1556, allocations: 77.11 kB / 0.5499 GB, free: 12.85 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001231/0.1568, allocations: 1.003 MB / 0.5509 GB, free: 11.84 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.573e-05/0.1568, allocations: 29.7 kB / 0.5509 GB, free: 11.8 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002222/0.157, allocations: 232 kB / 0.5511 GB, free: 11.57 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.385e-05/0.1571, allocations: 35.73 kB / 0.5511 GB, free: 11.54 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.673e-05/0.1572, allocations: 29.7 kB / 0.5512 GB, free: 11.5 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000232/0.1574, allocations: 362.8 kB / 0.5515 GB, free: 11.14 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.029e-05/0.1575, allocations: 27.98 kB / 0.5515 GB, free: 11.11 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001089/0.1576, allocations: 63.34 kB / 0.5516 GB, free: 11.04 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002055/0.1578, allocations: 91.86 kB / 0.5517 GB, free: 10.93 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.645e-06/0.1578, allocations: 7.938 kB / 0.5517 GB, free: 10.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003079/0.1581, allocations: 161.3 kB / 0.5519 GB, free: 10.76 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.1581, allocations: 7.984 kB / 0.5519 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.1581, allocations: 4 kB / 0.5519 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.1581, allocations: 0 / 0.5519 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001341/0.1583, allocations: 24.06 kB / 0.5519 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/0.1583, allocations: 7.922 kB / 0.5519 GB, free: 10.72 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.21e-05/0.1584, allocations: 15.89 kB / 0.5519 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.144e-05/0.1584, allocations: 4 kB / 0.5519 GB, free: 10.7 MB / 414.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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002513/0.1586, allocations: 217.7 kB / 0.5521 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.461e-05/0.1587, allocations: 55.61 kB / 0.5522 GB, free: 10.42 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.405e-05/0.1588, allocations: 55.84 kB / 0.5522 GB, free: 10.37 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.1588, allocations: 4 kB / 0.5522 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.1588, allocations: 4 kB / 0.5522 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.1588, allocations: 0 / 0.5522 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004042/0.1592, allocations: 337.4 kB / 0.5526 GB, free: 9.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.1592, allocations: 4 kB / 0.5526 GB, free: 9.977 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.723e-05/0.1593, allocations: 7.984 kB / 0.5526 GB, free: 9.969 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.1593, allocations: 0 / 0.5526 GB, free: 9.969 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.1593, allocations: 4 kB / 0.5526 GB, free: 9.965 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.1593, allocations: 3.938 kB / 0.5526 GB, free: 9.961 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.1593, allocations: 0 / 0.5526 GB, free: 9.961 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003655/0.1596, allocations: 213.5 kB / 0.5528 GB, free: 9.73 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001801/0.1598, allocations: 132.8 kB / 0.5529 GB, free: 9.582 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.009e-05/0.1599, allocations: 7.984 kB / 0.5529 GB, free: 9.574 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.176e-05/0.16, allocations: 12.12 kB / 0.5529 GB, free: 9.562 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.406e-05/0.16, allocations: 7.984 kB / 0.5529 GB, free: 9.555 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.83e-05/0.16, allocations: 4 kB / 0.5529 GB, free: 9.551 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0009531/0.161, allocations: 0.7487 MB / 0.5537 GB, free: 8.805 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.161, allocations: 4 kB / 0.5537 GB, free: 8.801 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004557/0.1614, allocations: 47.88 kB / 0.5537 GB, free: 8.754 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * 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.002401/0.1638, allocations: 1.043 MB / 0.5547 GB, free: 7.848 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000296/0.1641, allocations: 83.89 kB / 0.5548 GB, free: 7.766 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1641, allocations: 0 / 0.5548 GB, free: 7.766 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001122/0.1643, allocations: 32.3 kB / 0.5549 GB, free: 7.734 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005733/0.1648, allocations: 81.55 kB / 0.5549 GB, free: 7.66 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006193/0.171, allocations: 4.408 MB / 0.5592 GB, free: 3.152 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005739/0.1716, allocations: 0.8426 MB / 0.5601 GB, free: 2.285 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000165/0.1718, allocations: 58.88 kB / 0.5601 GB, free: 2.227 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002162/0.172, allocations: 147.4 kB / 0.5603 GB, free: 2.082 MB / 414.1 MB Notification: Performance of SimCode: time 1.313e-06/0.172, allocations: 0 / 0.5603 GB, free: 2.082 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.035/0.207, allocations: 8.825 MB / 0.5689 GB, free: 9.289 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.569/8.776, allocations: 10.69 kB / 0.5689 GB, free: 9.281 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test69_fmu --startTime=0 --stopTime=8000 --stepSize=1.57542 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test69.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.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.980173166841269]