Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.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.002025/0.002025, 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.002372/0.002372, 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.431/1.431, allocations: 225.6 MB / 249.8 MB, free: 3.734 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.2431/0.2431, allocations: 44.91 MB / 349.6 MB, free: 1.734 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.Test67,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test67",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test67,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test67",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001899/0.001899, allocations: 69.11 kB / 491.8 MB, free: 29.99 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.125, allocations: 64.26 MB / 0.5431 GB, free: 4.035 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.003986/0.129, allocations: 2.318 MB / 0.5453 GB, free: 1.699 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002225/0.1312, allocations: 1.282 MB / 0.5466 GB, free: 420 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001223/0.1313, allocations: 7.938 kB / 0.5466 GB, free: 412 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005597/0.1319, allocations: 295 kB / 0.5469 GB, free: 116 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005043/0.1324, allocations: 271 kB / 0.5471 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008991/0.1333, allocations: 377.9 kB / 0.5475 GB, free: 15.48 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006461/0.134, allocations: 0.5101 MB / 0.548 GB, free: 14.97 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001425/0.1341, allocations: 41.3 kB / 0.548 GB, free: 14.93 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003056/0.1344, allocations: 235 kB / 0.5483 GB, free: 14.7 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003242/0.1347, allocations: 283 kB / 0.5485 GB, free: 14.42 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.271e-05/0.1348, allocations: 16 kB / 0.5485 GB, free: 14.4 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001355/0.1349, allocations: 63.91 kB / 0.5486 GB, free: 14.34 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001321/0.135, allocations: 111.5 kB / 0.5487 GB, free: 14.23 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001681/0.1352, allocations: 170.7 kB / 0.5489 GB, free: 14.06 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004929/0.1357, allocations: 406 kB / 0.5493 GB, free: 13.66 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1357, allocations: 0 / 0.5493 GB, free: 13.66 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1357, allocations: 3.938 kB / 0.5493 GB, free: 13.66 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.224e-06/0.1357, allocations: 0 / 0.5493 GB, free: 13.66 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001617/0.1373, allocations: 0.7666 MB / 0.55 GB, free: 12.84 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.04e-05/0.1374, allocations: 12.03 kB / 0.55 GB, free: 12.83 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.7e-05/0.1375, allocations: 46.73 kB / 0.5501 GB, free: 12.77 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001322/0.1376, allocations: 60.56 kB / 0.5501 GB, free: 12.71 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008733/0.1385, allocations: 408.4 kB / 0.5505 GB, free: 12.28 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.008e-05/0.1385, allocations: 12.38 kB / 0.5505 GB, free: 12.27 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.381e-05/0.1386, allocations: 19.92 kB / 0.5505 GB, free: 12.25 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005699/0.1391, allocations: 201.8 kB / 0.5507 GB, free: 12.03 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.37e-05/0.1392, allocations: 11.92 kB / 0.5507 GB, free: 12.02 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.66e-05/0.1392, allocations: 4 kB / 0.5507 GB, free: 12.01 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.1392, allocations: 4 kB / 0.5508 GB, free: 12.01 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003854/0.1396, allocations: 95.86 kB / 0.5508 GB, free: 11.91 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001338/0.1409, allocations: 0.8527 MB / 0.5517 GB, free: 11 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001017/0.1419, allocations: 277.2 kB / 0.5519 GB, free: 10.68 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002942/0.1422, allocations: 92.25 kB / 0.552 GB, free: 10.57 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.835e-05/0.1423, allocations: 7.938 kB / 0.552 GB, free: 10.57 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006027/0.1429, allocations: 232.7 kB / 0.5523 GB, free: 10.31 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 2.505e-06/0.1429, allocations: 0 / 0.5523 GB, free: 10.31 MB / 414.1 MB Notification: Performance of matching and sorting (n=40): time 0.002956/0.1458, allocations: 1.001 MB / 0.5532 GB, free: 9.301 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001518/0.146, allocations: 170.2 kB / 0.5534 GB, free: 9.098 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001145/0.1471, allocations: 0.6121 MB / 0.554 GB, free: 8.473 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.466e-05/0.1472, allocations: 37.69 kB / 0.554 GB, free: 8.43 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002668/0.1474, allocations: 221 kB / 0.5542 GB, free: 8.211 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001829/0.1476, allocations: 130.9 kB / 0.5544 GB, free: 8.082 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000162/0.1478, allocations: 74.12 kB / 0.5544 GB, free: 8.004 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002782/0.1481, allocations: 366.8 kB / 0.5548 GB, free: 7.637 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003549/0.1484, allocations: 104.8 kB / 0.5549 GB, free: 7.535 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004671/0.1489, allocations: 178.8 kB / 0.5551 GB, free: 7.332 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009431/0.1498, allocations: 296.8 kB / 0.5553 GB, free: 7.012 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.1498, allocations: 0 / 0.5553 GB, free: 7.012 MB / 414.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001166/0.151, allocations: 413.1 kB / 0.5557 GB, free: 6.602 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.419e-05/0.151, allocations: 8 kB / 0.5557 GB, free: 6.594 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.151, allocations: 0 / 0.5557 GB, free: 6.594 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.917e-05/0.1511, allocations: 7.984 kB / 0.5558 GB, free: 6.586 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004553/0.1515, allocations: 83.91 kB / 0.5558 GB, free: 6.504 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.455e-05/0.1515, allocations: 4 kB / 0.5558 GB, free: 6.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000306/0.1518, allocations: 24.14 kB / 0.5559 GB, free: 6.477 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.583e-05/0.1519, allocations: 12 kB / 0.5559 GB, free: 6.465 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.t_s.nextTimeEvent,$whenCondition5,t_s.nextTimeEventScaled,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEvent,$PRE.t_min.nextTimeEvent,$whenCondition4,t_min.nextTimeEventScaled,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEvent,$PRE.t_h.nextTimeEvent,$whenCondition3,t_h.nextTimeEventScaled,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEvent,$PRE.t_d.nextTimeEvent,$whenCondition2,t_d.nextTimeEventScaled,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEvent,$PRE.t_ms.nextTimeEvent,$whenCondition1,t_ms.nextTimeEventScaled,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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.0003284/0.1522, allocations: 212.2 kB / 0.5561 GB, free: 6.246 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001328/0.1523, allocations: 63.56 kB / 0.5561 GB, free: 6.184 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001702/0.1525, allocations: 63.89 kB / 0.5562 GB, free: 6.117 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.574e-05/0.1525, allocations: 8 kB / 0.5562 GB, free: 6.109 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.1525, allocations: 0 / 0.5562 GB, free: 6.109 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.183e-06/0.1525, allocations: 3.938 kB / 0.5562 GB, free: 6.105 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002594/0.1551, allocations: 1.265 MB / 0.5574 GB, free: 4.766 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-05/0.1551, allocations: 8.156 kB / 0.5574 GB, free: 4.758 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002195/0.1554, allocations: 51.91 kB / 0.5575 GB, free: 4.707 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-05/0.1554, allocations: 4 kB / 0.5575 GB, free: 4.703 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.936e-05/0.1554, allocations: 15.94 kB / 0.5575 GB, free: 4.688 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.001e-05/0.1554, allocations: 7.984 kB / 0.5575 GB, free: 4.68 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.1554, allocations: 0 / 0.5575 GB, free: 4.68 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001269/0.1567, allocations: 0.817 MB / 0.5583 GB, free: 3.824 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001484/0.1569, allocations: 124.8 kB / 0.5584 GB, free: 3.684 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000102/0.157, allocations: 23.92 kB / 0.5585 GB, free: 3.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005647/0.1575, allocations: 19.98 kB / 0.5585 GB, free: 3.641 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001115/0.1576, allocations: 39.88 kB / 0.5585 GB, free: 3.602 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.583e-05/0.1577, allocations: 20 kB / 0.5585 GB, free: 3.582 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007508/0.1584, allocations: 450.8 kB / 0.559 GB, free: 3.145 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1584, allocations: 0 / 0.559 GB, free: 3.145 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009376/0.1594, allocations: 83.92 kB / 0.5591 GB, free: 3.062 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled,$whenCondition2,t_d.nextTimeEvent,t_d.nextTimeEventScaled,$whenCondition3,t_h.nextTimeEvent,t_h.nextTimeEventScaled,$whenCondition4,t_min.nextTimeEvent,t_min.nextTimeEventScaled,$whenCondition5,t_s.nextTimeEvent,t_s.nextTimeEventScaled) * Number of discrete states: 10 (t_s.nextTimeEvent,t_s.nextTimeEventScaled,t_min.nextTimeEvent,t_min.nextTimeEventScaled,t_h.nextTimeEvent,t_h.nextTimeEventScaled,t_d.nextTimeEvent,t_d.nextTimeEventScaled,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.003858/0.1632, allocations: 1.744 MB / 0.5608 GB, free: 1.48 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009103/0.1642, allocations: 271.7 kB / 0.561 GB, free: 1.215 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1642, allocations: 0 / 0.561 GB, free: 1.215 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004372/0.1646, allocations: 133.3 kB / 0.5611 GB, free: 1.086 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001758/0.1664, allocations: 146.9 kB / 0.5613 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008697/0.175, allocations: 4.4 MB / 0.5656 GB, free: 12.35 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006879/0.1757, allocations: 0.8473 MB / 0.5664 GB, free: 11.47 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003168/0.1761, allocations: 75.41 kB / 0.5665 GB, free: 11.4 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003366/0.1764, allocations: 175.4 kB / 0.5666 GB, free: 11.23 MB / 430.1 MB Notification: Performance of SimCode: time 1.333e-06/0.1764, allocations: 8 kB / 0.5667 GB, free: 11.22 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03721/0.2136, allocations: 10.62 MB / 0.577 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.892/9.106, allocations: 3.75 kB / 0.577 GB, free: 0.6562 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test67_fmu --startTime=0 --stopTime=4000 --stepSize=0.799361 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test67.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test67/Test67.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.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: 12.30973517568782]