Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.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.001396/0.001396, 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.001525/0.001525, allocations: 217.3 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.383/1.383, allocations: 207.6 MB / 234.5 MB, free: 9.988 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.2013/0.2013, allocations: 44.23 MB / 331 MB, free: 9.52 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.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37") [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.002106/0.002106, allocations: 78.84 kB / 468.8 MB, free: 3.953 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.1291, allocations: 61.03 MB / 0.5174 GB, free: 6.781 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.00357/0.1327, allocations: 1.684 MB / 0.5191 GB, free: 5.086 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001482/0.1342, allocations: 0.8079 MB / 0.5199 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.655e-05/0.1343, allocations: 0 / 0.5199 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003548/0.1346, allocations: 67.72 kB / 0.5199 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002808/0.1349, allocations: 71.73 kB / 0.52 GB, free: 4.133 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002978/0.1352, allocations: 75.78 kB / 0.5201 GB, free: 4.059 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002119/0.1354, allocations: 107.6 kB / 0.5202 GB, free: 3.953 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.492e-05/0.1355, allocations: 7.984 kB / 0.5202 GB, free: 3.945 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001364/0.1356, allocations: 55.7 kB / 0.5202 GB, free: 3.891 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001198/0.1357, allocations: 43.83 kB / 0.5203 GB, free: 3.848 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.081e-05/0.1357, allocations: 4 kB / 0.5203 GB, free: 3.844 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.29e-05/0.1358, allocations: 24 kB / 0.5203 GB, free: 3.82 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.57e-05/0.1359, allocations: 23.91 kB / 0.5203 GB, free: 3.797 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.692e-05/0.1359, allocations: 31.8 kB / 0.5203 GB, free: 3.766 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002325/0.1362, allocations: 107.5 kB / 0.5205 GB, free: 3.66 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1362, allocations: 3.938 kB / 0.5205 GB, free: 3.656 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1362, allocations: 0 / 0.5205 GB, free: 3.656 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.1362, allocations: 0 / 0.5205 GB, free: 3.656 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005692/0.1368, allocations: 321.8 kB / 0.5208 GB, free: 3.312 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.1368, allocations: 12.03 kB / 0.5208 GB, free: 3.301 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.923e-05/0.1369, allocations: 12.84 kB / 0.5208 GB, free: 3.289 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000311/0.1372, allocations: 146.3 kB / 0.5209 GB, free: 3.121 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.1372, allocations: 12.36 kB / 0.5209 GB, free: 3.109 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.722e-05/0.1372, allocations: 4.125 kB / 0.5209 GB, free: 3.105 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001495/0.1374, allocations: 41.69 kB / 0.521 GB, free: 3.059 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.1374, allocations: 4 kB / 0.521 GB, free: 3.055 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.1374, allocations: 7.969 kB / 0.521 GB, free: 3.047 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.1374, allocations: 3.938 kB / 0.521 GB, free: 3.043 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.521e-05/0.1375, allocations: 12 kB / 0.521 GB, free: 3.031 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002224/0.1377, allocations: 148.8 kB / 0.5211 GB, free: 2.844 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001691/0.1379, allocations: 54.61 kB / 0.5212 GB, free: 2.781 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.757e-05/0.1379, allocations: 20.8 kB / 0.5212 GB, free: 2.758 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.281e-05/0.1379, allocations: 3.984 kB / 0.5212 GB, free: 2.754 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001603/0.1381, allocations: 71.31 kB / 0.5213 GB, free: 2.672 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.312e-06/0.1381, allocations: 0 / 0.5213 GB, free: 2.672 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.000304/0.1384, allocations: 97.62 kB / 0.5214 GB, free: 2.57 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.568e-05/0.1384, allocations: 51.41 kB / 0.5214 GB, free: 2.508 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001987/0.1386, allocations: 194.1 kB / 0.5216 GB, free: 2.309 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.688e-05/0.1387, allocations: 25.7 kB / 0.5216 GB, free: 2.277 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.726e-05/0.1387, allocations: 100.1 kB / 0.5217 GB, free: 2.176 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.75e-05/0.1388, allocations: 11.94 kB / 0.5218 GB, free: 2.164 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.597e-05/0.1388, allocations: 17.72 kB / 0.5218 GB, free: 2.141 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001685/0.139, allocations: 326.8 kB / 0.5221 GB, free: 1.812 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.144e-05/0.139, allocations: 12 kB / 0.5221 GB, free: 1.801 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.92e-05/0.1391, allocations: 33.64 kB / 0.5221 GB, free: 1.762 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001022/0.1392, allocations: 41.7 kB / 0.5222 GB, free: 1.715 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1392, allocations: 0 / 0.5222 GB, free: 1.715 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001671/0.1394, allocations: 89.72 kB / 0.5222 GB, free: 1.621 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.1394, allocations: 11.97 kB / 0.5223 GB, free: 1.609 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.1394, allocations: 4.062 kB / 0.5223 GB, free: 1.605 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.991e-05/0.1394, allocations: 0 / 0.5223 GB, free: 1.605 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.243e-05/0.1395, allocations: 19.98 kB / 0.5223 GB, free: 1.586 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.012e-06/0.1395, allocations: 0 / 0.5223 GB, free: 1.586 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.783e-05/0.1395, allocations: 3.938 kB / 0.5223 GB, free: 1.582 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/0.1396, allocations: 4 kB / 0.5223 GB, free: 1.578 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001319/0.1397, allocations: 125.8 kB / 0.5224 GB, free: 1.445 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.464e-05/0.1397, allocations: 11.89 kB / 0.5224 GB, free: 1.434 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002176/0.1399, allocations: 94.02 kB / 0.5225 GB, free: 1.332 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.1399, allocations: 0 / 0.5225 GB, free: 1.332 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/0.1399, allocations: 0 / 0.5225 GB, free: 1.332 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.1399, allocations: 4 kB / 0.5225 GB, free: 1.328 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000177/0.1401, allocations: 156.6 kB / 0.5227 GB, free: 1.133 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1401, allocations: 0 / 0.5227 GB, free: 1.133 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.505e-05/0.1401, allocations: 7.984 kB / 0.5227 GB, free: 1.125 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.1402, allocations: 0 / 0.5227 GB, free: 1.125 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.1402, allocations: 4 kB / 0.5227 GB, free: 1.121 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1402, allocations: 0 / 0.5227 GB, free: 1.121 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.1402, allocations: 0 / 0.5227 GB, free: 1.121 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002094/0.1404, allocations: 116.9 kB / 0.5228 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.995e-05/0.1404, allocations: 7.953 kB / 0.5228 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.016e-05/0.1404, allocations: 0 / 0.5228 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.808e-05/0.1405, allocations: 4 kB / 0.5228 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.094e-05/0.1405, allocations: 7.984 kB / 0.5228 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.598e-05/0.1405, allocations: 4 kB / 0.5228 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001354/0.1406, allocations: 143.2 kB / 0.5229 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1406, allocations: 0 / 0.5229 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002175/0.1409, allocations: 12 kB / 0.523 GB, free: 0.8125 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (5): * Single equations (assignments): 3 * 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.001559/0.1424, allocations: 421.9 kB / 0.5234 GB, free: 456 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001848/0.1426, allocations: 35.92 kB / 0.5234 GB, free: 420 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1426, allocations: 0 / 0.5234 GB, free: 420 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.489e-05/0.1427, allocations: 19.98 kB / 0.5234 GB, free: 400 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002926/0.143, allocations: 35.84 kB / 0.5234 GB, free: 364 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005345/0.1435, allocations: 219.6 kB / 0.5237 GB, free: 112 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003584/0.1439, allocations: 0.6924 MB / 0.5243 GB, free: 15.39 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.927e-05/0.1439, allocations: 19.42 kB / 0.5244 GB, free: 15.37 MB / 414.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1439, allocations: 0 / 0.5244 GB, free: 15.37 MB / 414.1 MB Notification: Performance of Templates: time 0.004629/0.1485, allocations: 1.691 MB / 0.526 GB, free: 13.68 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.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.1172589380294085]