Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.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.001586/0.001586, allocations: 109 kB / 20.45 MB, free: 1.52 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.00177/0.00177, allocations: 209.2 kB / 23.75 MB, free: 4.75 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.385/1.385, allocations: 207.6 MB / 234.5 MB, free: 10 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.2132/0.2132, allocations: 44.25 MB / 331 MB, free: 9.617 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.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13") [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.0023/0.0023, allocations: 71.84 kB / 468.8 MB, free: 3.988 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1249, allocations: 61.05 MB / 0.5174 GB, free: 6.801 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.00405/0.129, allocations: 1.923 MB / 0.5193 GB, free: 4.863 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001646/0.1306, allocations: 0.8739 MB / 0.5202 GB, free: 3.98 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001317/0.1308, allocations: 4 kB / 0.5202 GB, free: 3.977 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003345/0.1311, allocations: 39.72 kB / 0.5202 GB, free: 3.938 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002587/0.1313, allocations: 67.61 kB / 0.5203 GB, free: 3.871 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000327/0.1317, allocations: 107.7 kB / 0.5204 GB, free: 3.766 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002389/0.1319, allocations: 143.5 kB / 0.5205 GB, free: 3.625 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001194/0.132, allocations: 25.66 kB / 0.5205 GB, free: 3.594 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001208/0.1322, allocations: 55.73 kB / 0.5206 GB, free: 3.539 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001142/0.1323, allocations: 55.69 kB / 0.5206 GB, free: 3.484 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.706e-05/0.1323, allocations: 8 kB / 0.5206 GB, free: 3.477 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001191/0.1324, allocations: 43.98 kB / 0.5207 GB, free: 3.434 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.405e-05/0.1325, allocations: 27.86 kB / 0.5207 GB, free: 3.406 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.029e-05/0.1326, allocations: 55.59 kB / 0.5208 GB, free: 3.352 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002711/0.1328, allocations: 139.4 kB / 0.5209 GB, free: 3.215 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.1328, allocations: 4 kB / 0.5209 GB, free: 3.211 MB / 398.1 MB Notification: Performance of FrontEnd: time 7.51e-07/0.1328, allocations: 0 / 0.5209 GB, free: 3.211 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.984e-06/0.1328, allocations: 0 / 0.5209 GB, free: 3.211 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.0006737/0.1335, allocations: 411 kB / 0.5213 GB, free: 2.773 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.1336, allocations: 12.03 kB / 0.5213 GB, free: 2.762 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.182e-05/0.1336, allocations: 12.84 kB / 0.5213 GB, free: 2.75 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003318/0.1339, allocations: 167.5 kB / 0.5215 GB, free: 2.562 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.1339, allocations: 4.375 kB / 0.5215 GB, free: 2.559 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.431e-05/0.134, allocations: 20.06 kB / 0.5215 GB, free: 2.539 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002593/0.1342, allocations: 104.2 kB / 0.5216 GB, free: 2.422 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.1343, allocations: 0 / 0.5216 GB, free: 2.422 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/0.1343, allocations: 4 kB / 0.5216 GB, free: 2.418 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.1343, allocations: 4 kB / 0.5216 GB, free: 2.414 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001446/0.1344, allocations: 47.95 kB / 0.5217 GB, free: 2.367 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006387/0.1351, allocations: 492 kB / 0.5221 GB, free: 1.836 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003216/0.1354, allocations: 86.61 kB / 0.5222 GB, free: 1.742 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.657e-05/0.1355, allocations: 36.83 kB / 0.5222 GB, free: 1.703 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.825e-05/0.1355, allocations: 0 / 0.5222 GB, free: 1.703 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001849/0.1357, allocations: 83.38 kB / 0.5223 GB, free: 1.609 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.192e-06/0.1357, allocations: 0 / 0.5223 GB, free: 1.609 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003937/0.1361, allocations: 141.5 kB / 0.5225 GB, free: 1.465 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.408e-05/0.1361, allocations: 59.34 kB / 0.5225 GB, free: 1.395 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001927/0.1363, allocations: 187.6 kB / 0.5227 GB, free: 1.199 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.141e-05/0.1363, allocations: 29.7 kB / 0.5227 GB, free: 1.164 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.937e-05/0.1364, allocations: 108.1 kB / 0.5228 GB, free: 1.055 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.335e-05/0.1364, allocations: 35.67 kB / 0.5229 GB, free: 1.02 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.103e-05/0.1365, allocations: 33.7 kB / 0.5229 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001624/0.1367, allocations: 322.8 kB / 0.5232 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.518e-05/0.1367, allocations: 31.98 kB / 0.5232 GB, free: 0.625 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001312/0.1369, allocations: 68.27 kB / 0.5233 GB, free: 0.543 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001914/0.1371, allocations: 96.22 kB / 0.5234 GB, free: 444 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1371, allocations: 0 / 0.5234 GB, free: 444 kB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000281/0.1373, allocations: 137.8 kB / 0.5235 GB, free: 300 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.1374, allocations: 8 kB / 0.5235 GB, free: 292 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.1374, allocations: 3.938 kB / 0.5235 GB, free: 288 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.1374, allocations: 0 / 0.5235 GB, free: 288 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.1375, allocations: 35.98 kB / 0.5236 GB, free: 252 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.1375, allocations: 0 / 0.5236 GB, free: 252 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.644e-05/0.1376, allocations: 23.88 kB / 0.5236 GB, free: 228 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.136e-05/0.1376, allocations: 8 kB / 0.5236 GB, free: 220 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.0001174/0.1377, allocations: 121.8 kB / 0.5237 GB, free: 88 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.824e-05/0.1377, allocations: 15.91 kB / 0.5237 GB, free: 72 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003026/0.138, allocations: 123.1 kB / 0.5238 GB, free: 15.94 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.138, allocations: 7.938 kB / 0.5238 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.1381, allocations: 0 / 0.5238 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.1381, allocations: 7.984 kB / 0.5239 GB, free: 15.92 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001847/0.1382, allocations: 184.5 kB / 0.524 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1382, allocations: 0 / 0.524 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.192e-05/0.1383, allocations: 8 kB / 0.524 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.1383, allocations: 0 / 0.524 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/0.1383, allocations: 4 kB / 0.524 GB, free: 15.69 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.137e-06/0.1383, allocations: 3.938 kB / 0.524 GB, free: 15.69 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1383, allocations: 0 / 0.524 GB, free: 15.69 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003747/0.1387, allocations: 188.9 kB / 0.5242 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.858e-05/0.1387, allocations: 15.94 kB / 0.5242 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.492e-05/0.1388, allocations: 0 / 0.5242 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.273e-05/0.1388, allocations: 12.2 kB / 0.5243 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.462e-05/0.1389, allocations: 7.984 kB / 0.5243 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.139e-05/0.1389, allocations: 8 kB / 0.5243 GB, free: 15.44 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001363/0.139, allocations: 149.1 kB / 0.5244 GB, free: 15.3 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.139, allocations: 0 / 0.5244 GB, free: 15.3 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002358/0.1393, allocations: 27.94 kB / 0.5244 GB, free: 15.27 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.001466/0.1407, allocations: 405 kB / 0.5248 GB, free: 14.91 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002656/0.141, allocations: 79.83 kB / 0.5249 GB, free: 14.84 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.141, allocations: 0 / 0.5249 GB, free: 14.84 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001011/0.1411, allocations: 40.17 kB / 0.5249 GB, free: 14.8 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003199/0.1414, allocations: 43.83 kB / 0.525 GB, free: 14.75 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006114/0.142, allocations: 297.7 kB / 0.5253 GB, free: 14.43 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003475/0.1424, allocations: 0.7162 MB / 0.526 GB, free: 13.69 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.559e-05/0.1424, allocations: 19.44 kB / 0.526 GB, free: 13.67 MB / 414.1 MB Notification: Performance of SimCode: time 3e-07/0.1424, allocations: 0 / 0.526 GB, free: 13.67 MB / 414.1 MB Notification: Performance of Templates: time 0.004622/0.147, allocations: 2.171 MB / 0.5281 GB, free: 11.5 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.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.256995995063335]