Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.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.Test47,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test47,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test47",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007869/0.0007869, allocations: 98.3 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008235/0.0008235, allocations: 202.2 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.407/1.407, allocations: 227.8 MB / 246.8 MB, free: 11.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.221/0.221, allocations: 46.18 MB / 345.2 MB, free: 11.4 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000272/0.000272, allocations: 12 kB / 419.6 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.145, allocations: 63.56 MB / 483.2 MB, free: 4.051 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.002314/0.1473, allocations: 1.45 MB / 484.6 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001709/0.1491, allocations: 0.9972 MB / 485.6 MB, free: 1.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001002/0.1492, allocations: 0 / 485.6 MB, free: 1.59 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003523/0.1496, allocations: 51.8 kB / 485.7 MB, free: 1.539 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003353/0.1499, allocations: 87.73 kB / 485.8 MB, free: 1.453 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002859/0.1502, allocations: 63.81 kB / 485.8 MB, free: 1.391 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002085/0.1504, allocations: 103.7 kB / 485.9 MB, free: 1.289 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.1505, allocations: 12 kB / 486 MB, free: 1.277 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001074/0.1507, allocations: 39.8 kB / 486 MB, free: 1.238 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.526e-05/0.1508, allocations: 43.7 kB / 486 MB, free: 1.195 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.388e-05/0.1508, allocations: 0 / 486 MB, free: 1.195 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000128/0.1509, allocations: 43.98 kB / 486.1 MB, free: 1.152 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.377e-05/0.151, allocations: 27.92 kB / 486.1 MB, free: 1.125 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.133e-05/0.1511, allocations: 65.38 kB / 486.2 MB, free: 1.055 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002271/0.1513, allocations: 139.7 kB / 486.3 MB, free: 0.918 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.1513, allocations: 0 / 486.3 MB, free: 0.918 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.1513, allocations: 0 / 486.3 MB, free: 0.918 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.1513, allocations: 0 / 486.3 MB, free: 0.918 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.0005969/0.1519, allocations: 422.8 kB / 486.7 MB, free: 468 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.983e-05/0.152, allocations: 8.875 kB / 486.7 MB, free: 460 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.349e-05/0.1521, allocations: 34.75 kB / 486.8 MB, free: 416 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.688e-05/0.1521, allocations: 20.75 kB / 486.8 MB, free: 396 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002708/0.1524, allocations: 220.9 kB / 487 MB, free: 132 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.735e-05/0.1524, allocations: 4.375 kB / 487 MB, free: 128 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.926e-05/0.1524, allocations: 3.938 kB / 487 MB, free: 124 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001533/0.1526, allocations: 57.67 kB / 487.1 MB, free: 60 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.1526, allocations: 0 / 487.1 MB, free: 60 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.849e-06/0.1526, allocations: 0 / 487.1 MB, free: 60 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.1526, allocations: 0 / 487.1 MB, free: 60 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.776e-05/0.1527, allocations: 23.92 kB / 487.1 MB, free: 36 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004449/0.1532, allocations: 300.8 kB / 487.4 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000166/0.1534, allocations: 58.67 kB / 487.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.262e-05/0.1534, allocations: 16.86 kB / 487.4 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.854e-05/0.1535, allocations: 4 kB / 487.5 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001724/0.1536, allocations: 75.27 kB / 487.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.653e-06/0.1536, allocations: 0 / 487.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005911/0.1542, allocations: 185.2 kB / 487.7 MB, free: 15.33 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.952e-05/0.1543, allocations: 51.41 kB / 487.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002656/0.1546, allocations: 278.9 kB / 488 MB, free: 14.98 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.007e-05/0.1546, allocations: 29.7 kB / 488.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.779e-05/0.1547, allocations: 116 kB / 488.2 MB, free: 14.83 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.553e-05/0.1547, allocations: 31.64 kB / 488.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.319e-05/0.1548, allocations: 13.7 kB / 488.2 MB, free: 14.78 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.1549, allocations: 326.8 kB / 488.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.672e-05/0.1549, allocations: 23.98 kB / 488.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.271e-05/0.155, allocations: 37.7 kB / 488.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001043/0.1551, allocations: 53.66 kB / 488.6 MB, free: 14.32 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.031e-06/0.1551, allocations: 4 kB / 488.7 MB, free: 14.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000196/0.1553, allocations: 109.4 kB / 488.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.1554, allocations: 4 kB / 488.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.1554, allocations: 0 / 488.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.1554, allocations: 4 kB / 488.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.144e-05/0.1555, allocations: 12 kB / 488.8 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.952e-06/0.1555, allocations: 0 / 488.8 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.575e-05/0.1556, allocations: 11.92 kB / 488.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.201e-05/0.1556, allocations: 4 kB / 488.8 MB, free: 14.17 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.0001206/0.1557, allocations: 137.9 kB / 488.9 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.563e-05/0.1557, allocations: 15.8 kB / 488.9 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.453e-05/0.1558, allocations: 25.58 kB / 489 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.1558, allocations: 4 kB / 489 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.1558, allocations: 3.938 kB / 489 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.1558, allocations: 3.938 kB / 489 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004792/0.1563, allocations: 407.3 kB / 489.4 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.1563, allocations: 0 / 489.4 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.547e-05/0.1564, allocations: 11.94 kB / 489.4 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.1564, allocations: 3.938 kB / 489.4 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/0.1564, allocations: 4 kB / 489.4 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.1564, allocations: 0 / 489.4 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.1564, allocations: 0 / 489.4 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002538/0.1567, allocations: 216.4 kB / 489.6 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.049e-05/0.1568, allocations: 92.86 kB / 489.7 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.768e-05/0.1568, allocations: 3.938 kB / 489.7 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.757e-05/0.1569, allocations: 11.98 kB / 489.7 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.079e-05/0.1569, allocations: 4 kB / 489.7 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.283e-05/0.157, allocations: 4 kB / 489.7 MB, free: 13.14 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000192/0.1572, allocations: 208.3 kB / 489.9 MB, free: 12.93 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1572, allocations: 0 / 489.9 MB, free: 12.93 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002739/0.1574, allocations: 28 kB / 490 MB, free: 12.91 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.001668/0.1591, allocations: 1.088 MB / 491 MB, free: 11.95 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001813/0.1593, allocations: 55.92 kB / 491.1 MB, free: 11.9 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1593, allocations: 0 / 491.1 MB, free: 11.9 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.482e-05/0.1594, allocations: 31.92 kB / 491.1 MB, free: 11.87 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003698/0.1598, allocations: 27.98 kB / 491.2 MB, free: 11.84 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002128/0.1619, allocations: 1.855 MB / 493 MB, free: 9.891 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002839/0.1622, allocations: 0.7121 MB / 493.7 MB, free: 9.152 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.293e-05/0.1623, allocations: 21.17 kB / 493.7 MB, free: 9.133 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.718e-05/0.1624, allocations: 47.41 kB / 493.8 MB, free: 9.086 MB / 366.1 MB Notification: Performance of SimCode: time 6.11e-07/0.1624, allocations: 0 / 493.8 MB, free: 9.086 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01488/0.1773, allocations: 3.336 MB / 497.1 MB, free: 5.879 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001886/0.1775, allocations: 229.2 kB / 497.3 MB, free: 5.629 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.738/1.916, allocations: 4 kB / 497.4 MB, free: 5.625 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test47_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test47.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches