Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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.Test74,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test74",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test74,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test74",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001529/0.001529, allocations: 104.8 kB / 17.2 MB, free: 6.293 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001955/0.001955, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.656/1.656, allocations: 227.4 MB / 246.3 MB, free: 9.059 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2249/0.2249, allocations: 46.11 MB / 343.6 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001585/0.001585, allocations: 77.25 kB / 416.9 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1259, allocations: 62.46 MB / 479.4 MB, free: 5.617 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.004523/0.1305, allocations: 1.972 MB / 481.4 MB, free: 3.629 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002023/0.1325, allocations: 1.115 MB / 482.5 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001761/0.1327, allocations: 4 kB / 482.5 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000564/0.1333, allocations: 251.4 kB / 482.7 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005154/0.1339, allocations: 207.4 kB / 482.9 MB, free: 2.055 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003055/0.1342, allocations: 99.78 kB / 483 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003502/0.1346, allocations: 255.3 kB / 483.3 MB, free: 1.707 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.1347, allocations: 37.58 kB / 483.3 MB, free: 1.672 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002063/0.1349, allocations: 127.5 kB / 483.4 MB, free: 1.547 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002425/0.1351, allocations: 183.4 kB / 483.6 MB, free: 1.367 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.804e-05/0.1352, allocations: 4 kB / 483.6 MB, free: 1.363 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001494/0.1353, allocations: 59.97 kB / 483.7 MB, free: 1.305 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.709e-05/0.1354, allocations: 63.7 kB / 483.8 MB, free: 1.242 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.682e-05/0.1355, allocations: 103.2 kB / 483.9 MB, free: 1.141 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000303/0.1359, allocations: 239.4 kB / 484.1 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.1359, allocations: 0 / 484.1 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.1359, allocations: 0 / 484.1 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.1359, allocations: 0 / 484.1 MB, free: 0.9062 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007851/0.1367, allocations: 0.5835 MB / 484.7 MB, free: 280 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.1367, allocations: 8.875 kB / 484.7 MB, free: 272 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.379e-05/0.1368, allocations: 42.73 kB / 484.7 MB, free: 220 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.135e-05/0.1369, allocations: 28.56 kB / 484.7 MB, free: 192 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003502/0.1372, allocations: 294.4 kB / 485 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.789e-05/0.1372, allocations: 8.375 kB / 485 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.99e-05/0.1373, allocations: 15.94 kB / 485.1 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002547/0.1375, allocations: 111.3 kB / 485.2 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.1376, allocations: 3.906 kB / 485.2 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.1376, allocations: 0 / 485.2 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.1376, allocations: 4 kB / 485.2 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001368/0.1377, allocations: 47.95 kB / 485.2 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005763/0.1383, allocations: 488.7 kB / 485.7 MB, free: 15.13 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003979/0.1387, allocations: 125.2 kB / 485.8 MB, free: 14.99 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001071/0.1389, allocations: 45.81 kB / 485.9 MB, free: 14.94 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.636e-05/0.1389, allocations: 4 kB / 485.9 MB, free: 14.93 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000295/0.1392, allocations: 117.1 kB / 486 MB, free: 14.8 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.793e-06/0.1392, allocations: 4 kB / 486 MB, free: 14.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001363/0.1406, allocations: 0.5075 MB / 486.5 MB, free: 14.28 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.825e-05/0.1407, allocations: 85.09 kB / 486.6 MB, free: 14.18 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004854/0.1411, allocations: 497.6 kB / 487.1 MB, free: 13.68 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.371e-05/0.1412, allocations: 33.7 kB / 487.1 MB, free: 13.64 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001094/0.1413, allocations: 164.5 kB / 487.3 MB, free: 13.48 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.507e-05/0.1414, allocations: 82.98 kB / 487.3 MB, free: 13.4 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.567e-05/0.1415, allocations: 41.7 kB / 487.4 MB, free: 13.35 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000133/0.1416, allocations: 342.8 kB / 487.7 MB, free: 13.01 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001316/0.1417, allocations: 59.97 kB / 487.8 MB, free: 12.95 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001595/0.1419, allocations: 91.38 kB / 487.9 MB, free: 12.85 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002872/0.1422, allocations: 163.5 kB / 488 MB, free: 12.68 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.1422, allocations: 0 / 488 MB, free: 12.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004216/0.1426, allocations: 240.9 kB / 488.3 MB, free: 12.43 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.1427, allocations: 11.92 kB / 488.3 MB, free: 12.42 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.1427, allocations: 4 kB / 488.3 MB, free: 12.42 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.1427, allocations: 0 / 488.3 MB, free: 12.42 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001448/0.1429, allocations: 51.98 kB / 488.3 MB, free: 12.37 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.1429, allocations: 0 / 488.3 MB, free: 12.37 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.033e-05/0.143, allocations: 12 kB / 488.3 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.905e-05/0.143, allocations: 11.98 kB / 488.3 MB, free: 12.34 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001776/0.1432, allocations: 178.3 kB / 488.5 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.209e-05/0.1432, allocations: 35.56 kB / 488.6 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.118e-05/0.1433, allocations: 42.89 kB / 488.6 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.1433, allocations: 0 / 488.6 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.1433, allocations: 0 / 488.6 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.1434, allocations: 11.98 kB / 488.6 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009444/0.1443, allocations: 0.7311 MB / 489.3 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.1443, allocations: 128 / 489.3 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.493e-05/0.1444, allocations: 35.92 kB / 489.4 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.009e-06/0.1444, allocations: 4 kB / 489.4 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.69e-05/0.1444, allocations: 8 kB / 489.4 MB, free: 11.22 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.1e-06/0.1445, allocations: 4.938 kB / 489.4 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.1445, allocations: 3.938 kB / 489.4 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004855/0.145, allocations: 425.6 kB / 489.8 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.698e-05/0.145, allocations: 100.7 kB / 489.9 MB, free: 10.65 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.936e-05/0.1451, allocations: 11.98 kB / 489.9 MB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001568/0.1452, allocations: 11.94 kB / 489.9 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.355e-05/0.1453, allocations: 23.84 kB / 490 MB, free: 10.6 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.089e-05/0.1453, allocations: 20 kB / 490 MB, free: 10.58 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003668/0.1457, allocations: 367.3 kB / 490.3 MB, free: 10.23 MB / 366.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1457, allocations: 0 / 490.3 MB, free: 10.23 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000376/0.1461, allocations: 55.92 kB / 490.4 MB, free: 10.17 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.00184/0.148, allocations: 1.359 MB / 491.7 MB, free: 8.961 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003622/0.1483, allocations: 163.7 kB / 491.9 MB, free: 8.801 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.1484, allocations: 4.125 kB / 491.9 MB, free: 8.797 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001581/0.1485, allocations: 83.84 kB / 492 MB, free: 8.715 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005565/0.1491, allocations: 54.33 kB / 492 MB, free: 8.664 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003719/0.1528, allocations: 3.074 MB / 495.1 MB, free: 5.461 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004035/0.1532, allocations: 0.7905 MB / 495.9 MB, free: 4.648 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001406/0.1534, allocations: 45.91 kB / 496 MB, free: 4.605 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001771/0.1536, allocations: 103.4 kB / 496.1 MB, free: 4.504 MB / 366.1 MB Notification: Performance of SimCode: time 6.21e-07/0.1536, allocations: 0 / 496.1 MB, free: 4.504 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01762/0.1712, allocations: 6.27 MB / 0.4906 GB, free: 14.34 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002953/0.1716, allocations: 244.1 kB / 0.4908 GB, free: 14.07 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.902/2.073, allocations: 0 / 0.4908 GB, free: 14.07 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test74_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test74.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches