Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.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.001476/0.001476, allocations: 105 kB / 20.44 MB, free: 1.504 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.001669/0.001669, allocations: 215.4 kB / 23.76 MB, free: 4.727 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.371/1.371, allocations: 207.6 MB / 234.5 MB, free: 9.984 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.2069/0.2069, allocations: 44.25 MB / 331 MB, free: 9.512 MB / 270.1 MB " [Timeout remaining time 180] 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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12") [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.002176/0.002176, allocations: 78.55 kB / 468.8 MB, free: 3.957 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1127, allocations: 61.04 MB / 0.5174 GB, free: 6.773 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.003405/0.1161, allocations: 1.93 MB / 0.5193 GB, free: 4.828 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001458/0.1175, allocations: 0.874 MB / 0.5202 GB, free: 3.945 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001082/0.1176, allocations: 0 / 0.5202 GB, free: 3.945 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000311/0.118, allocations: 43.7 kB / 0.5202 GB, free: 3.902 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002283/0.1182, allocations: 67.58 kB / 0.5203 GB, free: 3.836 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002906/0.1185, allocations: 99.75 kB / 0.5204 GB, free: 3.738 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002285/0.1187, allocations: 139.6 kB / 0.5205 GB, free: 3.602 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.1188, allocations: 25.66 kB / 0.5205 GB, free: 3.57 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001181/0.1189, allocations: 63.66 kB / 0.5206 GB, free: 3.508 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001054/0.119, allocations: 47.7 kB / 0.5206 GB, free: 3.461 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.973e-05/0.1191, allocations: 8 kB / 0.5206 GB, free: 3.453 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.934e-05/0.1192, allocations: 47.98 kB / 0.5207 GB, free: 3.406 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.156e-05/0.1192, allocations: 23.91 kB / 0.5207 GB, free: 3.383 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.054e-05/0.1193, allocations: 55.61 kB / 0.5208 GB, free: 3.328 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002631/0.1196, allocations: 143.3 kB / 0.5209 GB, free: 3.188 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1196, allocations: 0 / 0.5209 GB, free: 3.188 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.926e-06/0.1196, allocations: 7.984 kB / 0.5209 GB, free: 3.18 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.072e-06/0.1196, allocations: 4 kB / 0.5209 GB, free: 3.176 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006396/0.1202, allocations: 407.1 kB / 0.5213 GB, free: 2.742 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.1202, allocations: 8.031 kB / 0.5213 GB, free: 2.734 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.241e-05/0.1203, allocations: 16.84 kB / 0.5213 GB, free: 2.719 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002877/0.1206, allocations: 167.2 kB / 0.5215 GB, free: 2.531 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.593e-05/0.1206, allocations: 8.375 kB / 0.5215 GB, free: 2.523 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.65e-05/0.1206, allocations: 16.08 kB / 0.5215 GB, free: 2.508 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002323/0.1209, allocations: 104.2 kB / 0.5216 GB, free: 2.391 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.1209, allocations: 3.938 kB / 0.5216 GB, free: 2.387 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.955e-05/0.1209, allocations: 8 kB / 0.5216 GB, free: 2.379 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.722e-06/0.1209, allocations: 0 / 0.5216 GB, free: 2.379 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001462/0.121, allocations: 43.97 kB / 0.5217 GB, free: 2.336 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005919/0.1216, allocations: 488.1 kB / 0.5221 GB, free: 1.809 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000315/0.1219, allocations: 86.66 kB / 0.5222 GB, free: 1.715 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.235e-05/0.122, allocations: 32.84 kB / 0.5222 GB, free: 1.68 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.458e-05/0.1221, allocations: 7.938 kB / 0.5222 GB, free: 1.672 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001799/0.1222, allocations: 79.38 kB / 0.5223 GB, free: 1.582 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.423e-06/0.1222, allocations: 0 / 0.5223 GB, free: 1.582 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.000384/0.1226, allocations: 149.4 kB / 0.5225 GB, free: 1.43 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.396e-05/0.1227, allocations: 59.34 kB / 0.5225 GB, free: 1.359 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000186/0.1229, allocations: 191.6 kB / 0.5227 GB, free: 1.16 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.039e-05/0.1229, allocations: 25.7 kB / 0.5227 GB, free: 1.129 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.968e-05/0.123, allocations: 112.1 kB / 0.5228 GB, free: 1.016 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.888e-05/0.123, allocations: 31.73 kB / 0.5229 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.669e-05/0.123, allocations: 25.72 kB / 0.5229 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.1232, allocations: 326.8 kB / 0.5232 GB, free: 0.625 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.717e-05/0.1233, allocations: 31.97 kB / 0.5232 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001079/0.1234, allocations: 68.22 kB / 0.5233 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001842/0.1235, allocations: 96.2 kB / 0.5234 GB, free: 412 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.1235, allocations: 0 / 0.5234 GB, free: 412 kB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002692/0.1238, allocations: 141.4 kB / 0.5235 GB, free: 264 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.1238, allocations: 7.938 kB / 0.5235 GB, free: 256 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.1238, allocations: 0 / 0.5235 GB, free: 256 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.1239, allocations: 4 kB / 0.5235 GB, free: 252 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.851e-05/0.124, allocations: 31.98 kB / 0.5236 GB, free: 220 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/0.124, allocations: 4 kB / 0.5236 GB, free: 216 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.899e-05/0.124, allocations: 15.89 kB / 0.5236 GB, free: 200 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.346e-05/0.124, allocations: 8.469 kB / 0.5236 GB, free: 192 kB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001082/0.1242, allocations: 125.8 kB / 0.5237 GB, free: 56 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.574e-05/0.1242, allocations: 15.91 kB / 0.5237 GB, free: 40 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002918/0.1245, allocations: 126.9 kB / 0.5238 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.217e-06/0.1245, allocations: 11.94 kB / 0.5239 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.1245, allocations: 0 / 0.5239 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.1245, allocations: 0 / 0.5239 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001675/0.1246, allocations: 180.7 kB / 0.524 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.1246, allocations: 0 / 0.524 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.658e-05/0.1247, allocations: 19.92 kB / 0.5241 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.1247, allocations: 0 / 0.5241 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.639e-06/0.1247, allocations: 0 / 0.5241 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.362e-06/0.1247, allocations: 3.938 kB / 0.5241 GB, free: 15.65 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1247, allocations: 0 / 0.5241 GB, free: 15.65 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003602/0.1251, allocations: 180.9 kB / 0.5242 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.676e-05/0.1251, allocations: 15.92 kB / 0.5242 GB, free: 15.44 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.817e-05/0.1252, allocations: 8 kB / 0.5242 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.036e-05/0.1252, allocations: 7.938 kB / 0.5243 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.159e-05/0.1253, allocations: 3.984 kB / 0.5243 GB, free: 15.42 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.669e-05/0.1253, allocations: 8 kB / 0.5243 GB, free: 15.41 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001211/0.1254, allocations: 145.2 kB / 0.5244 GB, free: 15.27 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1254, allocations: 4 kB / 0.5244 GB, free: 15.27 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002255/0.1256, allocations: 27.94 kB / 0.5244 GB, free: 15.24 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001453/0.1271, allocations: 410.2 kB / 0.5248 GB, free: 14.88 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002725/0.1273, allocations: 83.83 kB / 0.5249 GB, free: 14.8 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1273, allocations: 0 / 0.5249 GB, free: 14.8 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.86e-05/0.1274, allocations: 36.23 kB / 0.5249 GB, free: 14.76 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002907/0.1277, allocations: 39.81 kB / 0.525 GB, free: 14.72 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005483/0.1283, allocations: 310 kB / 0.5253 GB, free: 14.39 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003149/0.1286, allocations: 0.7161 MB / 0.526 GB, free: 13.64 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.38e-05/0.1286, allocations: 19.44 kB / 0.526 GB, free: 13.62 MB / 414.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1286, allocations: 4 kB / 0.526 GB, free: 13.62 MB / 414.1 MB Notification: Performance of Templates: time 0.004331/0.133, allocations: 2.163 MB / 0.5281 GB, free: 11.45 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.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: 7.305716840084642]