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.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.00182/0.00182, allocations: 110.4 kB / 18.33 MB, free: 3.98 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.001979/0.001979, allocations: 186 kB / 21.49 MB, free: 0.8242 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.755/1.755, allocations: 207.6 MB / 232.1 MB, free: 2.879 MB / 174.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.388/0.388, allocations: 44.24 MB / 328.4 MB, free: 6.234 MB / 254.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.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.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.002263/0.002263, allocations: 73.72 kB / 465.6 MB, free: 44.27 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1157, allocations: 61.01 MB / 0.5143 GB, free: 12.16 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.002772/0.1185, allocations: 1.877 MB / 0.5161 GB, free: 10.68 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001426/0.1199, allocations: 0.9117 MB / 0.517 GB, free: 9.977 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001052/0.12, allocations: 1.5 kB / 0.517 GB, free: 9.977 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004544/0.1205, allocations: 260.3 kB / 0.5172 GB, free: 9.758 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002767/0.1208, allocations: 187.3 kB / 0.5174 GB, free: 9.574 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003338/0.1211, allocations: 151.6 kB / 0.5176 GB, free: 9.426 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002152/0.1213, allocations: 235.4 kB / 0.5178 GB, free: 9.195 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.1214, allocations: 17.55 kB / 0.5178 GB, free: 9.18 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001364/0.1216, allocations: 139.5 kB / 0.5179 GB, free: 9.043 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001558/0.1217, allocations: 191.5 kB / 0.5181 GB, free: 8.855 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.426e-05/0.1217, allocations: 8 kB / 0.5181 GB, free: 8.848 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.88e-05/0.1218, allocations: 47.97 kB / 0.5182 GB, free: 8.801 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.734e-05/0.1219, allocations: 67.64 kB / 0.5182 GB, free: 8.734 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.192e-05/0.122, allocations: 83.36 kB / 0.5183 GB, free: 8.652 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002266/0.1222, allocations: 226.9 kB / 0.5185 GB, free: 8.43 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.1222, allocations: 0 / 0.5185 GB, free: 8.43 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1222, allocations: 4 kB / 0.5185 GB, free: 8.426 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.1222, allocations: 0 / 0.5185 GB, free: 8.426 MB / 382.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.0006147/0.1228, allocations: 0.56 MB / 0.5191 GB, free: 7.816 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.298e-05/0.1228, allocations: 15.84 kB / 0.5191 GB, free: 7.801 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.033e-05/0.1229, allocations: 36.73 kB / 0.5191 GB, free: 7.766 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002728/0.1232, allocations: 284.3 kB / 0.5194 GB, free: 7.445 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.564e-05/0.1232, allocations: 4.375 kB / 0.5194 GB, free: 7.441 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.343e-05/0.1232, allocations: 12.12 kB / 0.5194 GB, free: 7.43 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002023/0.1234, allocations: 103.3 kB / 0.5195 GB, free: 7.316 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.1234, allocations: 4 kB / 0.5195 GB, free: 7.312 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.1234, allocations: 0 / 0.5195 GB, free: 7.312 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.1234, allocations: 0 / 0.5195 GB, free: 7.312 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001097/0.1236, allocations: 35.97 kB / 0.5196 GB, free: 7.277 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003803/0.1239, allocations: 464.8 kB / 0.52 GB, free: 6.77 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002285/0.1242, allocations: 109.3 kB / 0.5201 GB, free: 6.645 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.332e-05/0.1242, allocations: 37.7 kB / 0.5201 GB, free: 6.602 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.74e-05/0.1243, allocations: 7.984 kB / 0.5202 GB, free: 6.594 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001774/0.1244, allocations: 109.1 kB / 0.5203 GB, free: 6.469 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.172e-06/0.1244, allocations: 0 / 0.5203 GB, free: 6.469 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0007311/0.1252, allocations: 388.7 kB / 0.5206 GB, free: 6.082 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.293e-05/0.1252, allocations: 93.03 kB / 0.5207 GB, free: 5.973 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003178/0.1255, allocations: 481.6 kB / 0.5212 GB, free: 5.492 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.293e-05/0.1255, allocations: 33.7 kB / 0.5212 GB, free: 5.453 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.165e-05/0.1256, allocations: 160.3 kB / 0.5214 GB, free: 5.293 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.653e-05/0.1256, allocations: 55.56 kB / 0.5214 GB, free: 5.238 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.397e-05/0.1257, allocations: 37.7 kB / 0.5214 GB, free: 5.195 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.187e-05/0.1258, allocations: 338.8 kB / 0.5218 GB, free: 4.855 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.665e-05/0.1258, allocations: 47.97 kB / 0.5218 GB, free: 4.809 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.757e-05/0.1259, allocations: 67.41 kB / 0.5219 GB, free: 4.73 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001637/0.1261, allocations: 115.4 kB / 0.522 GB, free: 4.605 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.1261, allocations: 3.938 kB / 0.522 GB, free: 4.602 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002481/0.1263, allocations: 197.5 kB / 0.5222 GB, free: 4.402 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.1264, allocations: 4 kB / 0.5222 GB, free: 4.398 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.1264, allocations: 0 / 0.5222 GB, free: 4.398 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.1264, allocations: 4 kB / 0.5222 GB, free: 4.395 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001238/0.1265, allocations: 35.92 kB / 0.5222 GB, free: 4.359 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.321e-06/0.1265, allocations: 7.938 kB / 0.5222 GB, free: 4.352 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.233e-05/0.1266, allocations: 8 kB / 0.5222 GB, free: 4.344 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.202e-05/0.1266, allocations: 11.98 kB / 0.5223 GB, free: 4.332 MB / 382.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.000103/0.1267, allocations: 177.8 kB / 0.5224 GB, free: 4.148 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.222e-05/0.1267, allocations: 27.81 kB / 0.5224 GB, free: 4.121 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003418/0.1271, allocations: 212.2 kB / 0.5226 GB, free: 3.906 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.327e-06/0.1271, allocations: 4 kB / 0.5227 GB, free: 3.902 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.1271, allocations: 3.938 kB / 0.5227 GB, free: 3.898 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.798e-06/0.1271, allocations: 0 / 0.5227 GB, free: 3.898 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005343/0.1276, allocations: 0.6246 MB / 0.5233 GB, free: 3.211 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.1276, allocations: 4 kB / 0.5233 GB, free: 3.207 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.973e-05/0.1277, allocations: 23.92 kB / 0.5233 GB, free: 3.184 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.1277, allocations: 4 kB / 0.5233 GB, free: 3.18 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.35e-05/0.1277, allocations: 4 kB / 0.5233 GB, free: 3.176 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.1277, allocations: 0 / 0.5233 GB, free: 3.176 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1277, allocations: 0 / 0.5233 GB, free: 3.176 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002858/0.128, allocations: 384.2 kB / 0.5237 GB, free: 2.777 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.671e-05/0.128, allocations: 105.5 kB / 0.5238 GB, free: 2.656 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.327e-05/0.1281, allocations: 4 kB / 0.5238 GB, free: 2.652 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001242/0.1282, allocations: 4 kB / 0.5238 GB, free: 2.648 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.002e-05/0.1282, allocations: 15.98 kB / 0.5238 GB, free: 2.633 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.109e-05/0.1282, allocations: 19.98 kB / 0.5238 GB, free: 2.613 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002278/0.1285, allocations: 359.1 kB / 0.5242 GB, free: 2.266 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1285, allocations: 0 / 0.5242 GB, free: 2.266 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003091/0.1288, allocations: 39.92 kB / 0.5242 GB, free: 2.227 MB / 382.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.001576/0.1304, allocations: 475.8 kB / 0.5246 GB, free: 1.812 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002817/0.1306, allocations: 103.9 kB / 0.5247 GB, free: 1.711 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1306, allocations: 4 kB / 0.5247 GB, free: 1.707 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001034/0.1307, allocations: 51.91 kB / 0.5248 GB, free: 1.656 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005355/0.1313, allocations: 69.12 kB / 0.5249 GB, free: 1.594 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007586/0.132, allocations: 0.5374 MB / 0.5254 GB, free: 1.02 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002155/0.1323, allocations: 0.771 MB / 0.5261 GB, free: 228 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.579e-05/0.1323, allocations: 30.56 kB / 0.5262 GB, free: 200 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.217e-05/0.1324, allocations: 27.42 kB / 0.5262 GB, free: 172 kB / 382.1 MB Notification: Performance of SimCode: time 3.9e-07/0.1324, allocations: 4 kB / 0.5262 GB, free: 168 kB / 382.1 MB Notification: Performance of Templates: time 0.007175/0.1396, allocations: 2.809 MB / 0.5289 GB, free: 13.36 MB / 398.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.644016615115106]