Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.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.001368/0.001368, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001532/0.001532, allocations: 217.5 kB / 22.99 MB, free: 4.977 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.812/1.812, allocations: 207.7 MB / 233.8 MB, free: 9.793 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.2502/0.2502, allocations: 44.26 MB / 330.3 MB, free: 9.309 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.Test78,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.Test78") translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,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.Test78") [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.002241/0.002241, allocations: 67.91 kB / 468.1 MB, free: 3.789 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1611/0.1633, allocations: 61.04 MB / 0.5167 GB, free: 6.613 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.003917/0.1672, allocations: 1.804 MB / 0.5185 GB, free: 4.797 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00188/0.1691, allocations: 0.8742 MB / 0.5193 GB, free: 3.914 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000112/0.1692, allocations: 4 kB / 0.5193 GB, free: 3.91 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006471/0.1699, allocations: 255.4 kB / 0.5196 GB, free: 3.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005/0.1704, allocations: 187.4 kB / 0.5197 GB, free: 3.477 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004654/0.1709, allocations: 147.6 kB / 0.5199 GB, free: 3.332 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004867/0.1713, allocations: 251.2 kB / 0.5201 GB, free: 3.086 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001622/0.1715, allocations: 25.72 kB / 0.5201 GB, free: 3.059 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001984/0.1717, allocations: 119.6 kB / 0.5203 GB, free: 2.941 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002933/0.172, allocations: 211.4 kB / 0.5205 GB, free: 2.734 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.185e-05/0.172, allocations: 8 kB / 0.5205 GB, free: 2.727 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001154/0.1721, allocations: 36 kB / 0.5205 GB, free: 2.691 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001556/0.1723, allocations: 67.7 kB / 0.5206 GB, free: 2.625 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.781e-05/0.1724, allocations: 67.41 kB / 0.5206 GB, free: 2.559 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003423/0.1727, allocations: 223 kB / 0.5208 GB, free: 2.34 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.1727, allocations: 4 kB / 0.5208 GB, free: 2.336 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.1727, allocations: 4 kB / 0.5209 GB, free: 2.332 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.1728, allocations: 0 / 0.5209 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.0008109/0.1736, allocations: 0.4925 MB / 0.5213 GB, free: 1.809 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.1736, allocations: 15.97 kB / 0.5213 GB, free: 1.793 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.353e-05/0.1737, allocations: 28.75 kB / 0.5214 GB, free: 1.766 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000383/0.1741, allocations: 214.5 kB / 0.5216 GB, free: 1.535 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.758e-05/0.1741, allocations: 4.359 kB / 0.5216 GB, free: 1.531 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.243e-05/0.1741, allocations: 12.12 kB / 0.5216 GB, free: 1.52 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002423/0.1743, allocations: 99.36 kB / 0.5217 GB, free: 1.41 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.1744, allocations: 4 kB / 0.5217 GB, free: 1.406 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.1744, allocations: 0 / 0.5217 GB, free: 1.406 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.1744, allocations: 0 / 0.5217 GB, free: 1.406 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001354/0.1745, allocations: 51.89 kB / 0.5217 GB, free: 1.355 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006788/0.1752, allocations: 392.6 kB / 0.5221 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003005/0.1755, allocations: 121.3 kB / 0.5222 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001112/0.1756, allocations: 37.7 kB / 0.5223 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.026e-05/0.1756, allocations: 8 kB / 0.5223 GB, free: 0.75 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002344/0.1759, allocations: 113 kB / 0.5224 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.062e-06/0.1759, allocations: 0 / 0.5224 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009661/0.1768, allocations: 405 kB / 0.5228 GB, free: 224 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.8e-05/0.1769, allocations: 77.11 kB / 0.5228 GB, free: 128 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005666/0.1775, allocations: 497.5 kB / 0.5233 GB, free: 15.63 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.839e-05/0.1775, allocations: 33.7 kB / 0.5234 GB, free: 15.59 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001317/0.1776, allocations: 164.3 kB / 0.5235 GB, free: 15.43 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.278e-05/0.1777, allocations: 47.64 kB / 0.5236 GB, free: 15.38 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.263e-05/0.1777, allocations: 37.7 kB / 0.5236 GB, free: 15.34 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002207/0.178, allocations: 342.8 kB / 0.5239 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001098/0.1781, allocations: 43.98 kB / 0.524 GB, free: 14.95 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001419/0.1782, allocations: 71.41 kB / 0.524 GB, free: 14.87 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002401/0.1785, allocations: 123.3 kB / 0.5241 GB, free: 14.73 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.1785, allocations: 0 / 0.5241 GB, free: 14.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004279/0.1789, allocations: 201.3 kB / 0.5243 GB, free: 14.53 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.1789, allocations: 4 kB / 0.5243 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.1789, allocations: 0 / 0.5243 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.999e-05/0.1789, allocations: 4 kB / 0.5243 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001463/0.1791, allocations: 31.92 kB / 0.5244 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.292e-05/0.1791, allocations: 4 kB / 0.5244 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001639/0.1792, allocations: 15.92 kB / 0.5244 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.35e-05/0.1793, allocations: 4 kB / 0.5244 GB, free: 14.47 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.0001887/0.1794, allocations: 177.7 kB / 0.5246 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.75e-05/0.1795, allocations: 31.81 kB / 0.5246 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005722/0.1801, allocations: 236.5 kB / 0.5248 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.1801, allocations: 0 / 0.5248 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.1801, allocations: 0 / 0.5248 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.131e-05/0.1801, allocations: 11.92 kB / 0.5248 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008193/0.1809, allocations: 0.5732 MB / 0.5254 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.1809, allocations: 0 / 0.5254 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.664e-05/0.181, allocations: 19.98 kB / 0.5254 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.725e-06/0.181, allocations: 12 kB / 0.5254 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.681e-05/0.181, allocations: 8 kB / 0.5254 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/0.181, allocations: 3.938 kB / 0.5254 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.181, allocations: 0 / 0.5254 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004829/0.1815, allocations: 388.2 kB / 0.5258 GB, free: 12.94 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.516e-05/0.1815, allocations: 23.81 kB / 0.5258 GB, free: 12.92 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.814e-05/0.1816, allocations: 7.938 kB / 0.5258 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00014/0.1817, allocations: 11.98 kB / 0.5258 GB, free: 12.9 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.219e-05/0.1818, allocations: 15.98 kB / 0.5259 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-05/0.1818, allocations: 19.86 kB / 0.5259 GB, free: 12.86 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000416/0.1822, allocations: 367.1 kB / 0.5262 GB, free: 12.51 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1822, allocations: 0 / 0.5262 GB, free: 12.51 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003371/0.1825, allocations: 39.94 kB / 0.5263 GB, free: 12.47 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.001933/0.1845, allocations: 0.4891 MB / 0.5267 GB, free: 12.03 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00033/0.1848, allocations: 127.7 kB / 0.5269 GB, free: 11.91 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1848, allocations: 0 / 0.5269 GB, free: 11.91 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001392/0.185, allocations: 60.36 kB / 0.5269 GB, free: 11.85 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006/0.1856, allocations: 69.34 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.0009738/0.1865, allocations: 0.5416 MB / 0.5275 GB, free: 11.2 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000275/0.1868, allocations: 165.5 kB / 0.5277 GB, free: 11.01 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.765e-05/0.1869, allocations: 37.55 kB / 0.5277 GB, free: 10.98 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.624e-05/0.1869, allocations: 23.44 kB / 0.5277 GB, free: 10.95 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1869, allocations: 0 / 0.5277 GB, free: 10.95 MB / 414.1 MB Notification: Performance of Templates: time 0.007638/0.1946, allocations: 3.143 MB / 0.5308 GB, free: 7.824 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.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.799666795879602]