Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.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.0008609/0.0008609, allocations: 76.36 kB / 20.67 MB, free: 3.895 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.0009603/0.0009603, allocations: 156.9 kB / 23.95 MB, free: 0.6133 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.9072/0.9072, allocations: 177 MB / 204.1 MB, free: 5.754 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.2542/0.2542, allocations: 34.24 MB / 294.8 MB, free: 0.6836 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.Test78,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test78",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test78,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test78",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 442.3 MB, free: 1.473 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.024e-05/2.167e-05, allocations: 5.094 kB / 442.3 MB, free: 1.469 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.1778/0.1778, allocations: 1.869 MB / 444.1 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001125/0.179, allocations: 1.074 MB / 445.2 MB, free: 42.86 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.599e-05/0.179, allocations: 5.344 kB / 445.2 MB, free: 42.86 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004086/0.1794, allocations: 258.5 kB / 445.5 MB, free: 42.82 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003184/0.1798, allocations: 239.6 kB / 445.7 MB, free: 42.76 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001725/0.1799, allocations: 110.8 kB / 445.8 MB, free: 42.73 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001923/0.1801, allocations: 281.6 kB / 446.1 MB, free: 42.69 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.1802, allocations: 17.39 kB / 446.1 MB, free: 42.69 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001351/0.1804, allocations: 166.8 kB / 446.3 MB, free: 42.66 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001436/0.1805, allocations: 190.3 kB / 446.4 MB, free: 42.64 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.305e-05/0.1805, allocations: 9.938 kB / 446.5 MB, free: 42.64 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.575e-05/0.1806, allocations: 67.39 kB / 446.5 MB, free: 42.64 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.474e-05/0.1807, allocations: 69.36 kB / 446.6 MB, free: 42.62 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.808e-05/0.1808, allocations: 51.84 kB / 446.6 MB, free: 42.6 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002263/0.181, allocations: 251.5 kB / 446.9 MB, free: 42.54 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.181, allocations: 0 / 446.9 MB, free: 42.54 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.181, allocations: 2.781 kB / 446.9 MB, free: 42.54 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.75e-06/0.181, allocations: 3.375 kB / 446.9 MB, free: 42.54 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.0004814/0.1815, allocations: 0.511 MB / 447.4 MB, free: 42.14 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.1815, allocations: 8.406 kB / 447.4 MB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.625e-05/0.1815, allocations: 39.91 kB / 447.4 MB, free: 42.1 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.324e-05/0.1816, allocations: 39.73 kB / 447.5 MB, free: 42.08 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002518/0.1818, allocations: 229.6 kB / 447.7 MB, free: 41.89 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.1818, allocations: 11.06 kB / 447.7 MB, free: 41.89 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.076e-05/0.1819, allocations: 9.375 kB / 447.7 MB, free: 41.89 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001629/0.182, allocations: 121.5 kB / 447.8 MB, free: 41.84 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.182, allocations: 3.25 kB / 447.9 MB, free: 41.84 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.1821, allocations: 7.312 kB / 447.9 MB, free: 41.83 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.1821, allocations: 0 / 447.9 MB, free: 41.83 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.994e-05/0.1821, allocations: 54.84 kB / 447.9 MB, free: 41.83 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003524/0.1825, allocations: 442.3 kB / 448.3 MB, free: 41.46 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002303/0.1827, allocations: 123 kB / 448.5 MB, free: 41.39 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.158e-05/0.1828, allocations: 42.05 kB / 448.5 MB, free: 41.36 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.368e-05/0.1828, allocations: 5.812 kB / 448.5 MB, free: 41.36 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001377/0.1829, allocations: 125.5 kB / 448.6 MB, free: 41.28 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 9.81e-07/0.1829, allocations: 0 / 448.6 MB, free: 41.28 MB / 410.7 MB Notification: Performance of matching and sorting (n=22): time 0.0007493/0.1837, allocations: 0.5266 MB / 449.2 MB, free: 41.04 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.687e-05/0.1837, allocations: 91.83 kB / 449.2 MB, free: 40.94 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002648/0.184, allocations: 0.4924 MB / 449.7 MB, free: 40.73 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.035e-05/0.184, allocations: 32.33 kB / 449.8 MB, free: 40.7 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.613e-05/0.184, allocations: 179.2 kB / 449.9 MB, free: 40.54 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.43e-05/0.1841, allocations: 69.16 kB / 450 MB, free: 40.49 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.101e-05/0.1841, allocations: 41.92 kB / 450.1 MB, free: 40.46 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.277e-05/0.1842, allocations: 348.8 kB / 450.4 MB, free: 40.14 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.13e-05/0.1842, allocations: 61.39 kB / 450.5 MB, free: 40.11 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.449e-05/0.1843, allocations: 94.27 kB / 450.5 MB, free: 40.06 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001468/0.1845, allocations: 168.1 kB / 450.7 MB, free: 39.96 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1845, allocations: 0 / 450.7 MB, free: 39.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002144/0.1847, allocations: 241.1 kB / 450.9 MB, free: 39.85 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.1847, allocations: 6.688 kB / 451 MB, free: 39.85 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.1847, allocations: 0 / 451 MB, free: 39.85 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.1847, allocations: 2.875 kB / 451 MB, free: 39.85 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.092e-05/0.1848, allocations: 45.09 kB / 451 MB, free: 39.85 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.1848, allocations: 7.875 kB / 451 MB, free: 39.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.884e-05/0.1848, allocations: 20.38 kB / 451 MB, free: 39.83 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.949e-06/0.1848, allocations: 9.875 kB / 451 MB, free: 39.83 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 8.512e-05/0.1849, allocations: 170.2 kB / 451.2 MB, free: 39.7 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.361e-05/0.185, allocations: 37.3 kB / 451.2 MB, free: 39.68 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002901/0.1852, allocations: 286.1 kB / 451.5 MB, free: 39.56 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.1852, allocations: 4.438 kB / 451.5 MB, free: 39.56 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.1852, allocations: 3.938 kB / 451.5 MB, free: 39.55 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.1853, allocations: 3.281 kB / 451.5 MB, free: 39.55 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004767/0.1857, allocations: 0.7117 MB / 452.2 MB, free: 39.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.1857, allocations: 2.938 kB / 452.2 MB, free: 39.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.92e-05/0.1858, allocations: 34.17 kB / 452.3 MB, free: 39.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.1858, allocations: 2.625 kB / 452.3 MB, free: 39.04 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.1858, allocations: 12.97 kB / 452.3 MB, free: 39.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.1858, allocations: 2.688 kB / 452.3 MB, free: 39.04 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.1858, allocations: 0 / 452.3 MB, free: 39.04 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002208/0.186, allocations: 452.8 kB / 452.7 MB, free: 38.72 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.717e-05/0.186, allocations: 29.98 kB / 452.8 MB, free: 38.7 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.447e-05/0.1861, allocations: 6.688 kB / 452.8 MB, free: 38.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.817e-05/0.1862, allocations: 10.06 kB / 452.8 MB, free: 38.7 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.059e-05/0.1862, allocations: 27.75 kB / 452.8 MB, free: 38.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.223e-05/0.1862, allocations: 14.28 kB / 452.8 MB, free: 38.68 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002602/0.1865, allocations: 380.3 kB / 453.2 MB, free: 38.53 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1865, allocations: 0 / 453.2 MB, free: 38.53 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002492/0.1867, allocations: 50 kB / 453.2 MB, free: 38.52 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.001141/0.1879, allocations: 1.417 MB / 454.7 MB, free: 37.55 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002122/0.1881, allocations: 155.4 kB / 454.8 MB, free: 37.5 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.1881, allocations: 0 / 454.8 MB, free: 37.5 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.752e-05/0.1882, allocations: 80.39 kB / 454.9 MB, free: 37.48 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000359/0.1885, allocations: 77.47 kB / 455 MB, free: 37.44 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001914/0.1904, allocations: 3.029 MB / 458 MB, free: 35.5 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001001/0.1905, allocations: 185.2 kB / 458.2 MB, free: 35.41 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.448e-05/0.1906, allocations: 42.5 kB / 458.2 MB, free: 35.4 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.746e-05/0.1907, allocations: 105.6 kB / 458.3 MB, free: 35.33 MB / 410.7 MB Notification: Performance of SimCode: time 4.81e-07/0.1907, allocations: 0 / 458.3 MB, free: 35.33 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01811/0.2088, allocations: 7.614 MB / 465.9 MB, free: 33.53 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.774/6.983, allocations: 7.406 kB / 465.9 MB, free: 33.53 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test78_fmu --startTime=0 --stopTime=15 --stepSize=0.0029988 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test78.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.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.986421155743301]