Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.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.001302/0.001302, 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.001333/0.001333, 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.43/1.43, 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.2169/0.2169, allocations: 44.92 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.Test54,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test54",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test54,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test54",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001888/0.001888, allocations: 69.8 kB / 491.9 MB, free: 29.86 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.1228, allocations: 64.26 MB / 0.5431 GB, free: 4.039 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.003266/0.1261, allocations: 1.711 MB / 0.5448 GB, free: 2.312 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001492/0.1276, allocations: 0.8963 MB / 0.5456 GB, free: 1.41 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.434e-05/0.1276, allocations: 3.938 kB / 0.5456 GB, free: 1.406 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003241/0.128, allocations: 43.83 kB / 0.5457 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002488/0.1282, allocations: 63.69 kB / 0.5457 GB, free: 1.301 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003262/0.1285, allocations: 103.7 kB / 0.5458 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002019/0.1287, allocations: 91.75 kB / 0.5459 GB, free: 1.109 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.1288, allocations: 12.45 kB / 0.5459 GB, free: 1.094 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.307e-05/0.1289, allocations: 39.84 kB / 0.546 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.745e-05/0.129, allocations: 35.72 kB / 0.546 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.946e-05/0.129, allocations: 8 kB / 0.546 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.902e-05/0.1291, allocations: 43.98 kB / 0.5461 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.008e-05/0.1292, allocations: 31.91 kB / 0.5461 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.814e-05/0.1293, allocations: 31.75 kB / 0.5461 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00024/0.1295, allocations: 119.4 kB / 0.5462 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.1295, allocations: 0 / 0.5462 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1295, allocations: 0 / 0.5462 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.251e-06/0.1295, allocations: 3.938 kB / 0.5462 GB, free: 0.7852 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.0006396/0.1302, allocations: 430.6 kB / 0.5466 GB, free: 324 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.1302, allocations: 16.03 kB / 0.5467 GB, free: 308 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.959e-05/0.1303, allocations: 38.75 kB / 0.5467 GB, free: 260 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.667e-05/0.1303, allocations: 8.891 kB / 0.5467 GB, free: 252 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003388/0.1306, allocations: 220 kB / 0.5469 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.1307, allocations: 8.375 kB / 0.5469 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.176e-05/0.1307, allocations: 3.938 kB / 0.5469 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001504/0.1308, allocations: 57.61 kB / 0.547 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.1308, allocations: 4 kB / 0.547 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.075e-06/0.1308, allocations: 0 / 0.547 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.1309, allocations: 4 kB / 0.547 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.396e-05/0.1309, allocations: 19.98 kB / 0.547 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003909/0.1313, allocations: 284.8 kB / 0.5473 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000173/0.1315, allocations: 66.55 kB / 0.5473 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.279e-05/0.1315, allocations: 20.84 kB / 0.5474 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.693e-05/0.1316, allocations: 4 kB / 0.5474 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001465/0.1317, allocations: 63.39 kB / 0.5474 GB, free: 15.39 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.1317, allocations: 4 kB / 0.5474 GB, free: 15.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005754/0.1323, allocations: 173.3 kB / 0.5476 GB, free: 15.21 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.069e-05/0.1323, allocations: 51.41 kB / 0.5476 GB, free: 15.14 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002402/0.1326, allocations: 218.6 kB / 0.5479 GB, free: 14.91 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.955e-05/0.1326, allocations: 37.69 kB / 0.5479 GB, free: 14.87 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.004e-05/0.1327, allocations: 104.1 kB / 0.548 GB, free: 14.77 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.652e-05/0.1327, allocations: 31.77 kB / 0.548 GB, free: 14.73 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.14e-05/0.1327, allocations: 21.72 kB / 0.548 GB, free: 14.71 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.1329, allocations: 330.8 kB / 0.5484 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.888e-05/0.1329, allocations: 19.98 kB / 0.5484 GB, free: 14.36 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.401e-05/0.133, allocations: 37.64 kB / 0.5484 GB, free: 14.31 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001112/0.1331, allocations: 61.7 kB / 0.5485 GB, free: 14.25 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.1331, allocations: 4 kB / 0.5485 GB, free: 14.24 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001813/0.1333, allocations: 97.53 kB / 0.5486 GB, free: 14.14 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.1333, allocations: 8 kB / 0.5486 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.1333, allocations: 0 / 0.5486 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.1333, allocations: 0 / 0.5486 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.969e-05/0.1334, allocations: 16.36 kB / 0.5486 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.1334, allocations: 0 / 0.5486 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.765e-05/0.1335, allocations: 15.97 kB / 0.5486 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.1335, allocations: 8 kB / 0.5486 GB, free: 14.09 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.0001172/0.1336, allocations: 137.2 kB / 0.5487 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.357e-05/0.1336, allocations: 11.91 kB / 0.5488 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.458e-05/0.1337, allocations: 21.39 kB / 0.5488 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.1337, allocations: 0 / 0.5488 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.1337, allocations: 0 / 0.5488 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.1337, allocations: 3.938 kB / 0.5488 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004692/0.1342, allocations: 403.5 kB / 0.5492 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.1342, allocations: 0 / 0.5492 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.232e-05/0.1342, allocations: 11.98 kB / 0.5492 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.1342, allocations: 3.938 kB / 0.5492 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.1342, allocations: 3.938 kB / 0.5492 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/0.1342, allocations: 4 kB / 0.5492 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1342, allocations: 0 / 0.5492 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002444/0.1345, allocations: 204.3 kB / 0.5494 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.774e-05/0.1345, allocations: 85.06 kB / 0.5495 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.551e-05/0.1345, allocations: 11.86 kB / 0.5495 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.072e-05/0.1346, allocations: 8 kB / 0.5495 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.247e-05/0.1346, allocations: 11.97 kB / 0.5495 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.394e-05/0.1347, allocations: 3.984 kB / 0.5495 GB, free: 13.08 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001476/0.1348, allocations: 171.2 kB / 0.5497 GB, free: 12.91 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1348, allocations: 0 / 0.5497 GB, free: 12.91 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002486/0.135, allocations: 27.94 kB / 0.5497 GB, free: 12.88 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.002122/0.1372, allocations: 1.1 MB / 0.5508 GB, free: 11.95 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001897/0.1374, allocations: 59.91 kB / 0.5508 GB, free: 11.89 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.1374, allocations: 0 / 0.5508 GB, free: 11.89 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.198e-05/0.1374, allocations: 23.94 kB / 0.5508 GB, free: 11.87 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003606/0.1378, allocations: 29.86 kB / 0.5509 GB, free: 11.84 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00206/0.1399, allocations: 1.727 MB / 0.5526 GB, free: 10.03 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003798/0.1402, allocations: 0.7117 MB / 0.5533 GB, free: 9.289 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.268e-05/0.1403, allocations: 16.89 kB / 0.5533 GB, free: 9.273 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.348e-05/0.1403, allocations: 39.42 kB / 0.5533 GB, free: 9.238 MB / 414.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1403, allocations: 0 / 0.5533 GB, free: 9.238 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02891/0.1693, allocations: 3.563 MB / 0.5568 GB, free: 5.707 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.084/8.253, allocations: 11.03 kB / 0.5568 GB, free: 5.699 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test54_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000499301 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test54.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test54/Test54.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.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.292900316417217]