Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.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.001695/0.001695, allocations: 117.6 kB / 18.5 MB, free: 4.543 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.001922/0.001922, allocations: 190.9 kB / 21.44 MB, free: 1.605 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.477/1.477, allocations: 225.6 MB / 249.8 MB, free: 3.637 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.232/0.232, allocations: 44.91 MB / 349.6 MB, free: 1.73 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.Test59,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test59",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test59,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test59",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002758/0.002758, allocations: 70.56 kB / 491.9 MB, free: 30.16 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.1453, allocations: 64.26 MB / 0.5431 GB, free: 4.039 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.003591/0.1489, allocations: 1.711 MB / 0.5448 GB, free: 2.312 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002622/0.1515, allocations: 1.503 MB / 0.5462 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001089/0.1516, allocations: 3.938 kB / 0.5462 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004011/0.152, allocations: 27.84 kB / 0.5463 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003211/0.1523, allocations: 63.69 kB / 0.5463 GB, free: 0.707 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004011/0.1527, allocations: 118.8 kB / 0.5464 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002419/0.1529, allocations: 91.75 kB / 0.5465 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001451/0.1531, allocations: 8.453 kB / 0.5465 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000131/0.1532, allocations: 47.77 kB / 0.5466 GB, free: 456 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002076/0.1534, allocations: 43.84 kB / 0.5466 GB, free: 412 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.502e-05/0.1535, allocations: 4 kB / 0.5466 GB, free: 408 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001761/0.1536, allocations: 59.97 kB / 0.5467 GB, free: 348 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.691e-05/0.1537, allocations: 19.86 kB / 0.5467 GB, free: 328 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.922e-05/0.1538, allocations: 31.8 kB / 0.5467 GB, free: 296 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003081/0.1541, allocations: 123.5 kB / 0.5468 GB, free: 172 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.1541, allocations: 0 / 0.5468 GB, free: 172 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1541, allocations: 0 / 0.5468 GB, free: 172 kB / 398.1 MB Notification: Performance of Transformations before backend: time 7.083e-06/0.1541, allocations: 0 / 0.5468 GB, free: 172 kB / 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.0007687/0.1549, allocations: 414.7 kB / 0.5472 GB, free: 15.71 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.1549, allocations: 12.03 kB / 0.5472 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.81e-05/0.155, allocations: 34.75 kB / 0.5473 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.532e-05/0.155, allocations: 8.891 kB / 0.5473 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004001/0.1554, allocations: 208.1 kB / 0.5475 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/0.1554, allocations: 8.375 kB / 0.5475 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.922e-05/0.1555, allocations: 3.938 kB / 0.5475 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000191/0.1556, allocations: 71.38 kB / 0.5476 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/0.1557, allocations: 0 / 0.5476 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.424e-05/0.1557, allocations: 8 kB / 0.5476 GB, free: 15.31 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.1557, allocations: 0 / 0.5476 GB, free: 15.31 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.105e-05/0.1558, allocations: 19.98 kB / 0.5476 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005016/0.1563, allocations: 284.8 kB / 0.5479 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001872/0.1565, allocations: 46.69 kB / 0.5479 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.106e-05/0.1565, allocations: 24.84 kB / 0.5479 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.077e-05/0.1565, allocations: 0 / 0.5479 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001784/0.1567, allocations: 71.33 kB / 0.548 GB, free: 14.8 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.223e-06/0.1567, allocations: 0 / 0.548 GB, free: 14.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007381/0.1575, allocations: 177.3 kB / 0.5482 GB, free: 14.62 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.589e-05/0.1575, allocations: 81.11 kB / 0.5482 GB, free: 14.52 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002561/0.1578, allocations: 155.3 kB / 0.5484 GB, free: 14.36 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.483e-05/0.1578, allocations: 29.69 kB / 0.5484 GB, free: 14.32 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.135e-05/0.1579, allocations: 92.14 kB / 0.5485 GB, free: 14.23 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.085e-05/0.1579, allocations: 23.84 kB / 0.5485 GB, free: 14.21 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.568e-05/0.1579, allocations: 25.72 kB / 0.5486 GB, free: 14.18 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001726/0.1581, allocations: 322.8 kB / 0.5489 GB, free: 13.85 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.611e-05/0.1582, allocations: 15.98 kB / 0.5489 GB, free: 13.84 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.659e-05/0.1583, allocations: 54.5 kB / 0.5489 GB, free: 13.77 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001133/0.1584, allocations: 53.66 kB / 0.549 GB, free: 13.71 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.1584, allocations: 0 / 0.549 GB, free: 13.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001933/0.1586, allocations: 105.6 kB / 0.5491 GB, free: 13.61 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.1586, allocations: 4 kB / 0.5491 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.1586, allocations: 0 / 0.5491 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.158e-05/0.1587, allocations: 3.984 kB / 0.5491 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001052/0.1588, allocations: 31.92 kB / 0.5491 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.1588, allocations: 0 / 0.5491 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.188e-05/0.1588, allocations: 7.938 kB / 0.5491 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.623e-06/0.1588, allocations: 384 / 0.5491 GB, free: 13.56 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.000132/0.159, allocations: 124 kB / 0.5493 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.536e-05/0.159, allocations: 11.91 kB / 0.5493 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.419e-05/0.159, allocations: 16.7 kB / 0.5493 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.159, allocations: 0 / 0.5493 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.159, allocations: 4 kB / 0.5493 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.159, allocations: 7.938 kB / 0.5493 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004717/0.1595, allocations: 383.3 kB / 0.5497 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.1595, allocations: 0 / 0.5497 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.796e-05/0.1595, allocations: 11.98 kB / 0.5497 GB, free: 12.94 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.242e-06/0.1596, allocations: 7.938 kB / 0.5497 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.1596, allocations: 7.938 kB / 0.5497 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.1596, allocations: 0 / 0.5497 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1596, allocations: 0 / 0.5497 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003129/0.1599, allocations: 204.6 kB / 0.5499 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.563e-05/0.16, allocations: 89.06 kB / 0.55 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.994e-05/0.16, allocations: 7.922 kB / 0.55 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.066e-05/0.1601, allocations: 4 kB / 0.55 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.219e-05/0.1601, allocations: 4 kB / 0.55 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.056e-05/0.1601, allocations: 11.98 kB / 0.55 GB, free: 12.57 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001107/0.1602, allocations: 117 kB / 0.5501 GB, free: 12.46 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1602, allocations: 0 / 0.5501 GB, free: 12.46 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002907/0.1605, allocations: 31.92 kB / 0.5501 GB, free: 12.43 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.00242/0.1629, allocations: 1.139 MB / 0.5512 GB, free: 11.48 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002118/0.1632, allocations: 55.92 kB / 0.5513 GB, free: 11.42 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1632, allocations: 0 / 0.5513 GB, free: 11.42 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.83e-05/0.1632, allocations: 31.92 kB / 0.5513 GB, free: 11.39 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003465/0.1636, allocations: 33.34 kB / 0.5514 GB, free: 11.36 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001918/0.1655, allocations: 1.547 MB / 0.5529 GB, free: 9.719 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003695/0.1659, allocations: 0.6962 MB / 0.5535 GB, free: 8.996 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.144e-05/0.1659, allocations: 20.81 kB / 0.5536 GB, free: 8.977 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.068e-05/0.166, allocations: 31.42 kB / 0.5536 GB, free: 8.949 MB / 414.1 MB Notification: Performance of SimCode: time 4.91e-07/0.166, allocations: 0 / 0.5536 GB, free: 8.949 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03037/0.1964, allocations: 3.575 MB / 0.5571 GB, free: 5.367 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.902/8.099, allocations: 8 kB / 0.5571 GB, free: 5.359 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test59_fmu --startTime=0 --stopTime=100 --stepSize=0.0198452 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test59.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.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.241340348962694]