Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001703/0.001703, allocations: 121.3 kB / 18.5 MB, free: 4.578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002158/0.002158, allocations: 210.5 kB / 21.46 MB, free: 1.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.467/1.467, allocations: 230.2 MB / 254.5 MB, free: 15.28 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2271/0.2271, allocations: 46.9 MB / 357.4 MB, free: 10.49 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test60,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test60",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test60,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test60",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002218/0.002218, allocations: 75.88 kB / 0.4913 GB, free: 8.281 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.1267, allocations: 66 MB / 0.5558 GB, free: 6.148 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.003547/0.1303, allocations: 1.736 MB / 0.5575 GB, free: 4.395 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002852/0.1331, allocations: 1.644 MB / 0.5591 GB, free: 2.742 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.809e-05/0.1332, allocations: 4 kB / 0.5591 GB, free: 2.738 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002907/0.1335, allocations: 31.78 kB / 0.5591 GB, free: 2.707 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003439/0.1338, allocations: 103.5 kB / 0.5592 GB, free: 2.605 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001919/0.134, allocations: 79.72 kB / 0.5593 GB, free: 2.527 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001973/0.1342, allocations: 111.6 kB / 0.5594 GB, free: 2.418 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.776e-05/0.1343, allocations: 8 kB / 0.5594 GB, free: 2.41 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001087/0.1344, allocations: 51.77 kB / 0.5595 GB, free: 2.359 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001552/0.1346, allocations: 35.84 kB / 0.5595 GB, free: 2.324 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.873e-05/0.1346, allocations: 4 kB / 0.5595 GB, free: 2.32 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001991/0.1348, allocations: 115.9 kB / 0.5596 GB, free: 2.207 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.003e-05/0.1348, allocations: 19.91 kB / 0.5596 GB, free: 2.188 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.478e-05/0.1349, allocations: 31.75 kB / 0.5596 GB, free: 2.156 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003375/0.1352, allocations: 179.4 kB / 0.5598 GB, free: 1.98 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1352, allocations: 4 kB / 0.5598 GB, free: 1.977 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1352, allocations: 0 / 0.5598 GB, free: 1.977 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.623e-06/0.1353, allocations: 0 / 0.5598 GB, free: 1.977 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006926/0.1359, allocations: 426.6 kB / 0.5602 GB, free: 1.512 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.136, allocations: 12.03 kB / 0.5602 GB, free: 1.5 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.25e-05/0.136, allocations: 34.69 kB / 0.5603 GB, free: 1.457 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.739e-05/0.1361, allocations: 12.84 kB / 0.5603 GB, free: 1.445 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003674/0.1365, allocations: 216.7 kB / 0.5605 GB, free: 1.195 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.966e-05/0.1365, allocations: 8.359 kB / 0.5605 GB, free: 1.188 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.504e-05/0.1365, allocations: 7.938 kB / 0.5605 GB, free: 1.18 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002099/0.1367, allocations: 71.33 kB / 0.5606 GB, free: 1.098 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.1367, allocations: 4 kB / 0.5606 GB, free: 1.094 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.1367, allocations: 0 / 0.5606 GB, free: 1.094 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.1368, allocations: 0 / 0.5606 GB, free: 1.094 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.12e-05/0.1368, allocations: 19.98 kB / 0.5606 GB, free: 1.074 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004333/0.1373, allocations: 284.9 kB / 0.5609 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001987/0.1375, allocations: 62.61 kB / 0.5609 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.612e-05/0.1375, allocations: 20.84 kB / 0.561 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.101e-05/0.1375, allocations: 0 / 0.561 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001713/0.1377, allocations: 71.39 kB / 0.561 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 3.817e-06/0.1377, allocations: 3.984 kB / 0.561 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005902/0.1383, allocations: 173.3 kB / 0.5612 GB, free: 400 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.878e-05/0.1384, allocations: 77.11 kB / 0.5613 GB, free: 304 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002028/0.1386, allocations: 171 kB / 0.5614 GB, free: 120 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.974e-05/0.1386, allocations: 25.7 kB / 0.5615 GB, free: 88 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.449e-05/0.1387, allocations: 96.19 kB / 0.5615 GB, free: 15.98 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.924e-05/0.1387, allocations: 35.67 kB / 0.5616 GB, free: 15.95 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.899e-05/0.1388, allocations: 29.72 kB / 0.5616 GB, free: 15.92 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.1389, allocations: 318.8 kB / 0.5619 GB, free: 15.6 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.267e-05/0.139, allocations: 23.98 kB / 0.5619 GB, free: 15.57 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.062e-05/0.1391, allocations: 46.5 kB / 0.562 GB, free: 15.52 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001161/0.1392, allocations: 53.7 kB / 0.562 GB, free: 15.46 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.1392, allocations: 0 / 0.562 GB, free: 15.46 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001933/0.1394, allocations: 105.6 kB / 0.5621 GB, free: 15.35 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.1394, allocations: 4 kB / 0.5621 GB, free: 15.35 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.1394, allocations: 0 / 0.5621 GB, free: 15.35 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.1394, allocations: 0 / 0.5621 GB, free: 15.35 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.685e-05/0.1395, allocations: 19.98 kB / 0.5622 GB, free: 15.33 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.1395, allocations: 0 / 0.5622 GB, free: 15.33 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.053e-05/0.1396, allocations: 3.938 kB / 0.5622 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-06/0.1396, allocations: 8 kB / 0.5622 GB, free: 15.32 MB / 430.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.0001105/0.1397, allocations: 133.9 kB / 0.5623 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.496e-05/0.1397, allocations: 7.953 kB / 0.5623 GB, free: 15.17 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.219e-05/0.1398, allocations: 16.66 kB / 0.5623 GB, free: 15.15 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.1398, allocations: 0 / 0.5623 GB, free: 15.15 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.1398, allocations: 0 / 0.5623 GB, free: 15.15 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.064e-05/0.1398, allocations: 11.92 kB / 0.5623 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004954/0.1403, allocations: 395.3 kB / 0.5627 GB, free: 14.7 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.1403, allocations: 0 / 0.5627 GB, free: 14.7 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.322e-05/0.1403, allocations: 12.03 kB / 0.5627 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.1403, allocations: 3.938 kB / 0.5627 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.1403, allocations: 8.375 kB / 0.5627 GB, free: 14.67 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.1403, allocations: 0 / 0.5627 GB, free: 14.67 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.1403, allocations: 4 kB / 0.5627 GB, free: 14.67 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002425/0.1406, allocations: 192.6 kB / 0.5629 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.971e-05/0.1407, allocations: 96.98 kB / 0.563 GB, free: 14.35 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.638e-05/0.1407, allocations: 7.938 kB / 0.563 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.513e-05/0.1408, allocations: 4 kB / 0.563 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.082e-05/0.1408, allocations: 7.984 kB / 0.563 GB, free: 14.33 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.621e-05/0.1408, allocations: 4 kB / 0.563 GB, free: 14.32 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001174/0.1409, allocations: 127.3 kB / 0.5631 GB, free: 14.2 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1409, allocations: 0 / 0.5631 GB, free: 14.2 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003051/0.1412, allocations: 47.86 kB / 0.5632 GB, free: 14.15 MB / 430.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.002785/0.144, allocations: 1.18 MB / 0.5643 GB, free: 13.15 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002868/0.1443, allocations: 63.95 kB / 0.5644 GB, free: 13.09 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.1443, allocations: 4 kB / 0.5644 GB, free: 13.08 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001133/0.1444, allocations: 23.92 kB / 0.5644 GB, free: 13.06 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005331/0.145, allocations: 34.58 kB / 0.5645 GB, free: 13.03 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0026/0.1476, allocations: 1.588 MB / 0.566 GB, free: 11.34 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000434/0.148, allocations: 0.7012 MB / 0.5667 GB, free: 10.62 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001106/0.1481, allocations: 20.88 kB / 0.5667 GB, free: 10.59 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.845e-05/0.1482, allocations: 31.42 kB / 0.5668 GB, free: 10.56 MB / 430.1 MB Notification: Performance of SimCode: time 4.2e-07/0.1482, allocations: 0 / 0.5668 GB, free: 10.56 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02661/0.1748, allocations: 4.055 MB / 0.5707 GB, free: 6.527 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.219/8.394, allocations: 6.75 kB / 0.5707 GB, free: 6.523 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test60_fmu --startTime=0 --stopTime=100 --stepSize=0.0198452 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test60.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.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.467743444722146]