Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.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.001133/0.001133, 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.001182/0.001182, 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.492/1.492, allocations: 225.6 MB / 249.8 MB, free: 3.641 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.2429/0.2429, allocations: 44.92 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.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test4",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001891/0.001891, allocations: 70.31 kB / 491.9 MB, free: 30.23 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1269/0.1287, allocations: 64.26 MB / 0.5431 GB, free: 4.148 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.003317/0.1321, allocations: 1.73 MB / 0.5448 GB, free: 2.402 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001593/0.1337, allocations: 0.9003 MB / 0.5457 GB, free: 1.496 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.384e-05/0.1337, allocations: 3.938 kB / 0.5457 GB, free: 1.492 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003622/0.1341, allocations: 87.67 kB / 0.5458 GB, free: 1.406 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000237/0.1343, allocations: 71.67 kB / 0.5458 GB, free: 1.336 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003081/0.1346, allocations: 115.6 kB / 0.5459 GB, free: 1.223 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001837/0.1348, allocations: 107.7 kB / 0.546 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.1349, allocations: 12.27 kB / 0.546 GB, free: 1.105 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001081/0.135, allocations: 59.77 kB / 0.5461 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001279/0.1352, allocations: 63.73 kB / 0.5462 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.99e-05/0.1352, allocations: 4 kB / 0.5462 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001343/0.1353, allocations: 59.98 kB / 0.5462 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.385e-05/0.1354, allocations: 19.92 kB / 0.5462 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.692e-05/0.1355, allocations: 43.67 kB / 0.5463 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000276/0.1357, allocations: 135.4 kB / 0.5464 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1357, allocations: 3.938 kB / 0.5464 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1357, allocations: 0 / 0.5464 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.156e-05/0.1357, allocations: 0 / 0.5464 GB, free: 0.7227 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007243/0.1365, allocations: 430.7 kB / 0.5468 GB, free: 260 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.1365, allocations: 12.02 kB / 0.5468 GB, free: 248 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.583e-05/0.1366, allocations: 30.75 kB / 0.5469 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.474e-05/0.1366, allocations: 20.78 kB / 0.5469 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003762/0.137, allocations: 224 kB / 0.5471 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.371e-05/0.137, allocations: 384 / 0.5471 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.674e-05/0.137, allocations: 7.938 kB / 0.5471 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001664/0.1372, allocations: 57.67 kB / 0.5472 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.615e-05/0.1372, allocations: 8 kB / 0.5472 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.839e-06/0.1372, allocations: 0 / 0.5472 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.1372, allocations: 0 / 0.5472 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.962e-05/0.1373, allocations: 23.97 kB / 0.5472 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004277/0.1377, allocations: 296.8 kB / 0.5475 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000248/0.138, allocations: 54.55 kB / 0.5475 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.357e-05/0.138, allocations: 24.97 kB / 0.5476 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.362e-05/0.1381, allocations: 4 kB / 0.5476 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001702/0.1382, allocations: 67.45 kB / 0.5476 GB, free: 15.31 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.292e-06/0.1382, allocations: 4 kB / 0.5476 GB, free: 15.31 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007969/0.139, allocations: 249.1 kB / 0.5479 GB, free: 15.06 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.868e-05/0.1391, allocations: 55.34 kB / 0.5479 GB, free: 14.99 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002316/0.1393, allocations: 208.4 kB / 0.5481 GB, free: 14.78 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.581e-05/0.1393, allocations: 33.7 kB / 0.5482 GB, free: 14.74 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.148e-05/0.1394, allocations: 100.1 kB / 0.5482 GB, free: 14.64 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.808e-05/0.1395, allocations: 39.69 kB / 0.5483 GB, free: 14.6 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5e-05/0.1395, allocations: 33.64 kB / 0.5483 GB, free: 14.56 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001769/0.1397, allocations: 326.8 kB / 0.5486 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.138e-05/0.1398, allocations: 23.98 kB / 0.5487 GB, free: 14.21 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.693e-05/0.1399, allocations: 53.7 kB / 0.5487 GB, free: 14.15 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001492/0.14, allocations: 81.64 kB / 0.5488 GB, free: 14.06 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.14, allocations: 0 / 0.5488 GB, free: 14.06 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002409/0.1402, allocations: 121.6 kB / 0.5489 GB, free: 13.94 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.1403, allocations: 4 kB / 0.5489 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.1403, allocations: 3.984 kB / 0.5489 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.1403, allocations: 4 kB / 0.5489 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.725e-05/0.1404, allocations: 27.91 kB / 0.5489 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.1404, allocations: 3.938 kB / 0.5489 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.014e-05/0.1404, allocations: 11.98 kB / 0.5489 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/0.1404, allocations: 4 kB / 0.549 GB, free: 13.88 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 (13): * Single equations (assignments): 13 * 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.0001381/0.1406, allocations: 128.5 kB / 0.5491 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.752e-05/0.1406, allocations: 15.88 kB / 0.5491 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.52e-05/0.1407, allocations: 17.41 kB / 0.5491 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.1407, allocations: 3.938 kB / 0.5491 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.1407, allocations: 0 / 0.5491 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.1407, allocations: 4 kB / 0.5491 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006019/0.1413, allocations: 460 kB / 0.5496 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1413, allocations: 0 / 0.5496 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.916e-05/0.1413, allocations: 15.94 kB / 0.5496 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.1413, allocations: 0 / 0.5496 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.737e-05/0.1413, allocations: 7.984 kB / 0.5496 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1413, allocations: 0 / 0.5496 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1413, allocations: 64 / 0.5496 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003038/0.1417, allocations: 233 kB / 0.5498 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.14e-05/0.1417, allocations: 93 kB / 0.5499 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.09e-05/0.1418, allocations: 11.98 kB / 0.5499 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.071e-05/0.1418, allocations: 4 kB / 0.5499 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.433e-05/0.1419, allocations: 15.92 kB / 0.5499 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.128e-05/0.1419, allocations: 8 kB / 0.5499 GB, free: 12.77 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001534/0.142, allocations: 159.5 kB / 0.5501 GB, free: 12.61 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.142, allocations: 0 / 0.5501 GB, free: 12.61 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002682/0.1423, allocations: 27.94 kB / 0.5501 GB, free: 12.58 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.002502/0.1448, allocations: 1.184 MB / 0.5513 GB, free: 11.6 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002212/0.145, allocations: 79.84 kB / 0.5513 GB, free: 11.52 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.145, allocations: 0 / 0.5513 GB, free: 11.52 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.776e-05/0.1451, allocations: 39.91 kB / 0.5514 GB, free: 11.48 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003807/0.1455, allocations: 26.55 kB / 0.5514 GB, free: 11.46 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002181/0.1477, allocations: 1.793 MB / 0.5532 GB, free: 9.57 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004162/0.1481, allocations: 0.7155 MB / 0.5538 GB, free: 8.828 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.226e-05/0.1482, allocations: 16.64 kB / 0.5539 GB, free: 8.809 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.237e-05/0.1482, allocations: 43.42 kB / 0.5539 GB, free: 8.766 MB / 414.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1482, allocations: 0 / 0.5539 GB, free: 8.766 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02719/0.1754, allocations: 3.833 MB / 0.5577 GB, free: 4.957 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.899/8.075, allocations: 4.922 kB / 0.5577 GB, free: 4.953 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test4_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test4.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.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.221825045067817]