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.001841/0.001841, allocations: 100.4 kB / 20.45 MB, free: 1.383 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.002485/0.002485, allocations: 206.2 kB / 23.74 MB, free: 4.543 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.505/1.505, allocations: 207.7 MB / 234.6 MB, free: 9.777 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.2633/0.2633, allocations: 44.26 MB / 331.1 MB, free: 9.301 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.002482/0.002482, allocations: 71.91 kB / 468.8 MB, free: 3.777 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1372/0.1396, allocations: 61.04 MB / 0.5174 GB, free: 6.609 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.003701/0.1433, allocations: 1.816 MB / 0.5192 GB, free: 4.781 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001704/0.1451, allocations: 0.8625 MB / 0.52 GB, free: 3.91 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001158/0.1452, allocations: 0 / 0.52 GB, free: 3.91 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000599/0.1458, allocations: 259.4 kB / 0.5203 GB, free: 3.656 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004723/0.1462, allocations: 191.4 kB / 0.5205 GB, free: 3.469 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004824/0.1467, allocations: 143.7 kB / 0.5206 GB, free: 3.328 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004594/0.1472, allocations: 255.2 kB / 0.5209 GB, free: 3.078 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001434/0.1473, allocations: 17.73 kB / 0.5209 GB, free: 3.059 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002141/0.1475, allocations: 131.5 kB / 0.521 GB, free: 2.93 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002793/0.1478, allocations: 199.4 kB / 0.5212 GB, free: 2.734 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.257e-05/0.1479, allocations: 4 kB / 0.5212 GB, free: 2.73 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001458/0.148, allocations: 43.98 kB / 0.5212 GB, free: 2.688 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001143/0.1481, allocations: 63.75 kB / 0.5213 GB, free: 2.625 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.565e-05/0.1482, allocations: 67.42 kB / 0.5214 GB, free: 2.559 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004512/0.1487, allocations: 230.9 kB / 0.5216 GB, free: 2.332 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.536e-06/0.1487, allocations: 4 kB / 0.5216 GB, free: 2.328 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.1487, allocations: 4 kB / 0.5216 GB, free: 2.324 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.297e-05/0.1487, allocations: 0 / 0.5216 GB, free: 2.324 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.001204/0.1499, allocations: 496.4 kB / 0.5221 GB, free: 1.809 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.644e-05/0.15, allocations: 8.031 kB / 0.5221 GB, free: 1.801 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001422/0.1501, allocations: 36.69 kB / 0.5221 GB, free: 1.766 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006492/0.1508, allocations: 218.5 kB / 0.5223 GB, free: 1.531 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.642e-05/0.1508, allocations: 4.375 kB / 0.5223 GB, free: 1.527 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.187e-05/0.1508, allocations: 12.12 kB / 0.5223 GB, free: 1.516 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003502/0.1512, allocations: 103.3 kB / 0.5224 GB, free: 1.402 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.134e-05/0.1512, allocations: 0 / 0.5224 GB, free: 1.402 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.792e-05/0.1512, allocations: 0 / 0.5224 GB, free: 1.402 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.1512, allocations: 4 kB / 0.5224 GB, free: 1.398 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001626/0.1514, allocations: 47.91 kB / 0.5225 GB, free: 1.352 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008244/0.1522, allocations: 396.6 kB / 0.5229 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003863/0.1526, allocations: 113.3 kB / 0.523 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001099/0.1527, allocations: 45.7 kB / 0.523 GB, free: 0.75 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.116e-05/0.1527, allocations: 0 / 0.523 GB, free: 0.75 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002728/0.153, allocations: 117 kB / 0.5231 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.032e-06/0.153, allocations: 0 / 0.5231 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.001021/0.154, allocations: 404.7 kB / 0.5235 GB, free: 220 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.179e-05/0.1541, allocations: 81.11 kB / 0.5236 GB, free: 120 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005563/0.1547, allocations: 497.6 kB / 0.5241 GB, free: 15.62 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.523e-05/0.1547, allocations: 25.7 kB / 0.5241 GB, free: 15.59 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001381/0.1548, allocations: 168.3 kB / 0.5242 GB, free: 15.42 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.139e-05/0.1549, allocations: 51.64 kB / 0.5243 GB, free: 15.37 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.072e-05/0.1549, allocations: 33.7 kB / 0.5243 GB, free: 15.33 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001843/0.1551, allocations: 346.8 kB / 0.5247 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001057/0.1552, allocations: 43.97 kB / 0.5247 GB, free: 14.94 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001335/0.1554, allocations: 75.39 kB / 0.5248 GB, free: 14.86 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002399/0.1556, allocations: 123.3 kB / 0.5249 GB, free: 14.72 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.1556, allocations: 0 / 0.5249 GB, free: 14.72 MB / 414.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003527/0.156, allocations: 193.3 kB / 0.5251 GB, free: 14.53 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.156, allocations: 8 kB / 0.5251 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.156, allocations: 0 / 0.5251 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.156, allocations: 3.938 kB / 0.5251 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001578/0.1562, allocations: 35.92 kB / 0.5251 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.1562, allocations: 0 / 0.5251 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.82e-05/0.1563, allocations: 15.92 kB / 0.5251 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.22e-05/0.1563, allocations: 8 kB / 0.5251 GB, free: 14.46 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.000191/0.1565, allocations: 177.7 kB / 0.5253 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.972e-05/0.1565, allocations: 31.81 kB / 0.5253 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004922/0.157, allocations: 232.5 kB / 0.5256 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/0.157, allocations: 4 kB / 0.5256 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.157, allocations: 0 / 0.5256 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.165e-06/0.157, allocations: 7.922 kB / 0.5256 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008462/0.1579, allocations: 0.5693 MB / 0.5261 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-05/0.1579, allocations: 4 kB / 0.5261 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.136e-05/0.1579, allocations: 24.05 kB / 0.5262 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.1579, allocations: 7.938 kB / 0.5262 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.693e-05/0.158, allocations: 4 kB / 0.5262 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/0.158, allocations: 4 kB / 0.5262 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.158, allocations: 0 / 0.5262 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005205/0.1585, allocations: 392.8 kB / 0.5265 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.209e-05/0.1585, allocations: 23.81 kB / 0.5266 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.603e-05/0.1586, allocations: 11.94 kB / 0.5266 GB, free: 12.9 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001395/0.1587, allocations: 7.984 kB / 0.5266 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.869e-05/0.1588, allocations: 15.97 kB / 0.5266 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.626e-05/0.1588, allocations: 16 kB / 0.5266 GB, free: 12.86 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003864/0.1592, allocations: 367.1 kB / 0.527 GB, free: 12.51 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1592, allocations: 3.938 kB / 0.527 GB, free: 12.5 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003467/0.1595, allocations: 47.92 kB / 0.527 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.001972/0.1615, allocations: 492 kB / 0.5275 GB, free: 12.02 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000399/0.1619, allocations: 123.8 kB / 0.5276 GB, free: 11.9 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.1619, allocations: 0 / 0.5276 GB, free: 11.9 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001496/0.1621, allocations: 59.86 kB / 0.5277 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.0005587/0.1626, allocations: 61.81 kB / 0.5277 GB, free: 11.78 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001059/0.1637, allocations: 0.5823 MB / 0.5283 GB, free: 11.15 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002162/0.1639, allocations: 165.5 kB / 0.5284 GB, free: 10.97 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.251e-05/0.164, allocations: 27.44 kB / 0.5285 GB, free: 10.94 MB / 414.1 MB Notification: Performance of SimCode: time 3.2e-07/0.164, allocations: 4 kB / 0.5285 GB, free: 10.94 MB / 414.1 MB Notification: Performance of Templates: time 0.006431/0.1704, allocations: 3.507 MB / 0.5319 GB, free: 7.43 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","/var/lib/jenkins1/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: 8.543590181972831]