Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.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.Test79,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test79",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test79,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test79",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001562/0.001562, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002119/0.002119, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.403/1.403, allocations: 227.4 MB / 246.8 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2439/0.2439, allocations: 46.09 MB / 344.1 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002043/0.002044, allocations: 71.42 kB / 417.7 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1329/0.135, allocations: 62.44 MB / 480.1 MB, free: 5.188 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.003876/0.1389, allocations: 1.929 MB / 482.1 MB, free: 3.246 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002315/0.1413, allocations: 1.126 MB / 483.2 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002252/0.1415, allocations: 3.938 kB / 483.2 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006098/0.1422, allocations: 219.4 kB / 483.4 MB, free: 1.895 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009465/0.1432, allocations: 215.2 kB / 483.6 MB, free: 1.684 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005705/0.1438, allocations: 123.6 kB / 483.7 MB, free: 1.562 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006436/0.1444, allocations: 251.3 kB / 484 MB, free: 1.316 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000214/0.1447, allocations: 29.66 kB / 484 MB, free: 1.289 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003348/0.145, allocations: 123.5 kB / 484.1 MB, free: 1.168 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003516/0.1454, allocations: 151.5 kB / 484.3 MB, free: 1.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.584e-05/0.1455, allocations: 12 kB / 484.3 MB, free: 1.008 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002542/0.1457, allocations: 71.91 kB / 484.4 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001245/0.1459, allocations: 55.77 kB / 484.4 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001285/0.146, allocations: 87.34 kB / 484.5 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005268/0.1465, allocations: 239.4 kB / 484.7 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.1466, allocations: 0 / 484.7 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1466, allocations: 3.938 kB / 484.7 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.736e-05/0.1466, allocations: 0 / 484.7 MB, free: 0.5586 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.001231/0.1478, allocations: 0.5643 MB / 485.3 MB, free: 15.94 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.176e-05/0.1479, allocations: 16.03 kB / 485.3 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.404e-05/0.148, allocations: 38.73 kB / 485.4 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.832e-05/0.1481, allocations: 28.66 kB / 485.4 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004009/0.1485, allocations: 284 kB / 485.7 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.141e-05/0.1485, allocations: 4.375 kB / 485.7 MB, free: 15.53 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.461e-05/0.1485, allocations: 11.94 kB / 485.7 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002756/0.1488, allocations: 111.3 kB / 485.8 MB, free: 15.4 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.693e-05/0.1489, allocations: 0 / 485.8 MB, free: 15.4 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.527e-05/0.1489, allocations: 8 kB / 485.8 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.1489, allocations: 0 / 485.8 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001682/0.1491, allocations: 55.88 kB / 485.9 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007777/0.1498, allocations: 468.8 kB / 486.3 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004327/0.1503, allocations: 125.2 kB / 486.4 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001076/0.1504, allocations: 49.77 kB / 486.5 MB, free: 14.63 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.742e-05/0.1505, allocations: 4.156 kB / 486.5 MB, free: 14.62 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003448/0.1508, allocations: 128.9 kB / 486.6 MB, free: 14.48 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.853e-06/0.1508, allocations: 0 / 486.6 MB, free: 14.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001512/0.1523, allocations: 0.4921 MB / 487.1 MB, free: 13.98 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.724e-05/0.1524, allocations: 81.11 kB / 487.2 MB, free: 13.88 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005113/0.1529, allocations: 456.4 kB / 487.6 MB, free: 13.42 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.659e-05/0.153, allocations: 29.7 kB / 487.7 MB, free: 13.39 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001213/0.1531, allocations: 160.5 kB / 487.8 MB, free: 13.23 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.554e-05/0.1532, allocations: 67.09 kB / 487.9 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.456e-05/0.1533, allocations: 37.72 kB / 487.9 MB, free: 13.12 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.1535, allocations: 346.8 kB / 488.3 MB, free: 12.77 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001283/0.1536, allocations: 63.91 kB / 488.3 MB, free: 12.71 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001432/0.1537, allocations: 91.41 kB / 488.4 MB, free: 12.61 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000258/0.154, allocations: 163.4 kB / 488.6 MB, free: 12.43 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.154, allocations: 0 / 488.6 MB, free: 12.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004066/0.1544, allocations: 233.1 kB / 488.8 MB, free: 12.2 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.1545, allocations: 8.062 kB / 488.8 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.1545, allocations: 0 / 488.8 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.1545, allocations: 7.984 kB / 488.8 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001471/0.1546, allocations: 43.91 kB / 488.9 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.134e-05/0.1547, allocations: 4 kB / 488.9 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.107e-05/0.1548, allocations: 8 kB / 488.9 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.572e-05/0.1548, allocations: 8 kB / 488.9 MB, free: 12.12 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.0001775/0.155, allocations: 165.8 kB / 489 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.947e-05/0.155, allocations: 39.47 kB / 489.1 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.798e-05/0.1551, allocations: 46.8 kB / 489.1 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-06/0.1552, allocations: 4 kB / 489.1 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.1552, allocations: 0 / 489.1 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.1552, allocations: 0 / 489.1 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001037/0.1562, allocations: 0.739 MB / 489.9 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.1562, allocations: 96 / 489.9 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.697e-05/0.1563, allocations: 35.92 kB / 489.9 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.234e-06/0.1564, allocations: 4 kB / 489.9 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.852e-05/0.1564, allocations: 4 kB / 489.9 MB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.109e-06/0.1564, allocations: 3.938 kB / 489.9 MB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.037e-05/0.1564, allocations: 11.94 kB / 489.9 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005749/0.157, allocations: 416.9 kB / 490.3 MB, free: 10.56 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001014/0.1571, allocations: 104.7 kB / 490.4 MB, free: 10.44 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.682e-05/0.1572, allocations: 11.92 kB / 490.4 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001795/0.1573, allocations: 16 kB / 490.5 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.379e-05/0.1574, allocations: 23.91 kB / 490.5 MB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.762e-05/0.1574, allocations: 8 kB / 490.5 MB, free: 10.38 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004182/0.1579, allocations: 339 kB / 490.8 MB, free: 10.05 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.1579, allocations: 0 / 490.8 MB, free: 10.05 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003751/0.1583, allocations: 44 kB / 490.9 MB, free: 10.01 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.002256/0.1605, allocations: 1.356 MB / 492.2 MB, free: 8.805 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004249/0.161, allocations: 175.7 kB / 492.4 MB, free: 8.633 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 8.045e-06/0.161, allocations: 4 kB / 492.4 MB, free: 8.629 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001802/0.1612, allocations: 79.78 kB / 492.5 MB, free: 8.551 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007057/0.1619, allocations: 66.73 kB / 492.5 MB, free: 8.496 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003949/0.1658, allocations: 2.889 MB / 495.4 MB, free: 5.473 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004315/0.1663, allocations: 0.7753 MB / 496.2 MB, free: 4.672 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001556/0.1665, allocations: 41.92 kB / 496.2 MB, free: 4.629 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001577/0.1666, allocations: 103.3 kB / 496.3 MB, free: 4.527 MB / 366.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1666, allocations: 0 / 496.3 MB, free: 4.527 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02495/0.1916, allocations: 6.316 MB / 0.4909 GB, free: 14.3 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.485/7.676, allocations: 7.938 kB / 0.4909 GB, free: 14.29 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79_res.csv --start-time 7.99 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004804 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test79.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches