Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.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.001476/0.001476, allocations: 100.4 kB / 20.45 MB, free: 1.262 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.001734/0.001734, allocations: 210.1 kB / 23.74 MB, free: 4.445 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.597/1.597, allocations: 207.7 MB / 234.6 MB, free: 9.809 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.2356/0.2356, allocations: 44.26 MB / 331.1 MB, free: 9.316 MB / 270.1 MB " [Timeout remaining time 179] 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: translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7") [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.002318/0.002318, allocations: 72.47 kB / 468.8 MB, free: 3.785 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1689/0.1712, allocations: 61.03 MB / 0.5174 GB, free: 6.621 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.00456/0.1757, allocations: 1.687 MB / 0.5191 GB, free: 4.922 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001999/0.1777, allocations: 0.7806 MB / 0.5198 GB, free: 4.133 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001129/0.1778, allocations: 0 / 0.5198 GB, free: 4.133 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004785/0.1783, allocations: 107.7 kB / 0.5199 GB, free: 4.027 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003474/0.1787, allocations: 83.66 kB / 0.52 GB, free: 3.945 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003746/0.179, allocations: 99.69 kB / 0.5201 GB, free: 3.848 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002982/0.1793, allocations: 107.7 kB / 0.5202 GB, free: 3.742 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001281/0.1795, allocations: 16.2 kB / 0.5202 GB, free: 3.727 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001341/0.1796, allocations: 51.78 kB / 0.5203 GB, free: 3.676 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001536/0.1798, allocations: 67.73 kB / 0.5203 GB, free: 3.609 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.279e-05/0.1798, allocations: 8 kB / 0.5204 GB, free: 3.602 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001455/0.1799, allocations: 47.92 kB / 0.5204 GB, free: 3.555 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.532e-05/0.18, allocations: 23.91 kB / 0.5204 GB, free: 3.531 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.646e-05/0.1801, allocations: 31.73 kB / 0.5205 GB, free: 3.5 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002961/0.1804, allocations: 123.5 kB / 0.5206 GB, free: 3.379 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1804, allocations: 0 / 0.5206 GB, free: 3.379 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1804, allocations: 3.938 kB / 0.5206 GB, free: 3.375 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.424e-06/0.1804, allocations: 0 / 0.5206 GB, free: 3.375 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.0007793/0.1812, allocations: 357.5 kB / 0.5209 GB, free: 2.996 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.1812, allocations: 8.031 kB / 0.5209 GB, free: 2.988 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.995e-05/0.1813, allocations: 20.84 kB / 0.5209 GB, free: 2.969 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003957/0.1817, allocations: 151.1 kB / 0.5211 GB, free: 2.797 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.146e-05/0.1817, allocations: 4.375 kB / 0.5211 GB, free: 2.793 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.069e-05/0.1817, allocations: 12.11 kB / 0.5211 GB, free: 2.781 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000179/0.1819, allocations: 53.67 kB / 0.5212 GB, free: 2.723 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.522e-05/0.1819, allocations: 0 / 0.5212 GB, free: 2.723 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.1819, allocations: 0 / 0.5212 GB, free: 2.723 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/0.1819, allocations: 4 kB / 0.5212 GB, free: 2.719 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.967e-05/0.182, allocations: 19.92 kB / 0.5212 GB, free: 2.699 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004957/0.1825, allocations: 240.5 kB / 0.5214 GB, free: 2.434 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002042/0.1827, allocations: 62.67 kB / 0.5215 GB, free: 2.363 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.199e-05/0.1828, allocations: 20.84 kB / 0.5215 GB, free: 2.34 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.913e-05/0.1828, allocations: 0 / 0.5215 GB, free: 2.34 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000206/0.183, allocations: 75.33 kB / 0.5216 GB, free: 2.254 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.523e-06/0.183, allocations: 0 / 0.5216 GB, free: 2.254 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006719/0.1837, allocations: 189.3 kB / 0.5217 GB, free: 2.062 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.757e-05/0.1838, allocations: 55.41 kB / 0.5218 GB, free: 1.996 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002932/0.184, allocations: 246.1 kB / 0.522 GB, free: 1.742 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.38e-05/0.1841, allocations: 29.7 kB / 0.5221 GB, free: 1.707 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.553e-05/0.1842, allocations: 112.1 kB / 0.5222 GB, free: 1.594 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.125e-05/0.1842, allocations: 23.8 kB / 0.5222 GB, free: 1.57 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.227e-05/0.1843, allocations: 29.64 kB / 0.5222 GB, free: 1.535 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002039/0.1845, allocations: 330.8 kB / 0.5225 GB, free: 1.203 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.789e-05/0.1845, allocations: 19.98 kB / 0.5225 GB, free: 1.184 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.034e-05/0.1846, allocations: 37.7 kB / 0.5226 GB, free: 1.141 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001315/0.1848, allocations: 61.72 kB / 0.5226 GB, free: 1.074 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.1848, allocations: 0 / 0.5226 GB, free: 1.074 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002406/0.185, allocations: 113.7 kB / 0.5227 GB, free: 0.957 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.439e-05/0.185, allocations: 8 kB / 0.5228 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/0.185, allocations: 3.938 kB / 0.5228 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.185, allocations: 0 / 0.5228 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.915e-05/0.1851, allocations: 15.98 kB / 0.5228 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.1852, allocations: 4 kB / 0.5228 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.181e-05/0.1852, allocations: 0 / 0.5228 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.248e-05/0.1852, allocations: 7.984 kB / 0.5228 GB, free: 0.918 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.0001553/0.1854, allocations: 133.8 kB / 0.5229 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.504e-05/0.1854, allocations: 19.94 kB / 0.5229 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003066/0.1857, allocations: 131 kB / 0.5231 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.1857, allocations: 0 / 0.5231 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.1857, allocations: 0 / 0.5231 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.1857, allocations: 0 / 0.5231 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000591/0.1863, allocations: 354.9 kB / 0.5234 GB, free: 240 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.1863, allocations: 0 / 0.5234 GB, free: 240 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.661e-05/0.1864, allocations: 11.94 kB / 0.5234 GB, free: 228 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.594e-06/0.1864, allocations: 0 / 0.5234 GB, free: 228 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.528e-05/0.1864, allocations: 4 kB / 0.5234 GB, free: 224 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.1864, allocations: 4.031 kB / 0.5234 GB, free: 220 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.1864, allocations: 3.938 kB / 0.5234 GB, free: 216 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003944/0.1868, allocations: 224.3 kB / 0.5236 GB, free: 15.97 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.604e-05/0.1868, allocations: 12.28 kB / 0.5236 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.852e-05/0.1868, allocations: 4 kB / 0.5236 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.596e-05/0.1869, allocations: 8 kB / 0.5237 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.788e-05/0.187, allocations: 11.92 kB / 0.5237 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.003e-05/0.187, allocations: 4 kB / 0.5237 GB, free: 15.93 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002037/0.1872, allocations: 184.4 kB / 0.5238 GB, free: 15.75 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1872, allocations: 0 / 0.5238 GB, free: 15.75 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002914/0.1875, allocations: 31.92 kB / 0.5239 GB, free: 15.72 MB / 414.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 (9): * Single equations (assignments): 7 * 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.00194/0.1894, allocations: 489.2 kB / 0.5243 GB, free: 15.29 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002085/0.1896, allocations: 71.89 kB / 0.5244 GB, free: 15.22 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1896, allocations: 0 / 0.5244 GB, free: 15.22 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.404e-05/0.1897, allocations: 31.91 kB / 0.5244 GB, free: 15.19 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003924/0.1901, allocations: 31.78 kB / 0.5245 GB, free: 15.16 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007181/0.1908, allocations: 301 kB / 0.5248 GB, free: 14.83 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000129/0.191, allocations: 100.6 kB / 0.5249 GB, free: 14.71 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.439e-05/0.191, allocations: 19.56 kB / 0.5249 GB, free: 14.69 MB / 414.1 MB Notification: Performance of SimCode: time 6.81e-07/0.191, allocations: 4 kB / 0.5249 GB, free: 14.68 MB / 414.1 MB Notification: Performance of Templates: time 0.004947/0.196, allocations: 2.062 MB / 0.5269 GB, free: 12.62 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.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.271964899264276]