Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001228/0.001228, allocations: 92.33 kB / 20.68 MB, free: 3.863 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001646/0.001646, allocations: 160.9 kB / 23.95 MB, free: 0.5898 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8944/0.8944, allocations: 177 MB / 204.1 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2376/0.2376, allocations: 34.23 MB / 294.8 MB, free: 0.7188 MB / 266.7 MB " [Timeout remaining time 180] 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.Test75,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test75",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test75,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test75",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 442.3 MB, free: 1.465 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.771e-05/1.917e-05, allocations: 4.812 kB / 442.3 MB, free: 1.461 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.1709/0.171, allocations: 1.871 MB / 444.1 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001112/0.1721, allocations: 1.078 MB / 445.2 MB, free: 42.86 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.846e-05/0.1722, allocations: 6.875 kB / 445.2 MB, free: 42.85 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000359/0.1725, allocations: 214.5 kB / 445.4 MB, free: 42.82 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003236/0.1728, allocations: 222.1 kB / 445.6 MB, free: 42.77 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001615/0.173, allocations: 122.5 kB / 445.8 MB, free: 42.73 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002024/0.1732, allocations: 269.6 kB / 446 MB, free: 42.69 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.1733, allocations: 15.05 kB / 446 MB, free: 42.69 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001153/0.1734, allocations: 151.6 kB / 446.2 MB, free: 42.66 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001227/0.1735, allocations: 156.4 kB / 446.3 MB, free: 42.64 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.944e-05/0.1736, allocations: 9.344 kB / 446.3 MB, free: 42.64 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.589e-05/0.1736, allocations: 66.83 kB / 446.4 MB, free: 42.64 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.066e-05/0.1737, allocations: 69.84 kB / 446.5 MB, free: 42.62 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.32e-05/0.1738, allocations: 43.69 kB / 446.5 MB, free: 42.61 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001964/0.1739, allocations: 239 kB / 446.8 MB, free: 42.55 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.174, allocations: 2.938 kB / 446.8 MB, free: 42.55 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.174, allocations: 0 / 446.8 MB, free: 42.55 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.174, allocations: 0 / 446.8 MB, free: 42.55 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0004731/0.1744, allocations: 0.4925 MB / 447.2 MB, free: 42.16 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.1745, allocations: 8.75 kB / 447.3 MB, free: 42.16 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.622e-05/0.1745, allocations: 42.59 kB / 447.3 MB, free: 42.12 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.134e-05/0.1745, allocations: 34.78 kB / 447.3 MB, free: 42.1 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002568/0.1748, allocations: 223.7 kB / 447.6 MB, free: 41.92 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.1748, allocations: 3.219 kB / 447.6 MB, free: 41.92 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.189e-05/0.1748, allocations: 17.19 kB / 447.6 MB, free: 41.92 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001548/0.175, allocations: 124.3 kB / 447.7 MB, free: 41.86 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.175, allocations: 3.062 kB / 447.7 MB, free: 41.86 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.175, allocations: 8 kB / 447.7 MB, free: 41.86 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.175, allocations: 3.031 kB / 447.7 MB, free: 41.86 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.766e-05/0.1751, allocations: 44.3 kB / 447.8 MB, free: 41.86 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003674/0.1755, allocations: 444.5 kB / 448.2 MB, free: 41.48 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002858/0.1757, allocations: 117.1 kB / 448.3 MB, free: 41.41 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.388e-05/0.1758, allocations: 45.14 kB / 448.3 MB, free: 41.39 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.941e-05/0.1758, allocations: 3.469 kB / 448.3 MB, free: 41.39 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001965/0.176, allocations: 121.8 kB / 448.5 MB, free: 41.3 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 2.034e-06/0.176, allocations: 0 / 448.5 MB, free: 41.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=22): time 0.0008354/0.1769, allocations: 0.5234 MB / 449 MB, free: 41.07 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.337e-05/0.1769, allocations: 83.92 kB / 449.1 MB, free: 40.97 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002603/0.1772, allocations: 454.2 kB / 449.5 MB, free: 40.78 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.017e-05/0.1772, allocations: 33.7 kB / 449.5 MB, free: 40.74 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.504e-05/0.1772, allocations: 161.8 kB / 449.7 MB, free: 40.61 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.411e-05/0.1773, allocations: 73.59 kB / 449.8 MB, free: 40.55 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-05/0.1773, allocations: 45.77 kB / 449.8 MB, free: 40.52 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.219e-05/0.1773, allocations: 347.9 kB / 450.2 MB, free: 40.19 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.473e-05/0.1774, allocations: 56.78 kB / 450.2 MB, free: 40.17 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.854e-05/0.1775, allocations: 91.75 kB / 450.3 MB, free: 40.12 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001527/0.1776, allocations: 164.8 kB / 450.5 MB, free: 40.02 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.1776, allocations: 0 / 450.5 MB, free: 40.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002163/0.1779, allocations: 245.6 kB / 450.7 MB, free: 39.91 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.1779, allocations: 6.719 kB / 450.7 MB, free: 39.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.1779, allocations: 2.938 kB / 450.7 MB, free: 39.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.031e-05/0.1779, allocations: 0 / 450.7 MB, free: 39.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.31e-05/0.178, allocations: 41.78 kB / 450.8 MB, free: 39.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.178, allocations: 10.34 kB / 450.8 MB, free: 39.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.935e-05/0.178, allocations: 9.25 kB / 450.8 MB, free: 39.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.178, allocations: 19.72 kB / 450.8 MB, free: 39.89 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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 9.104e-05/0.1781, allocations: 160.8 kB / 451 MB, free: 39.76 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.539e-05/0.1782, allocations: 36.64 kB / 451 MB, free: 39.74 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002999/0.1785, allocations: 290.6 kB / 451.3 MB, free: 39.62 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.1785, allocations: 2.812 kB / 451.3 MB, free: 39.62 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.1785, allocations: 3.938 kB / 451.3 MB, free: 39.62 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.1785, allocations: 2.531 kB / 451.3 MB, free: 39.62 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005015/0.179, allocations: 0.7058 MB / 452 MB, free: 39.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.179, allocations: 2.906 kB / 452 MB, free: 39.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.197e-05/0.179, allocations: 37.09 kB / 452 MB, free: 39.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.179, allocations: 2.781 kB / 452 MB, free: 39.1 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.179, allocations: 2.812 kB / 452 MB, free: 39.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.1791, allocations: 2.688 kB / 452 MB, free: 39.1 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.1791, allocations: 2.719 kB / 452 MB, free: 39.1 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002352/0.1793, allocations: 442.5 kB / 452.5 MB, free: 38.79 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.109e-05/0.1793, allocations: 36.39 kB / 452.5 MB, free: 38.77 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.507e-05/0.1793, allocations: 9.562 kB / 452.5 MB, free: 38.76 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.825e-05/0.1794, allocations: 6.094 kB / 452.5 MB, free: 38.76 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.048e-05/0.1795, allocations: 22.94 kB / 452.5 MB, free: 38.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.864e-05/0.1795, allocations: 11.94 kB / 452.6 MB, free: 38.75 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001679/0.1796, allocations: 341.9 kB / 452.9 MB, free: 38.61 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1796, allocations: 0 / 452.9 MB, free: 38.61 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002385/0.1799, allocations: 52.2 kB / 452.9 MB, free: 38.6 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001116/0.181, allocations: 1.415 MB / 454.4 MB, free: 37.64 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002106/0.1812, allocations: 159 kB / 454.5 MB, free: 37.59 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1812, allocations: 0 / 454.5 MB, free: 37.59 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.452e-05/0.1813, allocations: 81.27 kB / 454.6 MB, free: 37.56 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003643/0.1817, allocations: 66.89 kB / 454.7 MB, free: 37.54 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001819/0.1835, allocations: 2.911 MB / 457.6 MB, free: 35.63 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.562e-05/0.1836, allocations: 174.1 kB / 457.7 MB, free: 35.54 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.874e-05/0.1836, allocations: 43.14 kB / 457.8 MB, free: 35.53 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.529e-05/0.1837, allocations: 95.36 kB / 457.9 MB, free: 35.47 MB / 410.7 MB Notification: Performance of SimCode: time 6.51e-07/0.1837, allocations: 0 / 457.9 MB, free: 35.47 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01782/0.2016, allocations: 7.406 MB / 465.3 MB, free: 33.69 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.717/6.918, allocations: 3.938 kB / 465.3 MB, free: 33.68 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test75_fmu --startTime=7.99 --stopTime=20 --stepSize=0.00240104 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test75.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.89655420742929]