Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001434/0.001434, allocations: 107.5 kB / 19.69 MB, free: 2.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001723/0.001723, allocations: 222.9 kB / 23.01 MB, free: 5.039 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.498/1.498, allocations: 207.6 MB / 233.8 MB, free: 9.977 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2252/0.2252, allocations: 44.24 MB / 330.3 MB, free: 9.602 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test25,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test25",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test25,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test25",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003532/0.003532, allocations: 76.45 kB / 467.6 MB, free: 4.461 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1701/0.1736, allocations: 61.04 MB / 0.5162 GB, free: 7.277 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.00523/0.1789, allocations: 1.711 MB / 0.5179 GB, free: 5.555 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002071/0.1809, allocations: 0.8312 MB / 0.5187 GB, free: 4.715 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001034/0.181, allocations: 0 / 0.5187 GB, free: 4.715 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000489/0.1815, allocations: 47.75 kB / 0.5187 GB, free: 4.668 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003555/0.1819, allocations: 59.77 kB / 0.5188 GB, free: 4.609 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004637/0.1823, allocations: 95.62 kB / 0.5189 GB, free: 4.516 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002776/0.1826, allocations: 95.7 kB / 0.519 GB, free: 4.422 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.1827, allocations: 8.219 kB / 0.519 GB, free: 4.414 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001507/0.1829, allocations: 47.77 kB / 0.519 GB, free: 4.367 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001268/0.183, allocations: 27.86 kB / 0.5191 GB, free: 4.34 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.575e-05/0.183, allocations: 4 kB / 0.5191 GB, free: 4.336 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001463/0.1832, allocations: 39.92 kB / 0.5191 GB, free: 4.297 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.371e-05/0.1833, allocations: 27.91 kB / 0.5191 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.079e-05/0.1833, allocations: 35.73 kB / 0.5192 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003473/0.1837, allocations: 111.6 kB / 0.5193 GB, free: 4.125 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.625e-05/0.1837, allocations: 3.984 kB / 0.5193 GB, free: 4.121 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.136e-06/0.1837, allocations: 0 / 0.5193 GB, free: 4.121 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.534e-06/0.1837, allocations: 7.938 kB / 0.5193 GB, free: 4.113 MB / 398.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.0007246/0.1844, allocations: 337.6 kB / 0.5196 GB, free: 3.754 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.286e-05/0.1845, allocations: 12.03 kB / 0.5196 GB, free: 3.742 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.248e-05/0.1846, allocations: 42.67 kB / 0.5197 GB, free: 3.691 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.697e-05/0.1846, allocations: 8.891 kB / 0.5197 GB, free: 3.684 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003737/0.185, allocations: 159 kB / 0.5198 GB, free: 3.504 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.679e-05/0.185, allocations: 384 / 0.5198 GB, free: 3.504 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.321e-05/0.1851, allocations: 11.94 kB / 0.5198 GB, free: 3.492 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001967/0.1852, allocations: 53.67 kB / 0.5199 GB, free: 3.434 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.1853, allocations: 0 / 0.5199 GB, free: 3.434 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.557e-05/0.1853, allocations: 4 kB / 0.5199 GB, free: 3.43 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.1853, allocations: 0 / 0.5199 GB, free: 3.43 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001062/0.1854, allocations: 19.98 kB / 0.5199 GB, free: 3.41 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005937/0.186, allocations: 263.9 kB / 0.5201 GB, free: 3.109 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000236/0.1862, allocations: 50.67 kB / 0.5202 GB, free: 3.051 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.515e-05/0.1863, allocations: 16.86 kB / 0.5202 GB, free: 3.031 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.375e-05/0.1863, allocations: 0 / 0.5202 GB, free: 3.031 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002161/0.1865, allocations: 75.31 kB / 0.5203 GB, free: 2.945 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.583e-06/0.1865, allocations: 4 kB / 0.5203 GB, free: 2.941 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007588/0.1873, allocations: 181.3 kB / 0.5205 GB, free: 2.758 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.773e-05/0.1874, allocations: 51.41 kB / 0.5205 GB, free: 2.695 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000291/0.1877, allocations: 207.1 kB / 0.5207 GB, free: 2.484 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.601e-05/0.1877, allocations: 33.64 kB / 0.5207 GB, free: 2.445 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.115e-05/0.1878, allocations: 96.14 kB / 0.5208 GB, free: 2.348 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001262/0.1879, allocations: 27.83 kB / 0.5209 GB, free: 2.32 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.573e-05/0.188, allocations: 21.72 kB / 0.5209 GB, free: 2.293 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001791/0.1881, allocations: 330.8 kB / 0.5212 GB, free: 1.961 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.055e-05/0.1882, allocations: 15.98 kB / 0.5212 GB, free: 1.945 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.524e-05/0.1883, allocations: 37.7 kB / 0.5212 GB, free: 1.902 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000177/0.1885, allocations: 65.7 kB / 0.5213 GB, free: 1.832 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.1885, allocations: 0 / 0.5213 GB, free: 1.832 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002749/0.1888, allocations: 105.6 kB / 0.5214 GB, free: 1.723 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.1888, allocations: 4 kB / 0.5214 GB, free: 1.719 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.1888, allocations: 0 / 0.5214 GB, free: 1.719 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.1888, allocations: 4 kB / 0.5214 GB, free: 1.715 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001199/0.1889, allocations: 19.92 kB / 0.5214 GB, free: 1.695 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.1889, allocations: 0 / 0.5214 GB, free: 1.695 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.78e-05/0.189, allocations: 7.938 kB / 0.5214 GB, free: 1.688 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-06/0.189, allocations: 0 / 0.5214 GB, free: 1.688 MB / 398.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.000192/0.1892, allocations: 129.8 kB / 0.5216 GB, free: 1.551 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.092e-05/0.1892, allocations: 11.98 kB / 0.5216 GB, free: 1.539 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003286/0.1896, allocations: 118.9 kB / 0.5217 GB, free: 1.41 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.1896, allocations: 4 kB / 0.5217 GB, free: 1.406 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.1896, allocations: 384 / 0.5217 GB, free: 1.406 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.1896, allocations: 3.938 kB / 0.5217 GB, free: 1.402 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007856/0.1904, allocations: 366.4 kB / 0.522 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.1904, allocations: 0 / 0.522 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.739e-05/0.1904, allocations: 8 kB / 0.5221 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.873e-06/0.1904, allocations: 11.95 kB / 0.5221 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.409e-05/0.1904, allocations: 8 kB / 0.5221 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.1904, allocations: 0 / 0.5221 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1904, allocations: 0 / 0.5221 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002711/0.1907, allocations: 200.3 kB / 0.5223 GB, free: 0.75 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.808e-05/0.1907, allocations: 15.91 kB / 0.5223 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.739e-05/0.1908, allocations: 11.88 kB / 0.5223 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.396e-05/0.1909, allocations: 7.984 kB / 0.5223 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.559e-05/0.1909, allocations: 4 kB / 0.5223 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.676e-05/0.1909, allocations: 4 kB / 0.5223 GB, free: 0.707 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001374/0.191, allocations: 149.1 kB / 0.5225 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.191, allocations: 0 / 0.5225 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000343/0.1914, allocations: 27.92 kB / 0.5225 GB, free: 0.5352 MB / 398.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.002231/0.1936, allocations: 1.089 MB / 0.5235 GB, free: 15.47 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001816/0.1938, allocations: 55.97 kB / 0.5236 GB, free: 15.41 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.1938, allocations: 0 / 0.5236 GB, free: 15.41 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.689e-05/0.1939, allocations: 31.91 kB / 0.5236 GB, free: 15.38 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003683/0.1942, allocations: 27.92 kB / 0.5237 GB, free: 15.36 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002087/0.1963, allocations: 1.662 MB / 0.5253 GB, free: 13.6 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003823/0.1967, allocations: 0.7041 MB / 0.526 GB, free: 12.87 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.499e-05/0.1968, allocations: 17.27 kB / 0.526 GB, free: 12.85 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.784e-05/0.1968, allocations: 35.42 kB / 0.526 GB, free: 12.82 MB / 414.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1968, allocations: 0 / 0.526 GB, free: 12.82 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03254/0.2294, allocations: 3.62 MB / 0.5295 GB, free: 9.105 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.57, allocations: 8.938 kB / 0.5296 GB, free: 9.098 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test25_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test25.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test25/Test25.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.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: 14.826004900969565]