Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.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.001548/0.001548, allocations: 114.4 kB / 19.69 MB, free: 2.188 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.001587/0.001587, allocations: 218.3 kB / 23 MB, free: 5.004 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.727/1.727, allocations: 207.6 MB / 233.8 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.2374/0.2374, allocations: 44.24 MB / 330.3 MB, free: 9.523 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.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35") translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35") [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.002315/0.002315, allocations: 75.12 kB / 468 MB, free: 3.969 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1411, allocations: 61.04 MB / 0.5167 GB, free: 6.785 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.003556/0.1447, allocations: 1.726 MB / 0.5184 GB, free: 5.047 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00151/0.1462, allocations: 0.8235 MB / 0.5192 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.052e-05/0.1462, allocations: 3.938 kB / 0.5192 GB, free: 4.211 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004208/0.1467, allocations: 91.73 kB / 0.5193 GB, free: 4.121 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002799/0.147, allocations: 75.67 kB / 0.5193 GB, free: 4.047 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003166/0.1473, allocations: 91.75 kB / 0.5194 GB, free: 3.957 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002155/0.1475, allocations: 103.7 kB / 0.5195 GB, free: 3.855 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.1476, allocations: 12.2 kB / 0.5195 GB, free: 3.844 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001323/0.1477, allocations: 55.77 kB / 0.5196 GB, free: 3.789 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001469/0.1479, allocations: 79.73 kB / 0.5197 GB, free: 3.711 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.716e-05/0.1479, allocations: 0 / 0.5197 GB, free: 3.711 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.409e-05/0.148, allocations: 43.92 kB / 0.5197 GB, free: 3.668 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.697e-05/0.1481, allocations: 27.91 kB / 0.5197 GB, free: 3.641 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.254e-05/0.1481, allocations: 35.69 kB / 0.5198 GB, free: 3.605 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002473/0.1484, allocations: 119.5 kB / 0.5199 GB, free: 3.488 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.1484, allocations: 4 kB / 0.5199 GB, free: 3.484 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.1484, allocations: 3.938 kB / 0.5199 GB, free: 3.48 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.494e-06/0.1484, allocations: 0 / 0.5199 GB, free: 3.48 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006314/0.149, allocations: 357.5 kB / 0.5202 GB, free: 3.102 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.149, allocations: 8.031 kB / 0.5202 GB, free: 3.094 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.433e-05/0.1491, allocations: 16.84 kB / 0.5203 GB, free: 3.078 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000322/0.1494, allocations: 154.3 kB / 0.5204 GB, free: 2.902 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.1494, allocations: 384 / 0.5204 GB, free: 2.902 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.864e-05/0.1495, allocations: 12.12 kB / 0.5204 GB, free: 2.891 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000164/0.1496, allocations: 49.67 kB / 0.5205 GB, free: 2.836 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.1496, allocations: 0 / 0.5205 GB, free: 2.836 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.1497, allocations: 7.938 kB / 0.5205 GB, free: 2.828 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.1497, allocations: 4 kB / 0.5205 GB, free: 2.824 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.56e-05/0.1497, allocations: 19.98 kB / 0.5205 GB, free: 2.805 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004394/0.1502, allocations: 256 kB / 0.5207 GB, free: 2.512 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001888/0.1504, allocations: 54.67 kB / 0.5208 GB, free: 2.449 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.001e-05/0.1504, allocations: 24.78 kB / 0.5208 GB, free: 2.422 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.823e-05/0.1505, allocations: 4 kB / 0.5208 GB, free: 2.418 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001744/0.1506, allocations: 67.39 kB / 0.5209 GB, free: 2.34 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.503e-06/0.1506, allocations: 0 / 0.5209 GB, free: 2.34 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000588/0.1512, allocations: 177.5 kB / 0.5211 GB, free: 2.16 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.719e-05/0.1513, allocations: 55.41 kB / 0.5211 GB, free: 2.094 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000259/0.1515, allocations: 218.7 kB / 0.5213 GB, free: 1.863 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.42e-05/0.1516, allocations: 33.69 kB / 0.5213 GB, free: 1.824 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.504e-05/0.1516, allocations: 104.1 kB / 0.5214 GB, free: 1.719 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.566e-05/0.1517, allocations: 23.83 kB / 0.5215 GB, free: 1.695 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.494e-05/0.1517, allocations: 25.72 kB / 0.5215 GB, free: 1.664 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001854/0.1519, allocations: 326.8 kB / 0.5218 GB, free: 1.336 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.494e-05/0.152, allocations: 23.98 kB / 0.5218 GB, free: 1.312 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.719e-05/0.152, allocations: 37.77 kB / 0.5219 GB, free: 1.27 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001334/0.1522, allocations: 69.64 kB / 0.5219 GB, free: 1.195 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.1522, allocations: 0 / 0.5219 GB, free: 1.195 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002137/0.1524, allocations: 101.7 kB / 0.522 GB, free: 1.09 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.1524, allocations: 8 kB / 0.522 GB, free: 1.082 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.1524, allocations: 3.938 kB / 0.522 GB, free: 1.078 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.1524, allocations: 3.984 kB / 0.522 GB, free: 1.074 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001012/0.1525, allocations: 15.98 kB / 0.5221 GB, free: 1.059 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.1525, allocations: 4 kB / 0.5221 GB, free: 1.055 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.862e-05/0.1526, allocations: 7.969 kB / 0.5221 GB, free: 1.047 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.322e-05/0.1526, allocations: 8 kB / 0.5221 GB, free: 1.039 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 (10): * Single equations (assignments): 10 * 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.0001431/0.1527, allocations: 125.8 kB / 0.5222 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.536e-05/0.1528, allocations: 11.95 kB / 0.5222 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002775/0.153, allocations: 131 kB / 0.5223 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.215e-06/0.153, allocations: 0 / 0.5223 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.1531, allocations: 0 / 0.5223 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.177e-06/0.1531, allocations: 7.938 kB / 0.5223 GB, free: 0.75 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005372/0.1536, allocations: 366.4 kB / 0.5227 GB, free: 348 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1536, allocations: 0 / 0.5227 GB, free: 348 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.447e-05/0.1536, allocations: 8 kB / 0.5227 GB, free: 340 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.1536, allocations: 0 / 0.5227 GB, free: 340 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.277e-05/0.1537, allocations: 7.938 kB / 0.5227 GB, free: 332 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.1537, allocations: 0 / 0.5227 GB, free: 332 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1537, allocations: 0 / 0.5227 GB, free: 332 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002697/0.1539, allocations: 212.2 kB / 0.5229 GB, free: 100 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.313e-05/0.1539, allocations: 11.94 kB / 0.5229 GB, free: 88 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.18e-05/0.154, allocations: 11.94 kB / 0.5229 GB, free: 76 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.075e-05/0.154, allocations: 0 / 0.5229 GB, free: 76 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.067e-05/0.1541, allocations: 7.984 kB / 0.5229 GB, free: 68 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.541e-05/0.1541, allocations: 4 kB / 0.5229 GB, free: 64 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001875/0.1543, allocations: 168.3 kB / 0.5231 GB, free: 15.9 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1543, allocations: 0 / 0.5231 GB, free: 15.9 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002677/0.1546, allocations: 27.98 kB / 0.5231 GB, free: 15.87 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 6 * 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.001855/0.1564, allocations: 468.7 kB / 0.5236 GB, free: 15.46 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002031/0.1566, allocations: 67.91 kB / 0.5236 GB, free: 15.39 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1566, allocations: 0 / 0.5236 GB, free: 15.39 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.53e-05/0.1567, allocations: 23.94 kB / 0.5237 GB, free: 15.37 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003632/0.1571, allocations: 31.83 kB / 0.5237 GB, free: 15.34 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006115/0.1577, allocations: 246.8 kB / 0.5239 GB, free: 15.07 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004713/0.1581, allocations: 0.7159 MB / 0.5246 GB, free: 14.33 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.238e-05/0.1582, allocations: 17.28 kB / 0.5246 GB, free: 14.31 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.62e-05/0.1582, allocations: 19.42 kB / 0.5247 GB, free: 14.29 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1582, allocations: 0 / 0.5247 GB, free: 14.29 MB / 414.1 MB Notification: Performance of Templates: time 0.005653/0.1639, allocations: 1.765 MB / 0.5264 GB, free: 12.53 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.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.834409157978371]