Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001398/0.001398, allocations: 114.1 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001355/0.001355, allocations: 187.5 kB / 22.98 MB, free: 5.078 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.666/1.666, allocations: 207.6 MB / 233.7 MB, free: 10.01 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.263/0.263, allocations: 44.23 MB / 330.2 MB, free: 9.562 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,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.Test75") translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,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.Test75") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.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: 71.89 kB / 468 MB, free: 3.984 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1863/0.1886, allocations: 61.04 MB / 0.5166 GB, free: 6.809 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.003955/0.1926, allocations: 1.866 MB / 0.5185 GB, free: 4.93 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001883/0.1945, allocations: 0.9247 MB / 0.5194 GB, free: 3.996 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001246/0.1946, allocations: 7.938 kB / 0.5194 GB, free: 3.988 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007434/0.1953, allocations: 219.4 kB / 0.5196 GB, free: 3.773 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004735/0.1958, allocations: 175.3 kB / 0.5197 GB, free: 3.602 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004665/0.1963, allocations: 143.7 kB / 0.5199 GB, free: 3.461 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004162/0.1967, allocations: 231.4 kB / 0.5201 GB, free: 3.234 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001673/0.1969, allocations: 17.67 kB / 0.5201 GB, free: 3.215 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002178/0.1971, allocations: 123.6 kB / 0.5202 GB, free: 3.094 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002497/0.1973, allocations: 167.5 kB / 0.5204 GB, free: 2.93 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.259e-05/0.1974, allocations: 8 kB / 0.5204 GB, free: 2.922 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001184/0.1975, allocations: 43.98 kB / 0.5205 GB, free: 2.879 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001145/0.1976, allocations: 63.75 kB / 0.5205 GB, free: 2.816 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001113/0.1977, allocations: 79.36 kB / 0.5206 GB, free: 2.738 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003568/0.1981, allocations: 215 kB / 0.5208 GB, free: 2.527 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.1981, allocations: 0 / 0.5208 GB, free: 2.527 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1981, allocations: 0 / 0.5208 GB, free: 2.527 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.121e-06/0.1981, allocations: 0 / 0.5208 GB, free: 2.527 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.0008778/0.1989, allocations: 484.5 kB / 0.5213 GB, free: 2.023 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.027e-05/0.199, allocations: 11.97 kB / 0.5213 GB, free: 2.012 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.957e-05/0.1991, allocations: 28.75 kB / 0.5213 GB, free: 1.984 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004251/0.1995, allocations: 214.5 kB / 0.5215 GB, free: 1.75 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.84e-05/0.1995, allocations: 384 / 0.5215 GB, free: 1.75 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.29e-05/0.1996, allocations: 12.12 kB / 0.5215 GB, free: 1.738 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002752/0.1998, allocations: 95.34 kB / 0.5216 GB, free: 1.633 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.702e-05/0.1998, allocations: 11.94 kB / 0.5216 GB, free: 1.621 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/0.1999, allocations: 3.938 kB / 0.5216 GB, free: 1.617 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.1999, allocations: 4 kB / 0.5216 GB, free: 1.613 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001342/0.2, allocations: 35.97 kB / 0.5217 GB, free: 1.578 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000702/0.2007, allocations: 420 kB / 0.5221 GB, free: 1.121 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003567/0.2011, allocations: 113.3 kB / 0.5222 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001188/0.2012, allocations: 41.69 kB / 0.5222 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.306e-05/0.2012, allocations: 7.922 kB / 0.5222 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002783/0.2015, allocations: 109.1 kB / 0.5223 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.373e-06/0.2015, allocations: 0 / 0.5223 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.001137/0.2026, allocations: 380.6 kB / 0.5227 GB, free: 444 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.358e-05/0.2027, allocations: 85.03 kB / 0.5228 GB, free: 340 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005175/0.2032, allocations: 424.6 kB / 0.5232 GB, free: 15.9 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.029e-05/0.2033, allocations: 37.69 kB / 0.5232 GB, free: 15.86 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001412/0.2034, allocations: 156.3 kB / 0.5233 GB, free: 15.7 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.998e-05/0.2035, allocations: 47.64 kB / 0.5234 GB, free: 15.65 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.708e-05/0.2035, allocations: 29.72 kB / 0.5234 GB, free: 15.62 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.00022/0.2038, allocations: 342.8 kB / 0.5237 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001208/0.2039, allocations: 43.98 kB / 0.5238 GB, free: 15.23 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001259/0.204, allocations: 71.41 kB / 0.5239 GB, free: 15.15 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002344/0.2042, allocations: 119.4 kB / 0.524 GB, free: 15.02 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.113e-06/0.2043, allocations: 3.938 kB / 0.524 GB, free: 15.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003537/0.2046, allocations: 185.2 kB / 0.5242 GB, free: 14.83 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.341e-05/0.2046, allocations: 8.062 kB / 0.5242 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.2046, allocations: 4 kB / 0.5242 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.271e-05/0.2047, allocations: 0 / 0.5242 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001523/0.2048, allocations: 31.98 kB / 0.5242 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.114e-05/0.2048, allocations: 3.938 kB / 0.5242 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.96e-05/0.2049, allocations: 11.98 kB / 0.5242 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.486e-05/0.2049, allocations: 15.88 kB / 0.5242 GB, free: 14.76 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.0001912/0.2051, allocations: 161.8 kB / 0.5244 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.21e-05/0.2052, allocations: 31.77 kB / 0.5244 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004684/0.2056, allocations: 216.2 kB / 0.5246 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.2056, allocations: 4 kB / 0.5246 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.278e-06/0.2057, allocations: 3.938 kB / 0.5246 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.2057, allocations: 0 / 0.5246 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008512/0.2065, allocations: 0.5921 MB / 0.5252 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.2065, allocations: 4.062 kB / 0.5252 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.337e-05/0.2066, allocations: 16 kB / 0.5252 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.2066, allocations: 4 kB / 0.5252 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.033e-05/0.2066, allocations: 8.734 kB / 0.5252 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.2066, allocations: 7.938 kB / 0.5252 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.2066, allocations: 0 / 0.5252 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004612/0.2071, allocations: 364.2 kB / 0.5256 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.944e-05/0.2071, allocations: 23.81 kB / 0.5256 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.269e-05/0.2071, allocations: 8 kB / 0.5256 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001325/0.2073, allocations: 11.98 kB / 0.5256 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.091e-05/0.2073, allocations: 15.92 kB / 0.5256 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.479e-05/0.2074, allocations: 8 kB / 0.5257 GB, free: 13.2 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003364/0.2077, allocations: 319 kB / 0.526 GB, free: 12.89 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2077, allocations: 4 kB / 0.526 GB, free: 12.89 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003358/0.208, allocations: 39.94 kB / 0.526 GB, free: 12.85 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 (16): * Single equations (assignments): 12 * 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.001833/0.2099, allocations: 468.6 kB / 0.5264 GB, free: 12.44 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003355/0.2102, allocations: 115.8 kB / 0.5266 GB, free: 12.33 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.2102, allocations: 0 / 0.5266 GB, free: 12.33 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001415/0.2103, allocations: 44.39 kB / 0.5266 GB, free: 12.29 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005724/0.2109, allocations: 72.92 kB / 0.5267 GB, free: 12.21 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009315/0.2118, allocations: 0.4902 MB / 0.5271 GB, free: 11.68 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005278/0.2124, allocations: 0.763 MB / 0.5279 GB, free: 10.9 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.121e-05/0.2125, allocations: 37.92 kB / 0.5279 GB, free: 10.86 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.332e-05/0.2125, allocations: 27.42 kB / 0.528 GB, free: 10.84 MB / 414.1 MB Notification: Performance of SimCode: time 3e-07/0.2125, allocations: 3.938 kB / 0.528 GB, free: 10.83 MB / 414.1 MB Notification: Performance of Templates: time 0.007645/0.2202, allocations: 2.817 MB / 0.5307 GB, free: 8.023 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.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: 6.029683829285204]