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) 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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00118/0.00118, allocations: 106.8 kB / 17.33 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001557/0.001557, allocations: 205.8 kB / 18.26 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.42/1.42, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2822/0.2822, allocations: 46.11 MB / 343.8 MB, free: 11.76 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00167/0.001671, allocations: 76.38 kB / 417.2 MB, free: 19.97 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1412/0.1429, allocations: 62.44 MB / 479.6 MB, free: 5.512 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.005124/0.1481, allocations: 1.746 MB / 481.3 MB, free: 3.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001839/0.15, allocations: 0.99 MB / 482.3 MB, free: 2.754 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000112/0.1502, allocations: 0 / 482.3 MB, free: 2.754 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003972/0.1506, allocations: 47.89 kB / 482.4 MB, free: 2.707 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004964/0.1511, allocations: 95.66 kB / 482.5 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002862/0.1514, allocations: 55.89 kB / 482.5 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002678/0.1517, allocations: 95.7 kB / 482.6 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.535e-05/0.1518, allocations: 24.19 kB / 482.6 MB, free: 2.441 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001341/0.1519, allocations: 43.73 kB / 482.7 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001305/0.1521, allocations: 27.86 kB / 482.7 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.367e-05/0.1521, allocations: 4 kB / 482.7 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001535/0.1523, allocations: 31.97 kB / 482.8 MB, free: 2.336 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.529e-05/0.1524, allocations: 35.86 kB / 482.8 MB, free: 2.301 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.363e-05/0.1525, allocations: 39.67 kB / 482.8 MB, free: 2.262 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000291/0.1528, allocations: 127.8 kB / 483 MB, free: 2.137 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.1528, allocations: 0 / 483 MB, free: 2.137 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.845e-06/0.1528, allocations: 0 / 483 MB, free: 2.137 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.723e-05/0.1528, allocations: 4 kB / 483 MB, free: 2.133 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006681/0.1535, allocations: 434.7 kB / 483.4 MB, free: 1.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.085e-05/0.1535, allocations: 12.03 kB / 483.4 MB, free: 1.648 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.413e-05/0.1536, allocations: 38.73 kB / 483.4 MB, free: 1.602 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.503e-05/0.1537, allocations: 8.844 kB / 483.4 MB, free: 1.594 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002655/0.1539, allocations: 220.9 kB / 483.7 MB, free: 1.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.1539, allocations: 384 / 483.7 MB, free: 1.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.285e-05/0.154, allocations: 7.938 kB / 483.7 MB, free: 1.332 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001542/0.1541, allocations: 53.62 kB / 483.7 MB, free: 1.273 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.1541, allocations: 3.984 kB / 483.7 MB, free: 1.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.298e-06/0.1542, allocations: 0 / 483.7 MB, free: 1.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.1542, allocations: 0 / 483.7 MB, free: 1.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.986e-05/0.1542, allocations: 12 kB / 483.7 MB, free: 1.258 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002299/0.1545, allocations: 193.7 kB / 483.9 MB, free: 1.02 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001704/0.1547, allocations: 58.55 kB / 484 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.967e-05/0.1548, allocations: 20.86 kB / 484 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.403e-05/0.1548, allocations: 3.938 kB / 484 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002552/0.155, allocations: 67.33 kB / 484.1 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.493e-06/0.1551, allocations: 0 / 484.1 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003198/0.1554, allocations: 101.5 kB / 484.2 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.385e-05/0.1554, allocations: 55.41 kB / 484.2 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002737/0.1557, allocations: 267 kB / 484.5 MB, free: 412 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.283e-05/0.1558, allocations: 29.7 kB / 484.5 MB, free: 376 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.731e-05/0.1558, allocations: 120 kB / 484.6 MB, free: 252 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.881e-05/0.1559, allocations: 7.906 kB / 484.6 MB, free: 244 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.841e-05/0.1559, allocations: 21.7 kB / 484.7 MB, free: 216 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001642/0.1561, allocations: 326.8 kB / 485 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.521e-05/0.1562, allocations: 12 kB / 485 MB, free: 15.87 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.884e-05/0.1562, allocations: 37.67 kB / 485 MB, free: 15.83 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001014/0.1564, allocations: 45.7 kB / 485.1 MB, free: 15.78 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.1564, allocations: 3.938 kB / 485.1 MB, free: 15.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000181/0.1566, allocations: 89.44 kB / 485.2 MB, free: 15.68 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.1566, allocations: 6.5 kB / 485.2 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.1566, allocations: 0 / 485.2 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.1566, allocations: 4 kB / 485.2 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.584e-05/0.1567, allocations: 16.02 kB / 485.2 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.1567, allocations: 0 / 485.2 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.67e-05/0.1568, allocations: 11.84 kB / 485.2 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.1568, allocations: 0 / 485.2 MB, free: 15.64 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 (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.0001313/0.1569, allocations: 144.2 kB / 485.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.998e-05/0.157, allocations: 11.91 kB / 485.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.326e-05/0.157, allocations: 16.98 kB / 485.4 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.157, allocations: 7.984 kB / 485.4 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.157, allocations: 0 / 485.4 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.1571, allocations: 4.312 kB / 485.4 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002058/0.1573, allocations: 201.5 kB / 485.6 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.1573, allocations: 4 kB / 485.6 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.27e-05/0.1573, allocations: 4 kB / 485.6 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.1573, allocations: 0 / 485.6 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/0.1573, allocations: 7.984 kB / 485.6 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.1573, allocations: 0 / 485.6 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.1573, allocations: 0 / 485.6 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001948/0.1575, allocations: 116.8 kB / 485.7 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.113e-05/0.1576, allocations: 88.95 kB / 485.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.666e-05/0.1576, allocations: 8 kB / 485.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.708e-05/0.1577, allocations: 0 / 485.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.237e-05/0.1577, allocations: 7.984 kB / 485.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.361e-05/0.1577, allocations: 0 / 485.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001928/0.1579, allocations: 204.4 kB / 486 MB, free: 14.75 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.158, allocations: 0 / 486 MB, free: 14.75 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002217/0.1582, allocations: 19.98 kB / 486 MB, free: 14.73 MB / 366.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.001415/0.1596, allocations: 0.9407 MB / 487 MB, free: 13.89 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001785/0.1598, allocations: 43.92 kB / 487 MB, free: 13.85 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.1598, allocations: 0 / 487 MB, free: 13.85 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.058e-05/0.1599, allocations: 16 kB / 487 MB, free: 13.83 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002973/0.1602, allocations: 35.66 kB / 487.1 MB, free: 13.8 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001815/0.162, allocations: 1.694 MB / 488.8 MB, free: 12.02 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002584/0.1623, allocations: 0.7166 MB / 489.5 MB, free: 11.27 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.805e-05/0.1623, allocations: 12.55 kB / 489.5 MB, free: 11.26 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.794e-05/0.1624, allocations: 39.42 kB / 489.5 MB, free: 11.22 MB / 366.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1624, allocations: 0 / 489.5 MB, free: 11.22 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01522/0.1776, allocations: 3.313 MB / 492.8 MB, free: 8.012 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002055/0.1779, allocations: 236.8 kB / 493.1 MB, free: 7.758 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.94/2.118, allocations: 0 / 493.1 MB, free: 7.758 MB / 366.1 MB (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 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test61.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches