Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.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.001525/0.001525, allocations: 104.3 kB / 19.69 MB, free: 1.945 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.001661/0.001661, allocations: 223.5 kB / 23 MB, free: 4.969 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.721/1.721, allocations: 207.7 MB / 233.8 MB, free: 9.789 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.2627/0.2627, allocations: 44.26 MB / 330.3 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.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74") [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.002858/0.002858, allocations: 76.98 kB / 468.1 MB, free: 3.785 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1674/0.1702, allocations: 61.04 MB / 0.5167 GB, free: 6.609 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.004608/0.1749, allocations: 1.812 MB / 0.5185 GB, free: 4.785 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002187/0.177, allocations: 0.8625 MB / 0.5193 GB, free: 3.914 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002064/0.1772, allocations: 8 kB / 0.5193 GB, free: 3.906 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006879/0.1779, allocations: 251.4 kB / 0.5196 GB, free: 3.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005637/0.1785, allocations: 187.4 kB / 0.5197 GB, free: 3.477 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005485/0.179, allocations: 151.6 kB / 0.5199 GB, free: 3.328 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005322/0.1796, allocations: 247.2 kB / 0.5201 GB, free: 3.086 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001467/0.1797, allocations: 29.72 kB / 0.5201 GB, free: 3.055 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002978/0.18, allocations: 119.6 kB / 0.5203 GB, free: 2.938 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003546/0.1804, allocations: 199.4 kB / 0.5204 GB, free: 2.742 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.255e-05/0.1804, allocations: 8 kB / 0.5205 GB, free: 2.734 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001589/0.1806, allocations: 47.97 kB / 0.5205 GB, free: 2.688 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001304/0.1807, allocations: 59.77 kB / 0.5206 GB, free: 2.629 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000114/0.1808, allocations: 67.41 kB / 0.5206 GB, free: 2.562 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004762/0.1813, allocations: 230.9 kB / 0.5208 GB, free: 2.336 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.1813, allocations: 4 kB / 0.5208 GB, free: 2.332 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1813, allocations: 0 / 0.5208 GB, free: 2.332 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.033e-05/0.1813, allocations: 0 / 0.5208 GB, free: 2.332 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0009943/0.1823, allocations: 0.4925 MB / 0.5213 GB, free: 1.809 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/0.1824, allocations: 12.03 kB / 0.5213 GB, free: 1.797 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001021/0.1825, allocations: 28.75 kB / 0.5214 GB, free: 1.77 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005275/0.183, allocations: 218.5 kB / 0.5216 GB, free: 1.535 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.249e-05/0.183, allocations: 4.312 kB / 0.5216 GB, free: 1.531 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.164e-05/0.183, allocations: 8.125 kB / 0.5216 GB, free: 1.523 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002904/0.1833, allocations: 107.3 kB / 0.5217 GB, free: 1.406 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.518e-05/0.1834, allocations: 0 / 0.5217 GB, free: 1.406 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.958e-05/0.1834, allocations: 7.938 kB / 0.5217 GB, free: 1.398 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.1834, allocations: 0 / 0.5217 GB, free: 1.398 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001473/0.1835, allocations: 39.97 kB / 0.5217 GB, free: 1.359 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006906/0.1842, allocations: 404.5 kB / 0.5221 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003463/0.1846, allocations: 121.3 kB / 0.5222 GB, free: 0.793 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001217/0.1847, allocations: 41.7 kB / 0.5223 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.149e-05/0.1847, allocations: 11.94 kB / 0.5223 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002736/0.185, allocations: 109.1 kB / 0.5224 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.252e-06/0.185, allocations: 0 / 0.5224 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.001118/0.1861, allocations: 396.5 kB / 0.5228 GB, free: 220 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.515e-05/0.1862, allocations: 77.11 kB / 0.5228 GB, free: 124 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006503/0.1868, allocations: 497.6 kB / 0.5233 GB, free: 15.62 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.497e-05/0.1869, allocations: 33.7 kB / 0.5233 GB, free: 15.59 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001392/0.187, allocations: 164.3 kB / 0.5235 GB, free: 15.42 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.129e-05/0.1871, allocations: 51.62 kB / 0.5236 GB, free: 15.37 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.205e-05/0.1871, allocations: 37.7 kB / 0.5236 GB, free: 15.33 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001834/0.1873, allocations: 338.8 kB / 0.5239 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001177/0.1875, allocations: 43.97 kB / 0.524 GB, free: 14.95 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000139/0.1876, allocations: 79.34 kB / 0.524 GB, free: 14.86 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002373/0.1878, allocations: 119.4 kB / 0.5241 GB, free: 14.73 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1878, allocations: 4 kB / 0.5241 GB, free: 14.72 MB / 414.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003948/0.1882, allocations: 197.3 kB / 0.5243 GB, free: 14.52 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/0.1882, allocations: 4 kB / 0.5243 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.1883, allocations: 0 / 0.5243 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.1883, allocations: 4 kB / 0.5243 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001579/0.1884, allocations: 35.92 kB / 0.5244 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.48e-05/0.1884, allocations: 4 kB / 0.5244 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.182e-05/0.1885, allocations: 7.938 kB / 0.5244 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.802e-05/0.1886, allocations: 15.92 kB / 0.5244 GB, free: 14.45 MB / 414.1 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 (20): * Single equations (assignments): 20 * 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.000186/0.1887, allocations: 173.8 kB / 0.5246 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.134e-05/0.1888, allocations: 27.81 kB / 0.5246 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004927/0.1893, allocations: 232.5 kB / 0.5248 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.1893, allocations: 0.75 kB / 0.5248 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.1893, allocations: 3.984 kB / 0.5248 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/0.1893, allocations: 7.938 kB / 0.5248 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008852/0.1902, allocations: 0.5771 MB / 0.5254 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.1902, allocations: 4.062 kB / 0.5254 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.218e-05/0.1903, allocations: 23.98 kB / 0.5254 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.215e-06/0.1903, allocations: 7.938 kB / 0.5254 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.943e-05/0.1903, allocations: 8 kB / 0.5254 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.201e-06/0.1903, allocations: 3.938 kB / 0.5254 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.1903, allocations: 0 / 0.5254 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005062/0.1908, allocations: 380.3 kB / 0.5258 GB, free: 12.94 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.434e-05/0.1909, allocations: 27.8 kB / 0.5258 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.454e-05/0.1909, allocations: 11.94 kB / 0.5258 GB, free: 12.9 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001588/0.1911, allocations: 12 kB / 0.5259 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.618e-05/0.1911, allocations: 19.91 kB / 0.5259 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-05/0.1912, allocations: 4 kB / 0.5259 GB, free: 12.86 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003998/0.1916, allocations: 367.1 kB / 0.5262 GB, free: 12.51 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1916, allocations: 0 / 0.5262 GB, free: 12.51 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003708/0.1919, allocations: 47.92 kB / 0.5263 GB, free: 12.46 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (18): * Single equations (assignments): 14 * 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.002095/0.194, allocations: 0.4887 MB / 0.5267 GB, free: 12.02 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000382/0.1944, allocations: 123.7 kB / 0.5269 GB, free: 11.9 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1944, allocations: 0 / 0.5269 GB, free: 11.9 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001543/0.1946, allocations: 59.91 kB / 0.5269 GB, free: 11.84 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006094/0.1952, allocations: 65.8 kB / 0.527 GB, free: 11.78 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001122/0.1963, allocations: 0.5494 MB / 0.5275 GB, free: 11.19 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002125/0.1965, allocations: 165.4 kB / 0.5277 GB, free: 11 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001039/0.1966, allocations: 29.62 kB / 0.5277 GB, free: 10.98 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.318e-05/0.1967, allocations: 31.42 kB / 0.5277 GB, free: 10.95 MB / 414.1 MB Notification: Performance of SimCode: time 7.92e-07/0.1967, allocations: 0 / 0.5277 GB, free: 10.95 MB / 414.1 MB Notification: Performance of Templates: time 0.008436/0.2051, allocations: 3.139 MB / 0.5308 GB, free: 7.82 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.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: 5.793384516611695]