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.001929/0.001929, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.002408/0.002408, allocations: 215.4 kB / 22.99 MB, free: 4.602 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.68/1.68, allocations: 207.7 MB / 233.8 MB, free: 9.805 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.2438/0.2438, allocations: 44.26 MB / 330.3 MB, free: 9.316 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.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.00239/0.00239, allocations: 78.75 kB / 468.1 MB, free: 3.812 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1355, allocations: 61.04 MB / 0.5167 GB, free: 6.633 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.003555/0.1391, allocations: 1.876 MB / 0.5185 GB, free: 4.742 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001469/0.1405, allocations: 0.8079 MB / 0.5193 GB, free: 3.926 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.001e-05/0.1406, allocations: 3.938 kB / 0.5193 GB, free: 3.922 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002964/0.1409, allocations: 51.69 kB / 0.5194 GB, free: 3.871 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002214/0.1411, allocations: 63.58 kB / 0.5194 GB, free: 3.809 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002891/0.1414, allocations: 111.7 kB / 0.5195 GB, free: 3.699 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002193/0.1416, allocations: 139.5 kB / 0.5197 GB, free: 3.562 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.1418, allocations: 25.66 kB / 0.5197 GB, free: 3.531 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001056/0.1419, allocations: 55.72 kB / 0.5197 GB, free: 3.477 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001004/0.142, allocations: 43.77 kB / 0.5198 GB, free: 3.434 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.195e-05/0.142, allocations: 11.94 kB / 0.5198 GB, free: 3.422 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.788e-05/0.1421, allocations: 43.98 kB / 0.5198 GB, free: 3.379 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.612e-05/0.1422, allocations: 31.84 kB / 0.5199 GB, free: 3.348 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.567e-05/0.1422, allocations: 43.73 kB / 0.5199 GB, free: 3.305 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002451/0.1425, allocations: 139.4 kB / 0.52 GB, free: 3.168 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1425, allocations: 0 / 0.52 GB, free: 3.168 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1425, allocations: 4 kB / 0.5201 GB, free: 3.164 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.1425, allocations: 4 kB / 0.5201 GB, free: 3.16 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.000713/0.1432, allocations: 415 kB / 0.5205 GB, free: 2.719 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.1432, allocations: 8.031 kB / 0.5205 GB, free: 2.711 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.245e-05/0.1433, allocations: 16.84 kB / 0.5205 GB, free: 2.695 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002964/0.1436, allocations: 159.3 kB / 0.5206 GB, free: 2.516 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.98e-05/0.1436, allocations: 8.375 kB / 0.5206 GB, free: 2.508 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.139e-05/0.1436, allocations: 12.08 kB / 0.5206 GB, free: 2.496 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002714/0.1439, allocations: 141.9 kB / 0.5208 GB, free: 2.336 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.639e-06/0.1439, allocations: 0 / 0.5208 GB, free: 2.336 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.1439, allocations: 0 / 0.5208 GB, free: 2.336 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.699e-06/0.1439, allocations: 4 kB / 0.5208 GB, free: 2.332 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001554/0.1441, allocations: 43.97 kB / 0.5208 GB, free: 2.289 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006693/0.1448, allocations: 452.7 kB / 0.5213 GB, free: 1.809 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003282/0.1451, allocations: 86.61 kB / 0.5213 GB, free: 1.715 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001009/0.1452, allocations: 40.83 kB / 0.5214 GB, free: 1.672 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.19e-05/0.1452, allocations: 4 kB / 0.5214 GB, free: 1.668 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001952/0.1454, allocations: 101.1 kB / 0.5215 GB, free: 1.551 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.363e-06/0.1454, allocations: 0 / 0.5215 GB, free: 1.551 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.000435/0.1459, allocations: 149.7 kB / 0.5216 GB, free: 1.398 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.421e-05/0.1459, allocations: 63.39 kB / 0.5217 GB, free: 1.324 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00021/0.1461, allocations: 191.5 kB / 0.5219 GB, free: 1.125 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.282e-05/0.1461, allocations: 33.7 kB / 0.5219 GB, free: 1.086 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.765e-05/0.1462, allocations: 112.1 kB / 0.522 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.983e-05/0.1463, allocations: 31.73 kB / 0.522 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.254e-05/0.1463, allocations: 33.66 kB / 0.5221 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.1465, allocations: 322.8 kB / 0.5224 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.505e-05/0.1466, allocations: 35.91 kB / 0.5224 GB, free: 0.543 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001171/0.1467, allocations: 64.27 kB / 0.5225 GB, free: 476 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001999/0.1469, allocations: 96.22 kB / 0.5226 GB, free: 364 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.1469, allocations: 4 kB / 0.5226 GB, free: 360 kB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002853/0.1472, allocations: 141.4 kB / 0.5227 GB, free: 212 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.1472, allocations: 7.984 kB / 0.5227 GB, free: 204 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.1472, allocations: 0 / 0.5227 GB, free: 204 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.1472, allocations: 4 kB / 0.5227 GB, free: 200 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/0.1473, allocations: 28.06 kB / 0.5227 GB, free: 172 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/0.1473, allocations: 7.922 kB / 0.5227 GB, free: 164 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.587e-05/0.1474, allocations: 15.89 kB / 0.5228 GB, free: 148 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.063e-05/0.1474, allocations: 4 kB / 0.5228 GB, free: 144 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.0001232/0.1475, allocations: 129.8 kB / 0.5229 GB, free: 4 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.501e-05/0.1476, allocations: 11.95 kB / 0.5229 GB, free: 15.99 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003137/0.1479, allocations: 139.1 kB / 0.523 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.1479, allocations: 0 / 0.523 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.1479, allocations: 7.938 kB / 0.523 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.1479, allocations: 0 / 0.523 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001759/0.1481, allocations: 153.2 kB / 0.5232 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1481, allocations: 0 / 0.5232 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.43e-05/0.1482, allocations: 19.97 kB / 0.5232 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.1482, allocations: 0 / 0.5232 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.1482, allocations: 0 / 0.5232 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.1482, allocations: 4 kB / 0.5232 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1482, allocations: 0 / 0.5232 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000412/0.1486, allocations: 196.8 kB / 0.5234 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.453e-05/0.1486, allocations: 16.12 kB / 0.5234 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.668e-05/0.1486, allocations: 4 kB / 0.5234 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.438e-05/0.1487, allocations: 7.984 kB / 0.5234 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.83e-05/0.1487, allocations: 7.984 kB / 0.5234 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.087e-05/0.1488, allocations: 7.938 kB / 0.5234 GB, free: 15.38 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001451/0.1489, allocations: 149.1 kB / 0.5236 GB, free: 15.24 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1489, allocations: 0 / 0.5236 GB, free: 15.24 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002485/0.1492, allocations: 27.94 kB / 0.5236 GB, free: 15.21 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 (10): * Single equations (assignments): 8 * 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.001731/0.1509, allocations: 445.5 kB / 0.524 GB, free: 14.82 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002724/0.1512, allocations: 87.83 kB / 0.5241 GB, free: 14.73 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1512, allocations: 0 / 0.5241 GB, free: 14.73 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001079/0.1513, allocations: 35.92 kB / 0.5242 GB, free: 14.7 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003006/0.1516, allocations: 39.83 kB / 0.5242 GB, free: 14.66 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005381/0.1521, allocations: 268 kB / 0.5244 GB, free: 14.37 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.57e-05/0.1522, allocations: 106.9 kB / 0.5245 GB, free: 14.25 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.938e-05/0.1523, allocations: 21.06 kB / 0.5246 GB, free: 14.23 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.959e-05/0.1523, allocations: 15.81 kB / 0.5246 GB, free: 14.21 MB / 414.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1523, allocations: 0 / 0.5246 GB, free: 14.21 MB / 414.1 MB Notification: Performance of Templates: time 0.00609/0.1584, allocations: 2.131 MB / 0.5267 GB, free: 12.1 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","/var/lib/jenkins/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: 5.737321766093373]