Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.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.002001/0.002001, allocations: 120.4 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.002585/0.002585, allocations: 208.9 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.53/1.53, allocations: 230.2 MB / 254.5 MB, free: 15.27 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.2258/0.2258, allocations: 46.91 MB / 357.4 MB, free: 10.5 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.Test61,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test61",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test61,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test61",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00229/0.00229, allocations: 83.88 kB / 0.4913 GB, free: 8.449 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1301, allocations: 65.99 MB / 0.5558 GB, free: 6.324 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.003228/0.1333, allocations: 1.693 MB / 0.5574 GB, free: 4.613 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00169/0.135, allocations: 1.022 MB / 0.5584 GB, free: 3.586 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.205e-05/0.135, allocations: 4 kB / 0.5584 GB, free: 3.582 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002927/0.1353, allocations: 51.69 kB / 0.5585 GB, free: 3.531 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003067/0.1356, allocations: 103.6 kB / 0.5586 GB, free: 3.43 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001968/0.1358, allocations: 75.67 kB / 0.5586 GB, free: 3.355 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001709/0.136, allocations: 91.75 kB / 0.5587 GB, free: 3.266 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.866e-05/0.1361, allocations: 8.219 kB / 0.5587 GB, free: 3.258 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.188e-05/0.1362, allocations: 39.8 kB / 0.5588 GB, free: 3.219 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.76e-05/0.1362, allocations: 35.78 kB / 0.5588 GB, free: 3.184 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.911e-05/0.1363, allocations: 4 kB / 0.5588 GB, free: 3.18 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.814e-05/0.1364, allocations: 31.98 kB / 0.5588 GB, free: 3.148 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.281e-05/0.1364, allocations: 27.84 kB / 0.5589 GB, free: 3.121 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.317e-05/0.1365, allocations: 43.69 kB / 0.5589 GB, free: 3.078 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002114/0.1367, allocations: 123.4 kB / 0.559 GB, free: 2.957 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.1367, allocations: 0 / 0.559 GB, free: 2.957 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.604e-06/0.1367, allocations: 0 / 0.559 GB, free: 2.957 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.599e-06/0.1367, allocations: 0 / 0.559 GB, free: 2.957 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006332/0.1373, allocations: 442.5 kB / 0.5594 GB, free: 2.477 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.1374, allocations: 12.02 kB / 0.5595 GB, free: 2.465 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.295e-05/0.1374, allocations: 30.75 kB / 0.5595 GB, free: 2.426 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.7e-05/0.1375, allocations: 12.89 kB / 0.5595 GB, free: 2.414 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003346/0.1378, allocations: 236.9 kB / 0.5597 GB, free: 2.141 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.316e-06/0.1378, allocations: 384 / 0.5597 GB, free: 2.141 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.289e-05/0.1378, allocations: 384 / 0.5597 GB, free: 2.141 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000133/0.138, allocations: 53.8 kB / 0.5598 GB, free: 2.082 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.138, allocations: 0 / 0.5598 GB, free: 2.082 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.065e-06/0.138, allocations: 0 / 0.5598 GB, free: 2.082 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.537e-06/0.138, allocations: 0 / 0.5598 GB, free: 2.082 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.722e-05/0.138, allocations: 15.98 kB / 0.5598 GB, free: 2.066 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002133/0.1383, allocations: 189.7 kB / 0.56 GB, free: 1.832 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001677/0.1384, allocations: 62.48 kB / 0.56 GB, free: 1.762 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.276e-05/0.1385, allocations: 16.84 kB / 0.5601 GB, free: 1.742 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.09e-05/0.1385, allocations: 4 kB / 0.5601 GB, free: 1.738 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001535/0.1386, allocations: 67.33 kB / 0.5601 GB, free: 1.66 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 3.266e-06/0.1386, allocations: 7.984 kB / 0.5601 GB, free: 1.652 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002777/0.1389, allocations: 101.5 kB / 0.5602 GB, free: 1.547 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.154e-05/0.139, allocations: 51.41 kB / 0.5603 GB, free: 1.484 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002711/0.1392, allocations: 270.8 kB / 0.5605 GB, free: 1.207 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.873e-05/0.1393, allocations: 25.7 kB / 0.5606 GB, free: 1.176 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.542e-05/0.1393, allocations: 112.1 kB / 0.5607 GB, free: 1.062 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.418e-05/0.1394, allocations: 19.89 kB / 0.5607 GB, free: 1.043 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.902e-05/0.1394, allocations: 17.72 kB / 0.5607 GB, free: 1.02 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.1396, allocations: 326.8 kB / 0.561 GB, free: 0.6914 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.458e-05/0.1396, allocations: 20.22 kB / 0.561 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.757e-05/0.1397, allocations: 29.72 kB / 0.5611 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001133/0.1398, allocations: 49.64 kB / 0.5611 GB, free: 0.582 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.1398, allocations: 0 / 0.5611 GB, free: 0.582 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000165/0.1399, allocations: 89.56 kB / 0.5612 GB, free: 500 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.14, allocations: 11.92 kB / 0.5612 GB, free: 488 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.14, allocations: 0 / 0.5612 GB, free: 488 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.14, allocations: 4 kB / 0.5612 GB, free: 484 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.711e-05/0.1401, allocations: 11.94 kB / 0.5612 GB, free: 472 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.1401, allocations: 0 / 0.5612 GB, free: 472 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.784e-05/0.1401, allocations: 7.953 kB / 0.5612 GB, free: 464 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.71e-06/0.1401, allocations: 0 / 0.5612 GB, free: 464 kB / 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 (7): * Single equations (assignments): 7 * 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.0001177/0.1402, allocations: 137.8 kB / 0.5614 GB, free: 316 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.95e-05/0.1403, allocations: 27.83 kB / 0.5614 GB, free: 288 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.141e-05/0.1403, allocations: 17.16 kB / 0.5614 GB, free: 272 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.532e-06/0.1403, allocations: 0 / 0.5614 GB, free: 272 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.1403, allocations: 0 / 0.5614 GB, free: 272 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.1403, allocations: 0 / 0.5614 GB, free: 272 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001698/0.1405, allocations: 193.6 kB / 0.5616 GB, free: 28 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.927e-06/0.1405, allocations: 11.92 kB / 0.5616 GB, free: 16 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.795e-05/0.1405, allocations: 0 / 0.5616 GB, free: 16 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.1405, allocations: 4 kB / 0.5616 GB, free: 12 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.223e-06/0.1405, allocations: 0 / 0.5616 GB, free: 12 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.1405, allocations: 0 / 0.5616 GB, free: 12 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.1405, allocations: 7.984 kB / 0.5616 GB, free: 4 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002334/0.1408, allocations: 121 kB / 0.5617 GB, free: 15.87 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.171e-05/0.1408, allocations: 88.95 kB / 0.5618 GB, free: 15.76 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.34e-05/0.1408, allocations: 4 kB / 0.5618 GB, free: 15.76 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.56e-05/0.1409, allocations: 0 / 0.5618 GB, free: 15.76 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.612e-05/0.1409, allocations: 11.92 kB / 0.5618 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.343e-05/0.1409, allocations: 0 / 0.5618 GB, free: 15.75 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000194/0.1411, allocations: 208.6 kB / 0.562 GB, free: 15.54 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1411, allocations: 0 / 0.562 GB, free: 15.54 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002181/0.1413, allocations: 15.98 kB / 0.562 GB, free: 15.53 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.002036/0.1434, allocations: 0.9477 MB / 0.563 GB, free: 14.7 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001981/0.1436, allocations: 47.98 kB / 0.563 GB, free: 14.65 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1436, allocations: 0 / 0.563 GB, free: 14.65 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.236e-05/0.1436, allocations: 27.91 kB / 0.563 GB, free: 14.62 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003052/0.1439, allocations: 30.48 kB / 0.5631 GB, free: 14.6 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002385/0.1463, allocations: 1.678 MB / 0.5647 GB, free: 12.83 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004701/0.1468, allocations: 0.7158 MB / 0.5654 GB, free: 12.09 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.378e-05/0.1469, allocations: 16.53 kB / 0.5654 GB, free: 12.07 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.589e-05/0.147, allocations: 39.42 kB / 0.5655 GB, free: 12.03 MB / 430.1 MB Notification: Performance of SimCode: time 1.823e-06/0.147, allocations: 0 / 0.5655 GB, free: 12.03 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02648/0.1735, allocations: 3.509 MB / 0.5689 GB, free: 8.578 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.097/8.27, allocations: 3.938 kB / 0.5689 GB, free: 8.574 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test61_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498604 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test61.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.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.333414442371577]