Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.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.001607/0.001607, allocations: 121.9 kB / 18.51 MB, free: 4.539 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.001843/0.001843, allocations: 215.2 kB / 21.46 MB, free: 1.586 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.546/1.546, allocations: 230.2 MB / 254.5 MB, free: 15.26 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.2321/0.2321, allocations: 46.9 MB / 357.4 MB, free: 10.48 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.Test64,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test64",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test64,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test64",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002149/0.002149, allocations: 79.88 kB / 0.4913 GB, free: 8.254 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1349, allocations: 65.99 MB / 0.5558 GB, free: 6.133 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.00321/0.1381, allocations: 1.698 MB / 0.5574 GB, free: 4.418 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001742/0.1399, allocations: 1.018 MB / 0.5584 GB, free: 3.395 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.589e-05/0.14, allocations: 0 / 0.5584 GB, free: 3.395 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003084/0.1403, allocations: 59.69 kB / 0.5585 GB, free: 3.336 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003068/0.1406, allocations: 103.5 kB / 0.5586 GB, free: 3.234 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001747/0.1407, allocations: 71.72 kB / 0.5586 GB, free: 3.164 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002109/0.141, allocations: 99.7 kB / 0.5587 GB, free: 3.066 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.466e-05/0.141, allocations: 4.234 kB / 0.5587 GB, free: 3.062 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001005/0.1411, allocations: 43.78 kB / 0.5588 GB, free: 3.02 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.455e-05/0.1412, allocations: 31.78 kB / 0.5588 GB, free: 2.988 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.491e-05/0.1412, allocations: 4 kB / 0.5588 GB, free: 2.984 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.952e-05/0.1413, allocations: 31.98 kB / 0.5588 GB, free: 2.953 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.595e-05/0.1414, allocations: 23.92 kB / 0.5589 GB, free: 2.93 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.906e-05/0.1414, allocations: 43.66 kB / 0.5589 GB, free: 2.887 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002118/0.1416, allocations: 123.4 kB / 0.559 GB, free: 2.766 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.1416, allocations: 4 kB / 0.559 GB, free: 2.762 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1416, allocations: 4 kB / 0.559 GB, free: 2.758 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.1416, allocations: 0 / 0.559 GB, free: 2.758 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.0005898/0.1422, allocations: 446.5 kB / 0.5595 GB, free: 2.273 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.1423, allocations: 8.031 kB / 0.5595 GB, free: 2.266 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.192e-05/0.1423, allocations: 30.75 kB / 0.5595 GB, free: 2.227 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.171e-05/0.1424, allocations: 16.88 kB / 0.5595 GB, free: 2.211 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003039/0.1427, allocations: 221 kB / 0.5597 GB, free: 1.953 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.1427, allocations: 4.375 kB / 0.5597 GB, free: 1.949 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.578e-06/0.1427, allocations: 4.375 kB / 0.5597 GB, free: 1.945 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001372/0.1428, allocations: 57.73 kB / 0.5598 GB, free: 1.883 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.1428, allocations: 7.984 kB / 0.5598 GB, free: 1.875 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.905e-06/0.1428, allocations: 0 / 0.5598 GB, free: 1.875 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.1428, allocations: 0 / 0.5598 GB, free: 1.875 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.24e-05/0.1429, allocations: 12 kB / 0.5598 GB, free: 1.863 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002212/0.1431, allocations: 193.7 kB / 0.56 GB, free: 1.625 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001628/0.1433, allocations: 50.61 kB / 0.56 GB, free: 1.566 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.094e-05/0.1433, allocations: 16.86 kB / 0.5601 GB, free: 1.547 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.1434, allocations: 0 / 0.5601 GB, free: 1.547 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001501/0.1435, allocations: 71.27 kB / 0.5601 GB, free: 1.465 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.372e-06/0.1435, allocations: 0 / 0.5601 GB, free: 1.465 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002924/0.1438, allocations: 101.5 kB / 0.5602 GB, free: 1.359 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.856e-05/0.1438, allocations: 59.41 kB / 0.5603 GB, free: 1.289 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002759/0.1441, allocations: 270.8 kB / 0.5605 GB, free: 1.012 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.1441, allocations: 29.7 kB / 0.5606 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.102e-05/0.1442, allocations: 116.1 kB / 0.5607 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.716e-05/0.1442, allocations: 7.906 kB / 0.5607 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.803e-05/0.1443, allocations: 25.7 kB / 0.5607 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001617/0.1444, allocations: 326.8 kB / 0.561 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.054e-05/0.1445, allocations: 12 kB / 0.561 GB, free: 492 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.769e-05/0.1446, allocations: 29.7 kB / 0.5611 GB, free: 456 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001009/0.1447, allocations: 45.95 kB / 0.5611 GB, free: 404 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1447, allocations: 0 / 0.5611 GB, free: 404 kB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002183/0.1449, allocations: 93.47 kB / 0.5612 GB, free: 304 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.1449, allocations: 7.938 kB / 0.5612 GB, free: 296 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.1449, allocations: 0 / 0.5612 GB, free: 296 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.1449, allocations: 4.031 kB / 0.5612 GB, free: 292 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.022e-05/0.145, allocations: 19.98 kB / 0.5612 GB, free: 272 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.219e-06/0.145, allocations: 0 / 0.5612 GB, free: 272 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.989e-05/0.145, allocations: 11.89 kB / 0.5612 GB, free: 260 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-06/0.145, allocations: 0 / 0.5612 GB, free: 260 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.0001251/0.1452, allocations: 137.8 kB / 0.5614 GB, free: 112 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.664e-05/0.1452, allocations: 19.84 kB / 0.5614 GB, free: 92 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.306e-05/0.1452, allocations: 16.98 kB / 0.5614 GB, free: 76 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.1452, allocations: 4 kB / 0.5614 GB, free: 72 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.1453, allocations: 4 kB / 0.5614 GB, free: 68 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.1453, allocations: 0 / 0.5614 GB, free: 68 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001961/0.1455, allocations: 189.6 kB / 0.5616 GB, free: 15.83 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.1455, allocations: 3.938 kB / 0.5616 GB, free: 15.83 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.264e-05/0.1455, allocations: 8 kB / 0.5616 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.1455, allocations: 0 / 0.5616 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.1455, allocations: 3.984 kB / 0.5616 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.1455, allocations: 4 kB / 0.5616 GB, free: 15.81 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1455, allocations: 0 / 0.5616 GB, free: 15.81 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002006/0.1457, allocations: 109 kB / 0.5617 GB, free: 15.69 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.298e-05/0.1458, allocations: 96.89 kB / 0.5618 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.362e-05/0.1458, allocations: 4 kB / 0.5618 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.547e-05/0.1458, allocations: 4 kB / 0.5618 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.694e-05/0.1458, allocations: 3.984 kB / 0.5618 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.292e-05/0.1459, allocations: 4 kB / 0.5618 GB, free: 15.56 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001914/0.146, allocations: 196.6 kB / 0.562 GB, free: 15.37 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.146, allocations: 4 kB / 0.562 GB, free: 15.36 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000215/0.1463, allocations: 16 kB / 0.562 GB, free: 15.35 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.00196/0.1482, allocations: 0.9704 MB / 0.563 GB, free: 14.5 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000166/0.1484, allocations: 47.92 kB / 0.563 GB, free: 14.45 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.1484, allocations: 0 / 0.563 GB, free: 14.45 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 5.569e-05/0.1484, allocations: 12.06 kB / 0.563 GB, free: 14.44 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002786/0.1487, allocations: 34.66 kB / 0.5631 GB, free: 14.41 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002007/0.1507, allocations: 1.678 MB / 0.5647 GB, free: 12.64 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003685/0.1511, allocations: 0.7119 MB / 0.5654 GB, free: 11.9 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.565e-05/0.1512, allocations: 24.47 kB / 0.5654 GB, free: 11.88 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.825e-05/0.1512, allocations: 43.42 kB / 0.5655 GB, free: 11.84 MB / 430.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1512, allocations: 0 / 0.5655 GB, free: 11.84 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02543/0.1767, allocations: 3.495 MB / 0.5689 GB, free: 8.395 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.101/8.278, allocations: 10.59 kB / 0.5689 GB, free: 8.387 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test64_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000499301 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test64.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.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.37703311117366]