Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.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.Test54,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test54",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test54,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test54",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001271/0.001271, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001454/0.001453, allocations: 210.4 kB / 18.58 MB, free: 4.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.428/1.428, allocations: 227.4 MB / 246.8 MB, free: 10.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2503/0.2503, allocations: 46.11 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001425, allocations: 76.28 kB / 417.7 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1409/0.1424, allocations: 62.45 MB / 480.1 MB, free: 5.172 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.004421/0.1469, allocations: 1.724 MB / 481.9 MB, free: 3.434 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002345/0.1492, allocations: 1.025 MB / 482.9 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001201/0.1494, allocations: 0 / 482.9 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00033/0.1497, allocations: 43.78 kB / 482.9 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003968/0.1502, allocations: 103.6 kB / 483 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002704/0.1504, allocations: 75.67 kB / 483.1 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002317/0.1507, allocations: 103.7 kB / 483.2 MB, free: 2.082 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001499/0.1508, allocations: 15.98 kB / 483.2 MB, free: 2.066 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001651/0.151, allocations: 43.78 kB / 483.3 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001352/0.1512, allocations: 43.72 kB / 483.3 MB, free: 1.98 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.978e-05/0.1512, allocations: 4 kB / 483.3 MB, free: 1.977 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001664/0.1514, allocations: 40 kB / 483.4 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.5e-05/0.1515, allocations: 27.89 kB / 483.4 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.847e-05/0.1516, allocations: 35.69 kB / 483.4 MB, free: 1.875 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002958/0.1519, allocations: 119.9 kB / 483.5 MB, free: 1.758 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.024e-06/0.1519, allocations: 3.984 kB / 483.5 MB, free: 1.754 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1519, allocations: 0 / 483.5 MB, free: 1.754 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.324e-06/0.1519, allocations: 0 / 483.5 MB, free: 1.754 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006968/0.1526, allocations: 438.7 kB / 484 MB, free: 1.277 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.1527, allocations: 8.031 kB / 484 MB, free: 1.27 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.626e-05/0.1527, allocations: 34.75 kB / 484 MB, free: 1.227 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.14e-05/0.1528, allocations: 16.84 kB / 484 MB, free: 1.211 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002611/0.1531, allocations: 217.6 kB / 484.2 MB, free: 0.957 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.541e-05/0.1531, allocations: 4.375 kB / 484.2 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.388e-05/0.1531, allocations: 7.938 kB / 484.3 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001582/0.1533, allocations: 49.67 kB / 484.3 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.1533, allocations: 4 kB / 484.3 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.866e-05/0.1533, allocations: 8 kB / 484.3 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.1533, allocations: 0 / 484.3 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.833e-05/0.1534, allocations: 19.92 kB / 484.3 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003948/0.1538, allocations: 300.7 kB / 484.6 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001776/0.154, allocations: 54.69 kB / 484.7 MB, free: 464 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.226e-05/0.1541, allocations: 24.84 kB / 484.7 MB, free: 436 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.239e-05/0.1541, allocations: 0 / 484.7 MB, free: 436 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002574/0.1544, allocations: 67.33 kB / 484.8 MB, free: 356 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 2.324e-06/0.1544, allocations: 3.938 kB / 484.8 MB, free: 352 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006759/0.1551, allocations: 181.1 kB / 485 MB, free: 164 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.217e-05/0.1552, allocations: 55.41 kB / 485 MB, free: 96 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002795/0.1554, allocations: 242.1 kB / 485.2 MB, free: 15.85 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.366e-05/0.1555, allocations: 29.7 kB / 485.3 MB, free: 15.81 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.549e-05/0.1556, allocations: 104.1 kB / 485.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.392e-05/0.1556, allocations: 27.64 kB / 485.4 MB, free: 15.68 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.89e-05/0.1557, allocations: 21.72 kB / 485.4 MB, free: 15.65 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001658/0.1559, allocations: 326.8 kB / 485.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.023e-05/0.1559, allocations: 23.98 kB / 485.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.558e-05/0.156, allocations: 37.7 kB / 485.8 MB, free: 15.26 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001319/0.1562, allocations: 65.58 kB / 485.9 MB, free: 15.19 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1562, allocations: 0 / 485.9 MB, free: 15.19 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001981/0.1564, allocations: 97.5 kB / 486 MB, free: 15.09 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.287e-05/0.1564, allocations: 11.94 kB / 486 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.1564, allocations: 0 / 486 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.1564, allocations: 32 / 486 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.958e-05/0.1565, allocations: 19.98 kB / 486 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.948e-06/0.1566, allocations: 4 kB / 486 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.418e-05/0.1566, allocations: 4.312 kB / 486 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.929e-06/0.1566, allocations: 4 kB / 486 MB, free: 15.04 MB / 366.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.0001322/0.1568, allocations: 129.8 kB / 486.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.108e-05/0.1568, allocations: 11.91 kB / 486.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.897e-05/0.1569, allocations: 21.55 kB / 486.2 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.1569, allocations: 0 / 486.2 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.994e-06/0.1569, allocations: 8 kB / 486.2 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.1569, allocations: 3.938 kB / 486.2 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000519/0.1574, allocations: 407.2 kB / 486.6 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.1575, allocations: 0 / 486.6 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.751e-05/0.1575, allocations: 11.94 kB / 486.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.598e-06/0.1575, allocations: 11.92 kB / 486.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.1575, allocations: 0 / 486.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.1575, allocations: 0 / 486.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.1576, allocations: 4.031 kB / 486.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000283/0.1578, allocations: 208.3 kB / 486.8 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.478e-05/0.1579, allocations: 88.92 kB / 486.9 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.936e-05/0.158, allocations: 4.125 kB / 486.9 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.127e-05/0.158, allocations: 4 kB / 486.9 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.395e-05/0.1581, allocations: 11.92 kB / 486.9 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.646e-05/0.1581, allocations: 8 kB / 486.9 MB, free: 14.02 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001799/0.1583, allocations: 184.3 kB / 487.1 MB, free: 13.84 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1583, allocations: 0 / 487.1 MB, free: 13.84 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002795/0.1586, allocations: 20 kB / 487.1 MB, free: 13.82 MB / 366.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.001623/0.1602, allocations: 1.087 MB / 488.2 MB, free: 12.87 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001895/0.1604, allocations: 67.89 kB / 488.3 MB, free: 12.8 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1604, allocations: 0 / 488.3 MB, free: 12.8 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.215e-05/0.1605, allocations: 31.98 kB / 488.3 MB, free: 12.77 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003554/0.1609, allocations: 31.92 kB / 488.3 MB, free: 12.74 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00192/0.1628, allocations: 1.732 MB / 490.1 MB, free: 10.93 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003409/0.1632, allocations: 0.7117 MB / 490.8 MB, free: 10.19 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.587e-05/0.1632, allocations: 24.88 kB / 490.8 MB, free: 10.16 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.072e-05/0.1633, allocations: 39.42 kB / 490.8 MB, free: 10.12 MB / 366.1 MB Notification: Performance of SimCode: time 3.8e-07/0.1633, allocations: 0 / 490.8 MB, free: 10.12 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02194/0.1853, allocations: 3.526 MB / 494.4 MB, free: 6.672 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.298/7.484, allocations: 15.72 kB / 494.4 MB, free: 6.656 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test54_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test54.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test54/Test54.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches