Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.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.Test27,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test27,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test27",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001259/0.001259, allocations: 109.2 kB / 17.21 MB, free: 6.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00214/0.00214, allocations: 213.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.418/1.418, allocations: 227.4 MB / 246.3 MB, free: 10.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2322/0.2322, allocations: 46.12 MB / 343.6 MB, free: 11.74 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001574/0.001574, allocations: 80.69 kB / 416.9 MB, free: 20.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1371/0.1387, allocations: 62.45 MB / 479.4 MB, free: 5.637 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.003897/0.1427, allocations: 1.777 MB / 481.2 MB, free: 3.844 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00192/0.1446, allocations: 1.025 MB / 482.2 MB, free: 2.812 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001165/0.1447, allocations: 3.938 kB / 482.2 MB, free: 2.809 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003562/0.1451, allocations: 39.83 kB / 482.2 MB, free: 2.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003558/0.1455, allocations: 75.75 kB / 482.3 MB, free: 2.695 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002664/0.1458, allocations: 59.88 kB / 482.4 MB, free: 2.637 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001987/0.146, allocations: 91.7 kB / 482.5 MB, free: 2.547 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001188/0.1461, allocations: 23.97 kB / 482.5 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001053/0.1462, allocations: 35.8 kB / 482.5 MB, free: 2.488 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.782e-05/0.1463, allocations: 31.8 kB / 482.6 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.669e-05/0.1464, allocations: 0 / 482.6 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001372/0.1465, allocations: 51.91 kB / 482.6 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.19e-05/0.1466, allocations: 15.92 kB / 482.6 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.006e-05/0.1467, allocations: 39.73 kB / 482.7 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000241/0.1469, allocations: 111.9 kB / 482.8 MB, free: 2.242 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.1469, allocations: 3.938 kB / 482.8 MB, free: 2.238 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1469, allocations: 0 / 482.8 MB, free: 2.238 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.009e-06/0.147, allocations: 4 kB / 482.8 MB, free: 2.234 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.0006573/0.1476, allocations: 418.9 kB / 483.2 MB, free: 1.777 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/0.1477, allocations: 12.88 kB / 483.2 MB, free: 1.766 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.942e-05/0.1477, allocations: 30.75 kB / 483.2 MB, free: 1.727 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.108e-05/0.1478, allocations: 8.844 kB / 483.2 MB, free: 1.719 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002848/0.1481, allocations: 218.6 kB / 483.5 MB, free: 1.469 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.58e-05/0.1481, allocations: 4.375 kB / 483.5 MB, free: 1.465 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.026e-05/0.1481, allocations: 3.938 kB / 483.5 MB, free: 1.461 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001797/0.1483, allocations: 61.66 kB / 483.5 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.1483, allocations: 3.906 kB / 483.5 MB, free: 1.391 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/0.1484, allocations: 3.984 kB / 483.5 MB, free: 1.387 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.1484, allocations: 4 kB / 483.5 MB, free: 1.383 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.254e-05/0.1485, allocations: 15.98 kB / 483.6 MB, free: 1.367 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004408/0.1489, allocations: 292.8 kB / 483.8 MB, free: 1.031 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002039/0.1491, allocations: 54.69 kB / 483.9 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.702e-05/0.1492, allocations: 20.84 kB / 483.9 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.656e-05/0.1492, allocations: 0 / 483.9 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000237/0.1495, allocations: 71.33 kB / 484 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 2.054e-06/0.1495, allocations: 0 / 484 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006264/0.1501, allocations: 173.2 kB / 484.1 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.636e-05/0.1502, allocations: 59.34 kB / 484.2 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000213/0.1504, allocations: 198.7 kB / 484.4 MB, free: 424 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.041e-05/0.1504, allocations: 29.7 kB / 484.4 MB, free: 388 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.429e-05/0.1505, allocations: 100.1 kB / 484.5 MB, free: 284 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.286e-05/0.1505, allocations: 19.72 kB / 484.5 MB, free: 264 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.959e-05/0.1506, allocations: 25.7 kB / 484.6 MB, free: 232 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.1508, allocations: 326.8 kB / 484.9 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.554e-05/0.1508, allocations: 23.98 kB / 484.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.537e-05/0.1509, allocations: 29.72 kB / 484.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001348/0.151, allocations: 61.64 kB / 485 MB, free: 15.77 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.1511, allocations: 0 / 485 MB, free: 15.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001988/0.1513, allocations: 109.4 kB / 485.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.1513, allocations: 4 kB / 485.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.1513, allocations: 0 / 485.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.1513, allocations: 8.219 kB / 485.1 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.373e-05/0.1514, allocations: 20.31 kB / 485.1 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.1514, allocations: 3.938 kB / 485.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.508e-05/0.1515, allocations: 15.92 kB / 485.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.1515, allocations: 0 / 485.2 MB, free: 15.61 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.0001181/0.1516, allocations: 125.8 kB / 485.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.699e-05/0.1517, allocations: 7.906 kB / 485.3 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.186e-05/0.1517, allocations: 17.55 kB / 485.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.1517, allocations: 8 kB / 485.3 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.1517, allocations: 0 / 485.3 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.1518, allocations: 3.938 kB / 485.3 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000481/0.1522, allocations: 399.2 kB / 485.7 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.1523, allocations: 0 / 485.7 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.306e-05/0.1523, allocations: 8 kB / 485.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.1523, allocations: 3.938 kB / 485.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.1523, allocations: 0 / 485.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.1523, allocations: 8.031 kB / 485.7 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.491e-06/0.1523, allocations: 3.938 kB / 485.7 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002597/0.1526, allocations: 200.3 kB / 485.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.401e-05/0.1527, allocations: 92.91 kB / 486 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.792e-05/0.1527, allocations: 3.938 kB / 486 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.433e-05/0.1528, allocations: 8 kB / 486 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.029e-05/0.1528, allocations: 11.98 kB / 486 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.679e-05/0.1529, allocations: 0 / 486 MB, free: 14.62 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001338/0.153, allocations: 156.7 kB / 486.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.153, allocations: 0 / 486.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002797/0.1533, allocations: 24 kB / 486.2 MB, free: 14.44 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.001574/0.1549, allocations: 1.084 MB / 487.3 MB, free: 13.49 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001985/0.1551, allocations: 59.91 kB / 487.4 MB, free: 13.43 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.1551, allocations: 4.062 kB / 487.4 MB, free: 13.43 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.616e-05/0.1552, allocations: 27.98 kB / 487.4 MB, free: 13.4 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003544/0.1555, allocations: 29.69 kB / 487.4 MB, free: 13.38 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00184/0.1574, allocations: 1.671 MB / 489.1 MB, free: 11.61 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003062/0.1577, allocations: 0.7082 MB / 489.8 MB, free: 10.88 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.424e-05/0.1578, allocations: 20.89 kB / 489.8 MB, free: 10.86 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.738e-05/0.1579, allocations: 35.42 kB / 489.9 MB, free: 10.82 MB / 366.1 MB Notification: Performance of SimCode: time 3.9e-07/0.1579, allocations: 0 / 489.9 MB, free: 10.82 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01499/0.1729, allocations: 3.192 MB / 493 MB, free: 7.73 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002626/0.1732, allocations: 233.9 kB / 493.3 MB, free: 7.477 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.968/2.141, allocations: 0 / 493.3 MB, free: 7.477 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test27_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test27.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches