Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.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.001748/0.001748, allocations: 117.6 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.002054/0.002054, 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.459/1.459, allocations: 225.6 MB / 249.8 MB, free: 3.715 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.2379/0.2379, allocations: 44.92 MB / 349.6 MB, free: 1.727 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.Test44,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test44",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test44,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test44",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001911/0.001911, allocations: 66.33 kB / 491.9 MB, free: 29.94 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1399/0.1418, allocations: 64.27 MB / 0.5431 GB, free: 4.012 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.003862/0.1456, allocations: 1.707 MB / 0.5448 GB, free: 2.293 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001751/0.1474, allocations: 0.8885 MB / 0.5456 GB, free: 1.398 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.56e-05/0.1475, allocations: 3.938 kB / 0.5456 GB, free: 1.395 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003408/0.1478, allocations: 47.81 kB / 0.5457 GB, free: 1.348 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002324/0.1481, allocations: 51.7 kB / 0.5457 GB, free: 1.297 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003165/0.1484, allocations: 107.7 kB / 0.5458 GB, free: 1.191 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001867/0.1486, allocations: 99.69 kB / 0.5459 GB, free: 1.094 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.1487, allocations: 8.5 kB / 0.5459 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.971e-05/0.1488, allocations: 39.8 kB / 0.546 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.825e-05/0.1489, allocations: 35.77 kB / 0.546 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.956e-05/0.1489, allocations: 4 kB / 0.546 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001143/0.149, allocations: 43.98 kB / 0.5461 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.381e-05/0.1491, allocations: 27.92 kB / 0.5461 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.084e-05/0.1491, allocations: 35.75 kB / 0.5461 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002351/0.1494, allocations: 111.5 kB / 0.5462 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1494, allocations: 0 / 0.5462 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1494, allocations: 7.875 kB / 0.5462 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.143e-05/0.1494, allocations: 0 / 0.5462 GB, free: 0.7812 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.0006964/0.1501, allocations: 426.7 kB / 0.5466 GB, free: 324 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.1501, allocations: 8.031 kB / 0.5466 GB, free: 316 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.81e-05/0.1502, allocations: 30.75 kB / 0.5467 GB, free: 276 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.486e-05/0.1502, allocations: 16.89 kB / 0.5467 GB, free: 260 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000354/0.1506, allocations: 212.8 kB / 0.5469 GB, free: 8 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.644e-05/0.1506, allocations: 384 / 0.5469 GB, free: 8 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.136e-05/0.1506, allocations: 12.12 kB / 0.5469 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001682/0.1508, allocations: 57.61 kB / 0.547 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.1508, allocations: 0 / 0.547 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.909e-06/0.1508, allocations: 0 / 0.547 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.1508, allocations: 0 / 0.547 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.796e-05/0.1509, allocations: 19.98 kB / 0.547 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004409/0.1513, allocations: 284.9 kB / 0.5472 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001881/0.1515, allocations: 62.61 kB / 0.5473 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.483e-05/0.1516, allocations: 20.84 kB / 0.5473 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.621e-05/0.1516, allocations: 0 / 0.5473 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001722/0.1518, allocations: 67.39 kB / 0.5474 GB, free: 15.41 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.1518, allocations: 3.938 kB / 0.5474 GB, free: 15.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005884/0.1524, allocations: 181.5 kB / 0.5476 GB, free: 15.22 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.833e-05/0.1524, allocations: 59.34 kB / 0.5476 GB, free: 15.15 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002222/0.1526, allocations: 198.6 kB / 0.5478 GB, free: 14.95 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.951e-05/0.1527, allocations: 25.7 kB / 0.5478 GB, free: 14.91 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.72e-05/0.1527, allocations: 108.1 kB / 0.5479 GB, free: 14.8 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.459e-05/0.1528, allocations: 27.8 kB / 0.548 GB, free: 14.78 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.012e-05/0.1528, allocations: 17.72 kB / 0.548 GB, free: 14.75 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001718/0.153, allocations: 330.8 kB / 0.5483 GB, free: 14.42 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.014e-05/0.1531, allocations: 20 kB / 0.5483 GB, free: 14.4 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.998e-05/0.1531, allocations: 37.64 kB / 0.5484 GB, free: 14.36 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001218/0.1533, allocations: 61.7 kB / 0.5484 GB, free: 14.29 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.1533, allocations: 0 / 0.5484 GB, free: 14.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002132/0.1535, allocations: 109.6 kB / 0.5485 GB, free: 14.18 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.1535, allocations: 8 kB / 0.5485 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.1535, allocations: 0 / 0.5485 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.1535, allocations: 0 / 0.5485 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.192e-05/0.1536, allocations: 15.98 kB / 0.5485 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.1536, allocations: 4 kB / 0.5485 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.43e-05/0.1537, allocations: 3.938 kB / 0.5485 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.012e-05/0.1537, allocations: 8 kB / 0.5486 GB, free: 14.14 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.0001154/0.1538, allocations: 132.2 kB / 0.5487 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.279e-05/0.1538, allocations: 15.91 kB / 0.5487 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.994e-05/0.1538, allocations: 17.39 kB / 0.5487 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.1539, allocations: 0 / 0.5487 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.1539, allocations: 4 kB / 0.5487 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.718e-06/0.1539, allocations: 3.938 kB / 0.5487 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005102/0.1544, allocations: 383.3 kB / 0.5491 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/0.1544, allocations: 8.031 kB / 0.5491 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.986e-05/0.1544, allocations: 4 kB / 0.5491 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.1544, allocations: 7.984 kB / 0.5491 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.382e-05/0.1544, allocations: 7.938 kB / 0.5491 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.1544, allocations: 0 / 0.5491 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.1544, allocations: 4 kB / 0.5491 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002677/0.1547, allocations: 200.3 kB / 0.5493 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.139e-05/0.1548, allocations: 92.94 kB / 0.5494 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.998e-05/0.1548, allocations: 12.12 kB / 0.5494 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.856e-05/0.1549, allocations: 3.984 kB / 0.5494 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.355e-05/0.1549, allocations: 7.938 kB / 0.5494 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.657e-05/0.1549, allocations: 4 kB / 0.5494 GB, free: 13.14 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001496/0.1551, allocations: 152.9 kB / 0.5496 GB, free: 12.99 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1551, allocations: 0 / 0.5496 GB, free: 12.99 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002572/0.1553, allocations: 27.92 kB / 0.5496 GB, free: 12.96 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.002288/0.1576, allocations: 1.102 MB / 0.5507 GB, free: 12.04 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002033/0.1578, allocations: 55.97 kB / 0.5507 GB, free: 11.98 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.1578, allocations: 0 / 0.5507 GB, free: 11.98 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.658e-05/0.1579, allocations: 28.08 kB / 0.5508 GB, free: 11.95 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000385/0.1583, allocations: 32.11 kB / 0.5508 GB, free: 11.92 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002081/0.1604, allocations: 1.669 MB / 0.5524 GB, free: 10.16 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004822/0.1609, allocations: 0.7002 MB / 0.5531 GB, free: 9.438 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.364e-05/0.1609, allocations: 16.88 kB / 0.5531 GB, free: 9.422 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.56e-05/0.161, allocations: 39.42 kB / 0.5531 GB, free: 9.383 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.161, allocations: 0 / 0.5531 GB, free: 9.383 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02689/0.1879, allocations: 3.453 MB / 0.5565 GB, free: 5.961 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.922/8.11, allocations: 16.03 kB / 0.5565 GB, free: 5.945 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test44_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498902 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test44.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test44/Test44.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.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.235847647767514]