Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.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.001359/0.001359, allocations: 117.6 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.001432/0.001432, 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.428/1.428, 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.2176/0.2176, allocations: 44.91 MB / 349.6 MB, free: 1.719 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.Test68,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test68",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test68,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test68",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001943/0.001943, allocations: 71.16 kB / 491.8 MB, free: 29.99 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.124, allocations: 64.25 MB / 0.5431 GB, free: 4.059 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.003288/0.1273, allocations: 1.812 MB / 0.5448 GB, free: 2.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001643/0.1289, allocations: 0.9704 MB / 0.5458 GB, free: 1.254 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.224e-05/0.129, allocations: 0 / 0.5458 GB, free: 1.254 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006856/0.1297, allocations: 291.3 kB / 0.5461 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004061/0.1301, allocations: 207.4 kB / 0.5463 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004799/0.1306, allocations: 171.1 kB / 0.5464 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000362/0.131, allocations: 243.4 kB / 0.5466 GB, free: 372 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.003e-05/0.131, allocations: 5.562 kB / 0.5467 GB, free: 360 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001879/0.1312, allocations: 131.5 kB / 0.5468 GB, free: 228 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002841/0.1315, allocations: 208 kB / 0.547 GB, free: 16 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.828e-05/0.1315, allocations: 11.94 kB / 0.547 GB, free: 4 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001375/0.1317, allocations: 47.97 kB / 0.547 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001892/0.1318, allocations: 140.5 kB / 0.5472 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001527/0.132, allocations: 134.9 kB / 0.5473 GB, free: 15.69 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004919/0.1325, allocations: 362.5 kB / 0.5476 GB, free: 15.33 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1325, allocations: 0 / 0.5476 GB, free: 15.33 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1325, allocations: 0 / 0.5476 GB, free: 15.33 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.269e-05/0.1325, allocations: 0 / 0.5476 GB, free: 15.33 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.001228/0.1337, allocations: 0.75 MB / 0.5484 GB, free: 14.53 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/0.1338, allocations: 8.031 kB / 0.5484 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.003e-05/0.1338, allocations: 34.75 kB / 0.5484 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.935e-05/0.1339, allocations: 48.61 kB / 0.5485 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008613/0.1348, allocations: 444.5 kB / 0.5489 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.633e-05/0.1348, allocations: 384 / 0.5489 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.17e-05/0.1348, allocations: 7.938 kB / 0.5489 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000223/0.135, allocations: 95.28 kB / 0.549 GB, free: 13.85 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.135, allocations: 0 / 0.549 GB, free: 13.85 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.135, allocations: 0 / 0.549 GB, free: 13.85 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.258e-06/0.1351, allocations: 4 kB / 0.549 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001058/0.1352, allocations: 27.98 kB / 0.549 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004264/0.1356, allocations: 370.4 kB / 0.5494 GB, free: 13.4 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002759/0.1359, allocations: 105.1 kB / 0.5495 GB, free: 13.28 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.407e-05/0.136, allocations: 41.69 kB / 0.5495 GB, free: 13.23 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.723e-05/0.136, allocations: 3.984 kB / 0.5495 GB, free: 13.23 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002385/0.1362, allocations: 113 kB / 0.5496 GB, free: 13.1 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.122e-06/0.1362, allocations: 0 / 0.5496 GB, free: 13.1 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004696/0.1367, allocations: 189.2 kB / 0.5498 GB, free: 12.91 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.347e-05/0.1367, allocations: 89.09 kB / 0.5499 GB, free: 12.8 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001162/0.1379, allocations: 1.003 MB / 0.5509 GB, free: 11.79 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.187e-05/0.1379, allocations: 29.7 kB / 0.5509 GB, free: 11.75 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001961/0.1381, allocations: 228 kB / 0.5511 GB, free: 11.53 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.008e-05/0.1382, allocations: 39.72 kB / 0.5511 GB, free: 11.49 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.13e-05/0.1382, allocations: 25.72 kB / 0.5512 GB, free: 11.46 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001962/0.1384, allocations: 366.8 kB / 0.5515 GB, free: 11.09 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.547e-05/0.1385, allocations: 27.98 kB / 0.5515 GB, free: 11.06 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.782e-05/0.1386, allocations: 55.92 kB / 0.5516 GB, free: 11 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001808/0.1388, allocations: 99.28 kB / 0.5517 GB, free: 10.89 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.1388, allocations: 3.938 kB / 0.5517 GB, free: 10.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003102/0.1391, allocations: 169.2 kB / 0.5519 GB, free: 10.71 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.1391, allocations: 4 kB / 0.5519 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.1391, allocations: 4 kB / 0.5519 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.1391, allocations: 4.062 kB / 0.5519 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001177/0.1393, allocations: 23.98 kB / 0.5519 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.411e-06/0.1393, allocations: 0 / 0.5519 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.016e-05/0.1394, allocations: 15.88 kB / 0.5519 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.172e-05/0.1394, allocations: 8 kB / 0.5519 GB, free: 10.65 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.0002236/0.1396, allocations: 217.7 kB / 0.5521 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.256e-05/0.1397, allocations: 51.67 kB / 0.5522 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.882e-05/0.1397, allocations: 55.84 kB / 0.5522 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.1397, allocations: 8 kB / 0.5522 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.1397, allocations: 0 / 0.5522 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.1397, allocations: 3.984 kB / 0.5522 GB, free: 10.31 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003271/0.1401, allocations: 337.4 kB / 0.5526 GB, free: 9.934 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.1401, allocations: 0 / 0.5526 GB, free: 9.934 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.359e-05/0.1401, allocations: 8 kB / 0.5526 GB, free: 9.926 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.1401, allocations: 0 / 0.5526 GB, free: 9.926 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/0.1401, allocations: 8.109 kB / 0.5526 GB, free: 9.918 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.1401, allocations: 4 kB / 0.5526 GB, free: 9.914 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1401, allocations: 0 / 0.5526 GB, free: 9.914 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003316/0.1405, allocations: 209.5 kB / 0.5528 GB, free: 9.688 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001816/0.1406, allocations: 136.8 kB / 0.5529 GB, free: 9.535 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.149e-05/0.1407, allocations: 4 kB / 0.5529 GB, free: 9.531 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.379e-05/0.1408, allocations: 3.984 kB / 0.5529 GB, free: 9.527 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.283e-05/0.1408, allocations: 12 kB / 0.5529 GB, free: 9.516 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.927e-05/0.1408, allocations: 7.984 kB / 0.5529 GB, free: 9.508 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008361/0.1417, allocations: 0.7526 MB / 0.5537 GB, free: 8.758 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1417, allocations: 3.938 kB / 0.5537 GB, free: 8.754 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002638/0.1419, allocations: 47.88 kB / 0.5537 GB, free: 8.707 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.001994/0.1439, allocations: 1.044 MB / 0.5547 GB, free: 7.805 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002647/0.1442, allocations: 79.91 kB / 0.5548 GB, free: 7.727 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.1442, allocations: 0 / 0.5548 GB, free: 7.727 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001074/0.1443, allocations: 35.92 kB / 0.5549 GB, free: 7.691 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003994/0.1447, allocations: 78.19 kB / 0.5549 GB, free: 7.617 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005554/0.1502, allocations: 4.412 MB / 0.5592 GB, free: 3.105 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005275/0.1508, allocations: 0.8465 MB / 0.5601 GB, free: 2.234 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001423/0.1509, allocations: 54.94 kB / 0.5601 GB, free: 2.18 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001902/0.1511, allocations: 139.4 kB / 0.5602 GB, free: 2.043 MB / 414.1 MB Notification: Performance of SimCode: time 9.62e-07/0.1511, allocations: 4 kB / 0.5603 GB, free: 2.039 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03161/0.1827, allocations: 8.832 MB / 0.5689 GB, free: 9.242 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.659/8.842, allocations: 10.81 kB / 0.5689 GB, free: 9.234 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test68_fmu --startTime=0 --stopTime=8000 --stepSize=1.56403 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test68.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.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.942452077753842]