Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.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.001447/0.001447, 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.001563/0.001563, allocations: 221.8 kB / 23.76 MB, free: 4.723 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.274/1.274, allocations: 207.6 MB / 234.5 MB, free: 9.996 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.1969/0.1969, allocations: 44.23 MB / 331 MB, free: 9.551 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.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74") [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.002118/0.002118, allocations: 71.89 kB / 468.8 MB, free: 3.977 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09854/0.1007, allocations: 61.05 MB / 0.5174 GB, free: 6.789 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.003145/0.1038, allocations: 1.863 MB / 0.5193 GB, free: 4.914 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001505/0.1053, allocations: 0.9207 MB / 0.5202 GB, free: 3.984 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.067e-05/0.1054, allocations: 4 kB / 0.5202 GB, free: 3.98 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004522/0.1058, allocations: 259.4 kB / 0.5204 GB, free: 3.727 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003209/0.1062, allocations: 187.4 kB / 0.5206 GB, free: 3.543 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003507/0.1065, allocations: 147.7 kB / 0.5207 GB, free: 3.398 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003019/0.1068, allocations: 243.3 kB / 0.521 GB, free: 3.16 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9e-05/0.1069, allocations: 21.66 kB / 0.521 GB, free: 3.137 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000173/0.1071, allocations: 139.5 kB / 0.5211 GB, free: 3 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000232/0.1073, allocations: 191.5 kB / 0.5213 GB, free: 2.812 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.493e-05/0.1073, allocations: 8 kB / 0.5213 GB, free: 2.805 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.245e-05/0.1074, allocations: 47.98 kB / 0.5213 GB, free: 2.758 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.132e-05/0.1075, allocations: 67.69 kB / 0.5214 GB, free: 2.691 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.039e-05/0.1076, allocations: 79.31 kB / 0.5215 GB, free: 2.613 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002845/0.1079, allocations: 226.9 kB / 0.5217 GB, free: 2.391 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1079, allocations: 4 kB / 0.5217 GB, free: 2.387 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1079, allocations: 0 / 0.5217 GB, free: 2.387 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.1079, allocations: 0 / 0.5217 GB, free: 2.387 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007059/0.1086, allocations: 0.4886 MB / 0.5222 GB, free: 1.867 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.133e-05/0.1086, allocations: 12.03 kB / 0.5222 GB, free: 1.855 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.801e-05/0.1087, allocations: 28.75 kB / 0.5222 GB, free: 1.828 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003298/0.109, allocations: 222.5 kB / 0.5224 GB, free: 1.59 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.659e-05/0.109, allocations: 8.375 kB / 0.5224 GB, free: 1.582 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.237e-05/0.109, allocations: 12.12 kB / 0.5225 GB, free: 1.57 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000204/0.1092, allocations: 95.3 kB / 0.5225 GB, free: 1.465 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.1093, allocations: 7.938 kB / 0.5226 GB, free: 1.457 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.491e-05/0.1093, allocations: 7.969 kB / 0.5226 GB, free: 1.449 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.1093, allocations: 0 / 0.5226 GB, free: 1.449 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001124/0.1094, allocations: 35.98 kB / 0.5226 GB, free: 1.414 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000504/0.1099, allocations: 435.9 kB / 0.523 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002691/0.1102, allocations: 109.3 kB / 0.5231 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.971e-05/0.1103, allocations: 41.7 kB / 0.5232 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.407e-05/0.1103, allocations: 4 kB / 0.5232 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002095/0.1105, allocations: 101.1 kB / 0.5233 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.102e-06/0.1105, allocations: 0 / 0.5233 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008272/0.1113, allocations: 401 kB / 0.5236 GB, free: 256 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.321e-05/0.1114, allocations: 85.05 kB / 0.5237 GB, free: 152 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004857/0.1119, allocations: 477.7 kB / 0.5242 GB, free: 15.67 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.495e-05/0.1119, allocations: 37.64 kB / 0.5242 GB, free: 15.63 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001166/0.112, allocations: 160.3 kB / 0.5244 GB, free: 15.47 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.195e-05/0.1121, allocations: 59.55 kB / 0.5244 GB, free: 15.41 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.894e-05/0.1121, allocations: 33.72 kB / 0.5245 GB, free: 15.37 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.1123, allocations: 342.8 kB / 0.5248 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001003/0.1124, allocations: 47.98 kB / 0.5248 GB, free: 14.98 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001127/0.1125, allocations: 67.41 kB / 0.5249 GB, free: 14.9 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002086/0.1127, allocations: 115.4 kB / 0.525 GB, free: 14.78 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.1127, allocations: 4 kB / 0.525 GB, free: 14.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003182/0.113, allocations: 189.6 kB / 0.5252 GB, free: 14.58 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.113, allocations: 4 kB / 0.5252 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.113, allocations: 80 / 0.5252 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.113, allocations: 4 kB / 0.5252 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001277/0.1132, allocations: 31.92 kB / 0.5252 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.309e-05/0.1132, allocations: 15.91 kB / 0.5252 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.226e-05/0.1133, allocations: 8 kB / 0.5252 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.044e-05/0.1133, allocations: 12 kB / 0.5253 GB, free: 14.51 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001564/0.1134, allocations: 173.7 kB / 0.5254 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.202e-05/0.1135, allocations: 27.81 kB / 0.5254 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003869/0.1138, allocations: 208.3 kB / 0.5256 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.1139, allocations: 4 kB / 0.5256 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.1139, allocations: 3.938 kB / 0.5257 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.1139, allocations: 3.984 kB / 0.5257 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007173/0.1146, allocations: 0.596 MB / 0.5262 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.1146, allocations: 4 kB / 0.5262 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.669e-05/0.1146, allocations: 19.92 kB / 0.5263 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.1146, allocations: 4 kB / 0.5263 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.1147, allocations: 4 kB / 0.5263 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.1147, allocations: 3.984 kB / 0.5263 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1147, allocations: 320 / 0.5263 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003953/0.1151, allocations: 380.2 kB / 0.5266 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.966e-05/0.1151, allocations: 27.8 kB / 0.5267 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.249e-05/0.1151, allocations: 4 kB / 0.5267 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001344/0.1153, allocations: 8 kB / 0.5267 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.715e-05/0.1153, allocations: 15.97 kB / 0.5267 GB, free: 12.94 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.963e-05/0.1153, allocations: 12 kB / 0.5267 GB, free: 12.93 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000336/0.1157, allocations: 359.1 kB / 0.527 GB, free: 12.58 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1157, allocations: 0 / 0.527 GB, free: 12.58 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003038/0.116, allocations: 35.94 kB / 0.5271 GB, free: 12.55 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001649/0.1176, allocations: 488.8 kB / 0.5275 GB, free: 12.11 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002774/0.1179, allocations: 107.9 kB / 0.5276 GB, free: 12 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1179, allocations: 0 / 0.5276 GB, free: 12 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001188/0.118, allocations: 51.91 kB / 0.5277 GB, free: 11.95 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005229/0.1185, allocations: 65.44 kB / 0.5278 GB, free: 11.89 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008101/0.1193, allocations: 0.5548 MB / 0.5283 GB, free: 11.29 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003931/0.1197, allocations: 0.7749 MB / 0.5291 GB, free: 10.48 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.248e-05/0.1198, allocations: 27.42 kB / 0.5291 GB, free: 10.46 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1198, allocations: 0 / 0.5291 GB, free: 10.46 MB / 414.1 MB Notification: Performance of Templates: time 0.00542/0.1252, allocations: 3.419 MB / 0.5324 GB, free: 7.039 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.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.203898024046794]