Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.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.001797/0.001797, allocations: 116.7 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.00205/0.00205, allocations: 189.2 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.473/1.473, allocations: 225.6 MB / 249.8 MB, free: 3.617 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.2245/0.2245, allocations: 44.91 MB / 349.6 MB, free: 1.754 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.Test43,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test43",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test43,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test43",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001968/0.001968, allocations: 66.95 kB / 491.9 MB, free: 29.91 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.1406, allocations: 64.26 MB / 0.5431 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.003682/0.1443, allocations: 1.715 MB / 0.5448 GB, free: 2.449 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001741/0.1461, allocations: 0.8885 MB / 0.5456 GB, free: 1.555 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.257e-05/0.1462, allocations: 7.938 kB / 0.5456 GB, free: 1.547 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003743/0.1465, allocations: 35.83 kB / 0.5457 GB, free: 1.512 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002611/0.1468, allocations: 63.69 kB / 0.5457 GB, free: 1.449 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003238/0.1471, allocations: 103.6 kB / 0.5458 GB, free: 1.348 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002084/0.1473, allocations: 99.67 kB / 0.5459 GB, free: 1.25 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.781e-05/0.1474, allocations: 4.516 kB / 0.5459 GB, free: 1.242 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.742e-05/0.1475, allocations: 43.78 kB / 0.546 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.672e-05/0.1476, allocations: 39.84 kB / 0.546 GB, free: 1.16 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.938e-05/0.1476, allocations: 4 kB / 0.546 GB, free: 1.156 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.906e-05/0.1477, allocations: 43.98 kB / 0.5461 GB, free: 1.113 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.951e-05/0.1478, allocations: 23.86 kB / 0.5461 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.562e-05/0.1479, allocations: 31.75 kB / 0.5461 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002352/0.1481, allocations: 119.4 kB / 0.5462 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.1481, allocations: 0 / 0.5462 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1481, allocations: 3.938 kB / 0.5462 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.088e-05/0.1481, allocations: 0 / 0.5462 GB, free: 0.9375 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.0006399/0.1487, allocations: 422.7 kB / 0.5466 GB, free: 488 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.1488, allocations: 12.03 kB / 0.5466 GB, free: 476 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.563e-05/0.1488, allocations: 38.73 kB / 0.5467 GB, free: 428 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.662e-05/0.1489, allocations: 8.891 kB / 0.5467 GB, free: 420 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003401/0.1492, allocations: 208.8 kB / 0.5469 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/0.1492, allocations: 4.375 kB / 0.5469 GB, free: 168 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.805e-05/0.1493, allocations: 11.92 kB / 0.5469 GB, free: 156 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001655/0.1494, allocations: 53.61 kB / 0.547 GB, free: 96 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/0.1494, allocations: 0 / 0.547 GB, free: 96 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.606e-05/0.1495, allocations: 12 kB / 0.547 GB, free: 84 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.1495, allocations: 0 / 0.547 GB, free: 84 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.379e-05/0.1495, allocations: 15.98 kB / 0.547 GB, free: 68 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004542/0.15, allocations: 284.9 kB / 0.5472 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001911/0.1502, allocations: 50.62 kB / 0.5473 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.006e-05/0.1502, allocations: 24.84 kB / 0.5473 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.635e-05/0.1503, allocations: 4 kB / 0.5473 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001971/0.1505, allocations: 63.39 kB / 0.5474 GB, free: 15.57 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.323e-06/0.1505, allocations: 0 / 0.5474 GB, free: 15.57 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006113/0.1511, allocations: 181.3 kB / 0.5476 GB, free: 15.39 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.74e-05/0.1511, allocations: 55.34 kB / 0.5476 GB, free: 15.32 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002353/0.1514, allocations: 202.6 kB / 0.5478 GB, free: 15.11 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/0.1514, allocations: 29.7 kB / 0.5478 GB, free: 15.08 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.927e-05/0.1515, allocations: 104.1 kB / 0.5479 GB, free: 14.97 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.363e-05/0.1515, allocations: 27.78 kB / 0.548 GB, free: 14.95 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.285e-05/0.1516, allocations: 21.72 kB / 0.548 GB, free: 14.92 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001816/0.1517, allocations: 326.8 kB / 0.5483 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.942e-05/0.1518, allocations: 19.98 kB / 0.5483 GB, free: 14.57 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.255e-05/0.1519, allocations: 37.64 kB / 0.5483 GB, free: 14.53 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000128/0.152, allocations: 61.72 kB / 0.5484 GB, free: 14.46 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.152, allocations: 0 / 0.5484 GB, free: 14.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002104/0.1522, allocations: 106.1 kB / 0.5485 GB, free: 14.35 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.1522, allocations: 4 kB / 0.5485 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.1522, allocations: 7.938 kB / 0.5485 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.211e-05/0.1523, allocations: 3.984 kB / 0.5485 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.1524, allocations: 20 kB / 0.5485 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.1524, allocations: 8.016 kB / 0.5485 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.916e-05/0.1524, allocations: 7.938 kB / 0.5486 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.1524, allocations: 4 kB / 0.5486 GB, free: 14.3 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.0001559/0.1526, allocations: 129.8 kB / 0.5487 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.984e-05/0.1526, allocations: 15.91 kB / 0.5487 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.234e-05/0.1527, allocations: 13.41 kB / 0.5487 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.1527, allocations: 0 / 0.5487 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.1527, allocations: 0 / 0.5487 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.1527, allocations: 3.938 kB / 0.5487 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000506/0.1532, allocations: 395.3 kB / 0.5491 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1532, allocations: 0 / 0.5491 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.148e-05/0.1532, allocations: 8 kB / 0.5491 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.141e-06/0.1532, allocations: 3.938 kB / 0.5491 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.1532, allocations: 4 kB / 0.5491 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.1532, allocations: 0 / 0.5491 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1532, allocations: 0 / 0.5491 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002819/0.1535, allocations: 212.5 kB / 0.5493 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.004e-05/0.1536, allocations: 92.98 kB / 0.5494 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.569e-05/0.1536, allocations: 7.938 kB / 0.5494 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.414e-05/0.1537, allocations: 0 / 0.5494 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.999e-05/0.1537, allocations: 11.98 kB / 0.5494 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.505e-05/0.1537, allocations: 4 kB / 0.5494 GB, free: 13.3 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001396/0.1539, allocations: 152.9 kB / 0.5496 GB, free: 13.15 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1539, allocations: 4 kB / 0.5496 GB, free: 13.15 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002567/0.1541, allocations: 23.94 kB / 0.5496 GB, free: 13.12 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.002213/0.1563, allocations: 1.101 MB / 0.5507 GB, free: 12.2 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002105/0.1565, allocations: 47.98 kB / 0.5507 GB, free: 12.15 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1566, allocations: 0 / 0.5507 GB, free: 12.15 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.53e-05/0.1566, allocations: 27.92 kB / 0.5507 GB, free: 12.12 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003488/0.157, allocations: 29.33 kB / 0.5508 GB, free: 12.1 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00225/0.1592, allocations: 1.674 MB / 0.5524 GB, free: 10.33 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004744/0.1597, allocations: 0.708 MB / 0.5531 GB, free: 9.594 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.756e-05/0.1598, allocations: 17.19 kB / 0.5531 GB, free: 9.578 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.937e-05/0.1599, allocations: 35.42 kB / 0.5531 GB, free: 9.543 MB / 414.1 MB Notification: Performance of SimCode: time 1.433e-06/0.1599, allocations: 0 / 0.5531 GB, free: 9.543 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02774/0.1876, allocations: 3.456 MB / 0.5565 GB, free: 6.125 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.915/8.102, allocations: 11.97 kB / 0.5565 GB, free: 6.113 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test43_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498703 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test43.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test43/Test43.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.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.228205231018364]