Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.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.0008289/0.0008289, allocations: 80.34 kB / 20.67 MB, free: 3.891 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.0008303/0.0008303, allocations: 156.9 kB / 23.94 MB, free: 0.6172 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.873/0.873, allocations: 177 MB / 204.1 MB, free: 5.703 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.2319/0.2319, allocations: 34.23 MB / 294.8 MB, free: 0.6953 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.Test35,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test35",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test35,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test35",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 442.2 MB, free: 1.453 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.434e-05/1.573e-05, allocations: 6.219 kB / 442.3 MB, free: 1.445 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.181/0.181, allocations: 1.728 MB / 444 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001356/0.1823, allocations: 0.9792 MB / 445 MB, free: 42.95 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.723e-05/0.1824, allocations: 7.094 kB / 445 MB, free: 42.95 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003497/0.1828, allocations: 79.38 kB / 445 MB, free: 42.93 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003029/0.1831, allocations: 129.3 kB / 445.2 MB, free: 42.89 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001651/0.1833, allocations: 82.59 kB / 445.3 MB, free: 42.87 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001569/0.1834, allocations: 126.7 kB / 445.4 MB, free: 42.84 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.1835, allocations: 13.16 kB / 445.4 MB, free: 42.84 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.844e-05/0.1836, allocations: 62.62 kB / 445.4 MB, free: 42.84 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.545e-05/0.1837, allocations: 67.39 kB / 445.5 MB, free: 42.82 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.713e-05/0.1837, allocations: 5.375 kB / 445.5 MB, free: 42.82 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.328e-05/0.1838, allocations: 64 kB / 445.6 MB, free: 42.82 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.538e-05/0.1839, allocations: 31.97 kB / 445.6 MB, free: 42.81 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.951e-05/0.1839, allocations: 23.45 kB / 445.6 MB, free: 42.8 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001914/0.1841, allocations: 140.8 kB / 445.8 MB, free: 42.77 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.1841, allocations: 0 / 445.8 MB, free: 42.77 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1841, allocations: 0 / 445.8 MB, free: 42.77 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.1841, allocations: 0.7188 kB / 445.8 MB, free: 42.77 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000443/0.1846, allocations: 371.4 kB / 446.1 MB, free: 42.45 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/0.1846, allocations: 8.656 kB / 446.1 MB, free: 42.45 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.81e-05/0.1846, allocations: 37 kB / 446.2 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.865e-05/0.1847, allocations: 14.75 kB / 446.2 MB, free: 42.4 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002602/0.1849, allocations: 160.6 kB / 446.4 MB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/0.1849, allocations: 3.562 kB / 446.4 MB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.051e-05/0.185, allocations: 6.25 kB / 446.4 MB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001473/0.1851, allocations: 61.19 kB / 446.4 MB, free: 42.21 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.1851, allocations: 6.828 kB / 446.4 MB, free: 42.21 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.1851, allocations: 7.312 kB / 446.4 MB, free: 42.21 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.1851, allocations: 0.5 kB / 446.4 MB, free: 42.21 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.841e-05/0.1852, allocations: 23.52 kB / 446.5 MB, free: 42.21 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003231/0.1855, allocations: 269.8 kB / 446.7 MB, free: 41.98 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001988/0.1857, allocations: 62.12 kB / 446.8 MB, free: 41.95 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.536e-05/0.1858, allocations: 23.73 kB / 446.8 MB, free: 41.94 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.524e-05/0.1858, allocations: 0 / 446.8 MB, free: 41.94 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001174/0.1859, allocations: 72.94 kB / 446.9 MB, free: 41.89 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/0.1859, allocations: 0.5 kB / 446.9 MB, free: 41.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.000545/0.1864, allocations: 263.6 kB / 447.1 MB, free: 41.82 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.384e-05/0.1865, allocations: 54.19 kB / 447.2 MB, free: 41.76 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001323/0.1866, allocations: 233.4 kB / 447.4 MB, free: 41.66 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.326e-06/0.1866, allocations: 31.98 kB / 447.4 MB, free: 41.62 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.732e-05/0.1866, allocations: 113.6 kB / 447.6 MB, free: 41.54 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.549e-05/0.1867, allocations: 42.66 kB / 447.6 MB, free: 41.52 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.208e-05/0.1867, allocations: 25.81 kB / 447.6 MB, free: 41.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.029e-05/0.1867, allocations: 330.5 kB / 447.9 MB, free: 41.18 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.404e-05/0.1868, allocations: 28.47 kB / 448 MB, free: 41.18 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.554e-05/0.1868, allocations: 47.83 kB / 448 MB, free: 41.17 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.387e-05/0.1869, allocations: 83.05 kB / 448.1 MB, free: 41.13 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1869, allocations: 7.844 kB / 448.1 MB, free: 41.13 MB / 410.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001391/0.1871, allocations: 129 kB / 448.2 MB, free: 41.06 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.1871, allocations: 5.812 kB / 448.2 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.1871, allocations: 2.625 kB / 448.2 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.1871, allocations: 0 / 448.2 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.344e-05/0.1871, allocations: 25.06 kB / 448.3 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.1871, allocations: 2.906 kB / 448.3 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.095e-05/0.1872, allocations: 6.391 kB / 448.3 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.115e-06/0.1872, allocations: 3 kB / 448.3 MB, free: 41.05 MB / 410.7 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 (13): * Single equations (assignments): 13 * 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 6.614e-05/0.1873, allocations: 136.5 kB / 448.4 MB, free: 40.93 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.606e-05/0.1873, allocations: 23.69 kB / 448.4 MB, free: 40.91 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000198/0.1875, allocations: 155 kB / 448.6 MB, free: 40.84 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.1875, allocations: 3 kB / 448.6 MB, free: 40.84 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.1875, allocations: 3.281 kB / 448.6 MB, free: 40.84 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.1875, allocations: 0 / 448.6 MB, free: 40.84 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000305/0.1878, allocations: 425.2 kB / 449 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.1878, allocations: 9.438 kB / 449 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.023e-05/0.1878, allocations: 11.56 kB / 449 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.1878, allocations: 6.906 kB / 449 MB, free: 40.49 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-06/0.1878, allocations: 6.906 kB / 449 MB, free: 40.49 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.1878, allocations: 7.172 kB / 449.1 MB, free: 40.48 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1878, allocations: 0 / 449.1 MB, free: 40.48 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001429/0.188, allocations: 236.6 kB / 449.3 MB, free: 40.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.395e-05/0.188, allocations: 17.56 kB / 449.3 MB, free: 40.29 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.952e-05/0.188, allocations: 6.109 kB / 449.3 MB, free: 40.29 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.114e-05/0.1881, allocations: 6.844 kB / 449.3 MB, free: 40.29 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.158e-05/0.1881, allocations: 10.11 kB / 449.3 MB, free: 40.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.742e-05/0.1881, allocations: 5.812 kB / 449.3 MB, free: 40.29 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.18e-05/0.1882, allocations: 183.4 kB / 449.5 MB, free: 40.18 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1882, allocations: 0 / 449.5 MB, free: 40.18 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001851/0.1884, allocations: 30.94 kB / 449.5 MB, free: 40.17 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.001094/0.1895, allocations: 1.227 MB / 450.8 MB, free: 39.34 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001549/0.1896, allocations: 74.66 kB / 450.8 MB, free: 39.32 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1896, allocations: 0 / 450.8 MB, free: 39.32 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.289e-05/0.1897, allocations: 48.77 kB / 450.9 MB, free: 39.3 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002475/0.1899, allocations: 26.34 kB / 450.9 MB, free: 39.29 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001123/0.191, allocations: 1.869 MB / 452.8 MB, free: 37.85 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.822e-05/0.1911, allocations: 103.7 kB / 452.9 MB, free: 37.77 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.482e-05/0.1911, allocations: 22.98 kB / 452.9 MB, free: 37.76 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.425e-05/0.1912, allocations: 46.42 kB / 453 MB, free: 37.73 MB / 410.7 MB Notification: Performance of SimCode: time 7.72e-07/0.1912, allocations: 0 / 453 MB, free: 37.73 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01576/0.207, allocations: 4.769 MB / 457.7 MB, free: 36.27 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.745/6.952, allocations: 0 / 457.7 MB, free: 36.27 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test35_fmu --startTime=0 --stopTime=3 --stepSize=0.00059976 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test35.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.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.868923772126436]