Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.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.001479/0.001479, 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.001809/0.001809, allocations: 211.6 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.719/1.719, 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.2518/0.2518, 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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11") [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.002393/0.002393, allocations: 75.91 kB / 468.1 MB, free: 3.785 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.1411, allocations: 61.04 MB / 0.5167 GB, free: 6.617 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.003697/0.1448, allocations: 1.88 MB / 0.5185 GB, free: 4.723 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001488/0.1463, allocations: 0.8157 MB / 0.5193 GB, free: 3.898 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.686e-05/0.1464, allocations: 3.938 kB / 0.5193 GB, free: 3.895 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003279/0.1467, allocations: 35.77 kB / 0.5194 GB, free: 3.859 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002881/0.147, allocations: 71.56 kB / 0.5194 GB, free: 3.789 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000446/0.1475, allocations: 107.7 kB / 0.5195 GB, free: 3.684 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002973/0.1478, allocations: 139.5 kB / 0.5197 GB, free: 3.547 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002361/0.148, allocations: 21.67 kB / 0.5197 GB, free: 3.52 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001183/0.1481, allocations: 59.7 kB / 0.5197 GB, free: 3.461 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001285/0.1483, allocations: 47.78 kB / 0.5198 GB, free: 3.414 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.751e-05/0.1483, allocations: 7.938 kB / 0.5198 GB, free: 3.406 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001331/0.1484, allocations: 47.98 kB / 0.5198 GB, free: 3.359 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.726e-05/0.1485, allocations: 31.89 kB / 0.5199 GB, free: 3.328 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.83e-05/0.1486, allocations: 39.69 kB / 0.5199 GB, free: 3.289 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003309/0.1489, allocations: 143.4 kB / 0.52 GB, free: 3.148 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.1489, allocations: 0 / 0.52 GB, free: 3.148 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1489, allocations: 0 / 0.52 GB, free: 3.148 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.875e-06/0.1489, allocations: 0 / 0.52 GB, free: 3.148 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.0007644/0.1497, allocations: 411.1 kB / 0.5204 GB, free: 2.711 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.1497, allocations: 12.03 kB / 0.5205 GB, free: 2.699 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.568e-05/0.1498, allocations: 20.78 kB / 0.5205 GB, free: 2.68 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004102/0.1502, allocations: 159.3 kB / 0.5206 GB, free: 2.5 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.754e-05/0.1502, allocations: 4.375 kB / 0.5206 GB, free: 2.496 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.904e-05/0.1503, allocations: 16.08 kB / 0.5206 GB, free: 2.48 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003586/0.1506, allocations: 133.9 kB / 0.5208 GB, free: 2.328 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/0.1506, allocations: 4 kB / 0.5208 GB, free: 2.324 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/0.1507, allocations: 0 / 0.5208 GB, free: 2.324 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.1507, allocations: 0 / 0.5208 GB, free: 2.324 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001594/0.1508, allocations: 55.95 kB / 0.5208 GB, free: 2.27 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006548/0.1515, allocations: 452.7 kB / 0.5213 GB, free: 1.789 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003567/0.1518, allocations: 86.59 kB / 0.5213 GB, free: 1.695 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001134/0.1519, allocations: 36.83 kB / 0.5214 GB, free: 1.656 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.706e-05/0.152, allocations: 0 / 0.5214 GB, free: 1.656 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002261/0.1522, allocations: 117 kB / 0.5215 GB, free: 1.523 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.282e-06/0.1522, allocations: 0 / 0.5215 GB, free: 1.523 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004534/0.1526, allocations: 145.5 kB / 0.5216 GB, free: 1.375 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.118e-05/0.1527, allocations: 55.41 kB / 0.5217 GB, free: 1.309 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002263/0.1529, allocations: 195.5 kB / 0.5219 GB, free: 1.105 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.6e-05/0.1529, allocations: 29.7 kB / 0.5219 GB, free: 1.07 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001069/0.1531, allocations: 112.1 kB / 0.522 GB, free: 0.957 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.357e-05/0.1531, allocations: 27.75 kB / 0.522 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.936e-05/0.1531, allocations: 29.7 kB / 0.5221 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001745/0.1533, allocations: 330.8 kB / 0.5224 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.63e-05/0.1534, allocations: 39.86 kB / 0.5224 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000119/0.1535, allocations: 60.27 kB / 0.5225 GB, free: 460 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000208/0.1537, allocations: 108.2 kB / 0.5226 GB, free: 336 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1537, allocations: 0 / 0.5226 GB, free: 336 kB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002934/0.154, allocations: 141.4 kB / 0.5227 GB, free: 188 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.154, allocations: 4.469 kB / 0.5227 GB, free: 184 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.1541, allocations: 0 / 0.5227 GB, free: 184 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.159e-05/0.1541, allocations: 7.984 kB / 0.5227 GB, free: 176 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001104/0.1542, allocations: 27.92 kB / 0.5227 GB, free: 148 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.234e-05/0.1542, allocations: 7.938 kB / 0.5228 GB, free: 140 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.36e-05/0.1543, allocations: 19.81 kB / 0.5228 GB, free: 120 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.16e-05/0.1543, allocations: 4.125 kB / 0.5228 GB, free: 116 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.000169/0.1544, allocations: 125.8 kB / 0.5229 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.815e-05/0.1545, allocations: 15.91 kB / 0.5229 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000319/0.1548, allocations: 139 kB / 0.523 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.1548, allocations: 0 / 0.523 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.006e-05/0.1548, allocations: 3.938 kB / 0.523 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.1548, allocations: 0 / 0.523 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001952/0.155, allocations: 145.3 kB / 0.5232 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.155, allocations: 0 / 0.5232 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.452e-05/0.1551, allocations: 15.94 kB / 0.5232 GB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.1551, allocations: 4 kB / 0.5232 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.1551, allocations: 0 / 0.5232 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.496e-06/0.1551, allocations: 3.984 kB / 0.5232 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1551, allocations: 4 kB / 0.5232 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004195/0.1555, allocations: 188.9 kB / 0.5234 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.235e-05/0.1556, allocations: 20.05 kB / 0.5234 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.359e-05/0.1556, allocations: 4 kB / 0.5234 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.208e-05/0.1557, allocations: 4 kB / 0.5234 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.853e-05/0.1557, allocations: 12.05 kB / 0.5234 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.125e-05/0.1557, allocations: 7.938 kB / 0.5234 GB, free: 15.37 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000159/0.1559, allocations: 149.1 kB / 0.5236 GB, free: 15.22 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1559, allocations: 0 / 0.5236 GB, free: 15.22 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002464/0.1561, allocations: 31.92 kB / 0.5236 GB, free: 15.19 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.001718/0.1578, allocations: 449.7 kB / 0.524 GB, free: 14.79 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002773/0.1581, allocations: 83.83 kB / 0.5241 GB, free: 14.71 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.1581, allocations: 8.25 kB / 0.5241 GB, free: 14.7 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001067/0.1582, allocations: 31.92 kB / 0.5242 GB, free: 14.67 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003408/0.1586, allocations: 40.2 kB / 0.5242 GB, free: 14.63 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006614/0.1592, allocations: 268 kB / 0.5245 GB, free: 14.34 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001068/0.1593, allocations: 102.6 kB / 0.5246 GB, free: 14.23 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.909e-05/0.1594, allocations: 21.08 kB / 0.5246 GB, free: 14.21 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.275e-05/0.1595, allocations: 19.44 kB / 0.5246 GB, free: 14.19 MB / 414.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1595, allocations: 0 / 0.5246 GB, free: 14.19 MB / 414.1 MB Notification: Performance of Templates: time 0.006208/0.1657, allocations: 2.128 MB / 0.5267 GB, free: 12.08 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.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.78612001426518]