Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.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.Test19,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test19,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test19",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001077/0.001077, allocations: 114 kB / 17.33 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001293/0.001293, allocations: 205.8 kB / 18.27 MB, free: 5.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.405/1.405, 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.2388/0.2388, allocations: 46.11 MB / 343.8 MB, free: 11.76 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 81.48 kB / 417.2 MB, free: 19.97 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1614/0.1628, allocations: 62.44 MB / 479.6 MB, free: 5.516 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.005111/0.1679, allocations: 1.789 MB / 481.4 MB, free: 3.711 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002397/0.1704, allocations: 1.009 MB / 482.4 MB, free: 2.695 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001401/0.1705, allocations: 0 / 482.4 MB, free: 2.695 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004413/0.171, allocations: 39.84 kB / 482.4 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005115/0.1715, allocations: 87.73 kB / 482.5 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003632/0.1719, allocations: 59.88 kB / 482.6 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002831/0.1722, allocations: 107.7 kB / 482.7 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001313/0.1724, allocations: 7.984 kB / 482.7 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001305/0.1725, allocations: 51.72 kB / 482.7 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001244/0.1726, allocations: 35.78 kB / 482.8 MB, free: 2.312 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.468e-05/0.1727, allocations: 4 kB / 482.8 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001747/0.1729, allocations: 43.98 kB / 482.8 MB, free: 2.266 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.648e-05/0.1729, allocations: 27.91 kB / 482.9 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.7e-05/0.173, allocations: 39.69 kB / 482.9 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003049/0.1733, allocations: 111.9 kB / 483 MB, free: 2.09 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.1734, allocations: 0 / 483 MB, free: 2.09 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.051e-06/0.1734, allocations: 3.984 kB / 483 MB, free: 2.086 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.069e-05/0.1734, allocations: 0 / 483 MB, free: 2.086 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.0009038/0.1743, allocations: 415 kB / 483.4 MB, free: 1.633 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.117e-05/0.1744, allocations: 8.031 kB / 483.4 MB, free: 1.625 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.224e-05/0.1745, allocations: 38.73 kB / 483.5 MB, free: 1.578 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.788e-05/0.1745, allocations: 16.84 kB / 483.5 MB, free: 1.562 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003551/0.1749, allocations: 214.6 kB / 483.7 MB, free: 1.316 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.02e-05/0.1749, allocations: 384 / 483.7 MB, free: 1.316 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.78e-05/0.175, allocations: 15.88 kB / 483.7 MB, free: 1.301 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002057/0.1752, allocations: 49.67 kB / 483.7 MB, free: 1.246 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.828e-05/0.1752, allocations: 3.906 kB / 483.8 MB, free: 1.242 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.639e-05/0.1753, allocations: 4 kB / 483.8 MB, free: 1.238 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.1753, allocations: 0 / 483.8 MB, free: 1.238 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001103/0.1754, allocations: 19.98 kB / 483.8 MB, free: 1.219 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005734/0.176, allocations: 284.9 kB / 484.1 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002437/0.1762, allocations: 62.61 kB / 484.1 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.585e-05/0.1763, allocations: 20.86 kB / 484.1 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.16e-05/0.1764, allocations: 4 kB / 484.1 MB, free: 0.793 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002832/0.1767, allocations: 71.38 kB / 484.2 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.994e-06/0.1767, allocations: 0 / 484.2 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007726/0.1774, allocations: 169.2 kB / 484.4 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.7e-05/0.1775, allocations: 55.41 kB / 484.4 MB, free: 484 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002912/0.1778, allocations: 198.7 kB / 484.6 MB, free: 276 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.036e-05/0.1779, allocations: 29.69 kB / 484.7 MB, free: 240 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.915e-05/0.178, allocations: 104.1 kB / 484.8 MB, free: 132 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.038e-05/0.1781, allocations: 31.69 kB / 484.8 MB, free: 100 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.461e-05/0.1781, allocations: 21.72 kB / 484.8 MB, free: 72 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002253/0.1784, allocations: 322.8 kB / 485.1 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001023/0.1785, allocations: 27.92 kB / 485.1 MB, free: 15.72 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.485e-05/0.1786, allocations: 33.7 kB / 485.2 MB, free: 15.68 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001616/0.1788, allocations: 57.7 kB / 485.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1788, allocations: 4 kB / 485.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002696/0.179, allocations: 101.4 kB / 485.3 MB, free: 15.51 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.36e-05/0.1791, allocations: 8 kB / 485.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.1791, allocations: 0 / 485.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/0.1791, allocations: 0 / 485.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000124/0.1793, allocations: 15.98 kB / 485.4 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/0.1793, allocations: 4 kB / 485.4 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.789e-05/0.1794, allocations: 3.938 kB / 485.4 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.057e-05/0.1794, allocations: 4 kB / 485.4 MB, free: 15.47 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.000148/0.1795, allocations: 136.6 kB / 485.5 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.63e-05/0.1796, allocations: 11.91 kB / 485.5 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.009e-05/0.1797, allocations: 17.34 kB / 485.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.1797, allocations: 0 / 485.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.077e-05/0.1797, allocations: 3.984 kB / 485.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/0.1797, allocations: 3.938 kB / 485.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006434/0.1804, allocations: 395.2 kB / 485.9 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.1804, allocations: 4.031 kB / 485.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.723e-05/0.1804, allocations: 11.98 kB / 485.9 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.406e-06/0.1804, allocations: 7.938 kB / 486 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.545e-05/0.1805, allocations: 3.984 kB / 486 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.1805, allocations: 384 / 486 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.1805, allocations: 0 / 486 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000351/0.1808, allocations: 208.2 kB / 486.2 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.111e-05/0.1809, allocations: 92.92 kB / 486.3 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.993e-05/0.181, allocations: 11.94 kB / 486.3 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.1811, allocations: 3.984 kB / 486.3 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.927e-05/0.1812, allocations: 4 kB / 486.3 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.404e-05/0.1812, allocations: 4 kB / 486.3 MB, free: 14.46 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001996/0.1814, allocations: 152.7 kB / 486.4 MB, free: 14.32 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1814, allocations: 192 / 486.4 MB, free: 14.32 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004486/0.1819, allocations: 23.98 kB / 486.4 MB, free: 14.29 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.002224/0.1841, allocations: 1.087 MB / 487.5 MB, free: 13.34 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002733/0.1844, allocations: 67.91 kB / 487.6 MB, free: 13.27 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.1844, allocations: 0 / 487.6 MB, free: 13.27 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.286e-05/0.1845, allocations: 27.94 kB / 487.6 MB, free: 13.25 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005114/0.185, allocations: 38.47 kB / 487.7 MB, free: 13.21 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002508/0.1876, allocations: 1.667 MB / 489.3 MB, free: 11.45 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004501/0.188, allocations: 0.7041 MB / 490 MB, free: 10.72 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.839e-05/0.1881, allocations: 17.17 kB / 490.1 MB, free: 10.71 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.287e-05/0.1882, allocations: 35.42 kB / 490.1 MB, free: 10.67 MB / 366.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1882, allocations: 3.938 kB / 490.1 MB, free: 10.67 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02183/0.2101, allocations: 3.277 MB / 493.4 MB, free: 7.504 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003089/0.2104, allocations: 230.2 kB / 493.6 MB, free: 7.254 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.915/2.125, allocations: 0 / 493.6 MB, free: 7.254 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test19_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test19.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches