Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.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.00124/0.00124, 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.001333/0.001333, allocations: 211.3 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.277/1.277, allocations: 207.6 MB / 234.5 MB, free: 9.988 MB / 190.1 MB " [Timeout remaining time 179] 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.2006/0.2006, allocations: 44.23 MB / 331 MB, free: 9.523 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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18") translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18") [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.00212/0.00212, allocations: 79.88 kB / 468.8 MB, free: 3.957 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1084, allocations: 61.03 MB / 0.5174 GB, free: 6.785 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.002958/0.1114, allocations: 1.729 MB / 0.5191 GB, free: 5.047 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001274/0.1126, allocations: 0.8273 MB / 0.5199 GB, free: 4.211 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.862e-05/0.1127, allocations: 3.938 kB / 0.5199 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002527/0.1129, allocations: 31.83 kB / 0.52 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002029/0.1131, allocations: 63.69 kB / 0.52 GB, free: 4.113 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002414/0.1134, allocations: 87.77 kB / 0.5201 GB, free: 4.027 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001552/0.1135, allocations: 95.69 kB / 0.5202 GB, free: 3.934 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.738e-05/0.1136, allocations: 8.219 kB / 0.5202 GB, free: 3.926 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.26e-05/0.1137, allocations: 47.78 kB / 0.5202 GB, free: 3.879 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.363e-05/0.1138, allocations: 31.84 kB / 0.5203 GB, free: 3.848 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.534e-05/0.1138, allocations: 7.938 kB / 0.5203 GB, free: 3.84 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.877e-05/0.1139, allocations: 39.98 kB / 0.5203 GB, free: 3.801 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.677e-05/0.1139, allocations: 19.91 kB / 0.5203 GB, free: 3.781 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.849e-05/0.114, allocations: 31.75 kB / 0.5204 GB, free: 3.75 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001821/0.1142, allocations: 111.6 kB / 0.5205 GB, free: 3.641 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.1142, allocations: 3.938 kB / 0.5205 GB, free: 3.637 MB / 398.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.1142, allocations: 0 / 0.5205 GB, free: 3.637 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.08e-06/0.1142, allocations: 0 / 0.5205 GB, free: 3.637 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.0005069/0.1147, allocations: 333.6 kB / 0.5208 GB, free: 3.281 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.189e-05/0.1147, allocations: 12.03 kB / 0.5208 GB, free: 3.27 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.66e-05/0.1147, allocations: 8.891 kB / 0.5208 GB, free: 3.262 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002298/0.115, allocations: 146.2 kB / 0.521 GB, free: 3.094 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/0.115, allocations: 8.375 kB / 0.521 GB, free: 3.086 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.043e-05/0.115, allocations: 8.125 kB / 0.521 GB, free: 3.078 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001362/0.1152, allocations: 53.67 kB / 0.521 GB, free: 3.02 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.1152, allocations: 7.953 kB / 0.521 GB, free: 3.012 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-06/0.1152, allocations: 3.938 kB / 0.521 GB, free: 3.008 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.1152, allocations: 0 / 0.521 GB, free: 3.008 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.808e-05/0.1152, allocations: 19.92 kB / 0.5211 GB, free: 2.988 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003364/0.1156, allocations: 260 kB / 0.5213 GB, free: 2.691 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001637/0.1157, allocations: 54.67 kB / 0.5214 GB, free: 2.629 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.022e-05/0.1158, allocations: 20.84 kB / 0.5214 GB, free: 2.605 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.767e-05/0.1158, allocations: 0 / 0.5214 GB, free: 2.605 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001421/0.116, allocations: 75.33 kB / 0.5214 GB, free: 2.52 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.116, allocations: 0 / 0.5214 GB, free: 2.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004993/0.1165, allocations: 181.3 kB / 0.5216 GB, free: 2.336 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.873e-05/0.1165, allocations: 55.34 kB / 0.5217 GB, free: 2.27 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001624/0.1167, allocations: 166.2 kB / 0.5218 GB, free: 2.098 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.843e-05/0.1167, allocations: 29.7 kB / 0.5219 GB, free: 2.062 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.986e-05/0.1167, allocations: 100.1 kB / 0.522 GB, free: 1.961 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.021e-05/0.1168, allocations: 23.84 kB / 0.522 GB, free: 1.938 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.989e-05/0.1168, allocations: 21.72 kB / 0.522 GB, free: 1.91 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.1169, allocations: 326.8 kB / 0.5223 GB, free: 1.582 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.031e-05/0.117, allocations: 23.98 kB / 0.5223 GB, free: 1.559 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.327e-05/0.1171, allocations: 33.7 kB / 0.5224 GB, free: 1.52 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001141/0.1172, allocations: 65.64 kB / 0.5224 GB, free: 1.449 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.1172, allocations: 0 / 0.5224 GB, free: 1.449 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001741/0.1174, allocations: 97.58 kB / 0.5225 GB, free: 1.348 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.1174, allocations: 12.03 kB / 0.5225 GB, free: 1.336 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.1174, allocations: 0 / 0.5225 GB, free: 1.336 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.1174, allocations: 0 / 0.5225 GB, free: 1.336 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.124e-05/0.1175, allocations: 15.94 kB / 0.5225 GB, free: 1.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.742e-06/0.1175, allocations: 4 kB / 0.5225 GB, free: 1.316 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.649e-05/0.1175, allocations: 11.92 kB / 0.5226 GB, free: 1.305 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.1175, allocations: 4 kB / 0.5226 GB, free: 1.301 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.0001036/0.1176, allocations: 117.8 kB / 0.5227 GB, free: 1.176 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.115e-05/0.1177, allocations: 7.953 kB / 0.5227 GB, free: 1.168 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002282/0.1179, allocations: 122.2 kB / 0.5228 GB, free: 1.039 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.1179, allocations: 0 / 0.5228 GB, free: 1.039 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.1179, allocations: 4 kB / 0.5228 GB, free: 1.035 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.1179, allocations: 3.938 kB / 0.5228 GB, free: 1.031 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004263/0.1183, allocations: 366.6 kB / 0.5232 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1183, allocations: 192 / 0.5232 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.177e-05/0.1184, allocations: 11.98 kB / 0.5232 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.1184, allocations: 3.938 kB / 0.5232 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.1184, allocations: 11.97 kB / 0.5232 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.1184, allocations: 0 / 0.5232 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.1184, allocations: 0 / 0.5232 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002271/0.1186, allocations: 204.3 kB / 0.5234 GB, free: 384 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.585e-05/0.1186, allocations: 12.27 kB / 0.5234 GB, free: 372 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.205e-05/0.1186, allocations: 3.938 kB / 0.5234 GB, free: 368 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.1e-05/0.1187, allocations: 15.98 kB / 0.5234 GB, free: 352 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.233e-05/0.1187, allocations: 8 kB / 0.5234 GB, free: 344 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.359e-05/0.1188, allocations: 3.984 kB / 0.5234 GB, free: 340 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001091/0.1189, allocations: 128.1 kB / 0.5235 GB, free: 212 kB / 398.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1189, allocations: 0 / 0.5235 GB, free: 212 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002442/0.1191, allocations: 24 kB / 0.5236 GB, free: 188 kB / 398.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.001664/0.1208, allocations: 460.7 kB / 0.524 GB, free: 15.78 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001765/0.1209, allocations: 55.91 kB / 0.5241 GB, free: 15.73 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.121, allocations: 0 / 0.5241 GB, free: 15.73 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.924e-05/0.121, allocations: 27.92 kB / 0.5241 GB, free: 15.7 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003179/0.1213, allocations: 24.59 kB / 0.5241 GB, free: 15.68 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004336/0.1218, allocations: 248.4 kB / 0.5243 GB, free: 15.4 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003143/0.1221, allocations: 0.7001 MB / 0.525 GB, free: 14.67 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.365e-05/0.1221, allocations: 15.44 kB / 0.525 GB, free: 14.66 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1221, allocations: 0 / 0.525 GB, free: 14.66 MB / 414.1 MB Notification: Performance of Templates: time 0.003737/0.1259, allocations: 1.909 MB / 0.5269 GB, free: 12.75 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.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.055752050131559]