Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.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.Test22,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test22,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test22",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001693/0.001693, allocations: 114.1 kB / 17.33 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002199/0.002199, allocations: 213.8 kB / 18.27 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.432/1.432, 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.2275/0.2275, allocations: 46.11 MB / 343.8 MB, free: 11.76 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001899/0.001899, allocations: 75.09 kB / 417.2 MB, free: 19.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1609/0.1628, allocations: 62.45 MB / 479.6 MB, free: 5.516 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.004071/0.1669, allocations: 1.787 MB / 481.4 MB, free: 3.715 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001824/0.1688, allocations: 1.006 MB / 482.4 MB, free: 2.703 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001238/0.1689, allocations: 3.938 kB / 482.4 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003772/0.1693, allocations: 43.89 kB / 482.4 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003918/0.1698, allocations: 79.73 kB / 482.5 MB, free: 2.578 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000263/0.1701, allocations: 63.83 kB / 482.6 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002091/0.1703, allocations: 107.7 kB / 482.7 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.1704, allocations: 12 kB / 482.7 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001013/0.1705, allocations: 43.73 kB / 482.7 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.51e-05/0.1706, allocations: 43.77 kB / 482.8 MB, free: 2.312 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.618e-05/0.1706, allocations: 4 kB / 482.8 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001233/0.1708, allocations: 43.98 kB / 482.8 MB, free: 2.266 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.05e-05/0.1708, allocations: 19.92 kB / 482.9 MB, free: 2.246 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.353e-05/0.1709, allocations: 35.73 kB / 482.9 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002266/0.1711, allocations: 115.9 kB / 483 MB, free: 2.098 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.997e-06/0.1711, allocations: 3.984 kB / 483 MB, free: 2.094 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1712, allocations: 0 / 483 MB, free: 2.094 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.564e-05/0.1712, allocations: 0 / 483 MB, free: 2.094 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.0006431/0.1718, allocations: 422.9 kB / 483.4 MB, free: 1.633 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.1719, allocations: 12.02 kB / 483.4 MB, free: 1.621 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.51e-05/0.1719, allocations: 34.75 kB / 483.5 MB, free: 1.578 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.323e-05/0.172, allocations: 12.84 kB / 483.5 MB, free: 1.566 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003265/0.1723, allocations: 214.6 kB / 483.7 MB, free: 1.32 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.1723, allocations: 384 / 483.7 MB, free: 1.32 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.157e-05/0.1724, allocations: 7.938 kB / 483.7 MB, free: 1.312 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001697/0.1725, allocations: 53.67 kB / 483.7 MB, free: 1.254 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.1726, allocations: 7.844 kB / 483.8 MB, free: 1.246 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.949e-06/0.1726, allocations: 4 kB / 483.8 MB, free: 1.242 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.1726, allocations: 0 / 483.8 MB, free: 1.242 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.79e-05/0.1727, allocations: 19.98 kB / 483.8 MB, free: 1.223 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004105/0.1731, allocations: 288.9 kB / 484.1 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001767/0.1733, allocations: 58.61 kB / 484.1 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.639e-05/0.1734, allocations: 28.8 kB / 484.1 MB, free: 0.793 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.976e-05/0.1734, allocations: 0 / 484.1 MB, free: 0.793 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002282/0.1736, allocations: 67.38 kB / 484.2 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.482e-06/0.1736, allocations: 0 / 484.2 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006533/0.1743, allocations: 169.2 kB / 484.4 MB, free: 0.543 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.928e-05/0.1744, allocations: 55.41 kB / 484.4 MB, free: 488 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002453/0.1746, allocations: 198.7 kB / 484.6 MB, free: 280 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.625e-05/0.1746, allocations: 33.69 kB / 484.7 MB, free: 240 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.101e-05/0.1747, allocations: 100.1 kB / 484.8 MB, free: 136 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.515e-05/0.1748, allocations: 23.7 kB / 484.8 MB, free: 112 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.993e-05/0.1749, allocations: 21.72 kB / 484.8 MB, free: 84 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000182/0.1751, allocations: 318.8 kB / 485.1 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.208e-05/0.1751, allocations: 23.98 kB / 485.1 MB, free: 15.74 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001012/0.1753, allocations: 45.64 kB / 485.2 MB, free: 15.69 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001442/0.1754, allocations: 57.78 kB / 485.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.1754, allocations: 0 / 485.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002308/0.1757, allocations: 109.4 kB / 485.3 MB, free: 15.51 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.639e-05/0.1757, allocations: 4 kB / 485.3 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.1757, allocations: 0 / 485.3 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.055e-05/0.1757, allocations: 0 / 485.3 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001171/0.1759, allocations: 19.98 kB / 485.4 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.114e-05/0.1759, allocations: 4.031 kB / 485.4 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.422e-05/0.176, allocations: 12.3 kB / 485.4 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.193e-05/0.176, 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.0001848/0.1762, allocations: 121.8 kB / 485.5 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.392e-05/0.1762, allocations: 19.78 kB / 485.5 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.522e-05/0.1763, allocations: 17.41 kB / 485.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-06/0.1763, allocations: 3.984 kB / 485.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.548e-06/0.1763, allocations: 4 kB / 485.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.884e-06/0.1763, allocations: 3.938 kB / 485.6 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000557/0.1769, allocations: 399.2 kB / 485.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.1769, allocations: 4 kB / 485.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.477e-05/0.1769, allocations: 4 kB / 486 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.177, allocations: 7.938 kB / 486 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.335e-05/0.177, allocations: 3.984 kB / 486 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.177, allocations: 0 / 486 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/0.177, allocations: 4.188 kB / 486 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002937/0.1773, allocations: 200.3 kB / 486.2 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.025e-05/0.1774, allocations: 88.86 kB / 486.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.17e-05/0.1774, allocations: 7.938 kB / 486.3 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.42e-05/0.1775, allocations: 7.922 kB / 486.3 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.463e-05/0.1776, allocations: 8 kB / 486.3 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.137e-05/0.1776, allocations: 4 kB / 486.3 MB, free: 14.47 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001442/0.1777, allocations: 156.7 kB / 486.4 MB, free: 14.32 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.61e-07/0.1777, allocations: 0 / 486.4 MB, free: 14.32 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002997/0.178, allocations: 19.98 kB / 486.4 MB, free: 14.3 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.001917/0.18, allocations: 1.088 MB / 487.5 MB, free: 13.34 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000245/0.1802, allocations: 67.89 kB / 487.6 MB, free: 13.28 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.1803, allocations: 0 / 487.6 MB, free: 13.28 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.539e-05/0.1803, 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.0003807/0.1807, allocations: 39.53 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.002014/0.1827, allocations: 1.663 MB / 489.3 MB, free: 11.46 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003228/0.1831, allocations: 0.7002 MB / 490 MB, free: 10.73 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.22e-05/0.1832, allocations: 16.88 kB / 490 MB, free: 10.71 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001076/0.1833, allocations: 35.42 kB / 490.1 MB, free: 10.68 MB / 366.1 MB Notification: Performance of SimCode: time 1.413e-06/0.1833, allocations: 0 / 490.1 MB, free: 10.68 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01579/0.1991, allocations: 3.277 MB / 493.4 MB, free: 7.516 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003307/0.1995, allocations: 230.2 kB / 493.6 MB, free: 7.266 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.952/2.152, allocations: 7.938 kB / 493.6 MB, free: 7.258 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test22_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test22.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches