Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.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.001584/0.001584, allocations: 109 kB / 20.45 MB, free: 1.512 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.001729/0.001729, allocations: 215 kB / 23.76 MB, free: 4.742 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.338/1.338, allocations: 207.6 MB / 234.5 MB, free: 9.992 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.2053/0.2053, allocations: 44.24 MB / 331 MB, free: 9.527 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.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15") translateModel(ModelicaTest.Tables.CombiTimeTable.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15") [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.002088/0.002088, allocations: 72.98 kB / 468.8 MB, free: 3.953 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.1036, allocations: 61.05 MB / 0.5174 GB, free: 6.77 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.002878/0.1064, allocations: 1.719 MB / 0.5191 GB, free: 5.039 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001302/0.1077, allocations: 0.8234 MB / 0.5199 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.696e-05/0.1078, allocations: 0 / 0.5199 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000244/0.108, allocations: 39.77 kB / 0.52 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001892/0.1082, allocations: 55.77 kB / 0.52 GB, free: 4.113 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002249/0.1085, allocations: 95.69 kB / 0.5201 GB, free: 4.02 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001587/0.1086, allocations: 95.7 kB / 0.5202 GB, free: 3.926 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.786e-05/0.1087, allocations: 12.2 kB / 0.5202 GB, free: 3.914 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.502e-05/0.1088, allocations: 43.78 kB / 0.5202 GB, free: 3.871 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.177e-05/0.1089, allocations: 27.86 kB / 0.5203 GB, free: 3.844 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.568e-05/0.1089, allocations: 4 kB / 0.5203 GB, free: 3.84 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.585e-05/0.109, allocations: 43.92 kB / 0.5203 GB, free: 3.797 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.737e-05/0.109, allocations: 23.91 kB / 0.5203 GB, free: 3.773 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.812e-05/0.1091, allocations: 31.73 kB / 0.5204 GB, free: 3.742 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001849/0.1092, allocations: 103.6 kB / 0.5205 GB, free: 3.641 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.125e-06/0.1092, allocations: 7.938 kB / 0.5205 GB, free: 3.633 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.1092, allocations: 3.938 kB / 0.5205 GB, free: 3.629 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.1092, allocations: 0 / 0.5205 GB, free: 3.629 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.000467/0.1097, allocations: 337.7 kB / 0.5208 GB, free: 3.27 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.936e-05/0.1097, allocations: 8.031 kB / 0.5208 GB, free: 3.262 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.636e-05/0.1098, allocations: 8.891 kB / 0.5208 GB, free: 3.254 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002374/0.11, allocations: 154.1 kB / 0.521 GB, free: 3.078 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.11, allocations: 4.375 kB / 0.521 GB, free: 3.074 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.686e-05/0.11, allocations: 8.125 kB / 0.521 GB, free: 3.066 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001384/0.1102, allocations: 57.67 kB / 0.521 GB, free: 3.004 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.1102, allocations: 3.953 kB / 0.521 GB, free: 3 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.1102, allocations: 7.969 kB / 0.521 GB, free: 2.992 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.1102, allocations: 0 / 0.521 GB, free: 2.992 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.908e-05/0.1103, allocations: 16 kB / 0.5211 GB, free: 2.977 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003359/0.1106, allocations: 255.9 kB / 0.5213 GB, free: 2.684 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001541/0.1108, allocations: 54.67 kB / 0.5214 GB, free: 2.621 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.977e-05/0.1108, allocations: 20.84 kB / 0.5214 GB, free: 2.598 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.698e-05/0.1108, allocations: 0 / 0.5214 GB, free: 2.598 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001381/0.111, allocations: 71.33 kB / 0.5214 GB, free: 2.516 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.042e-06/0.111, allocations: 0 / 0.5214 GB, free: 2.516 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005021/0.1115, allocations: 177.4 kB / 0.5216 GB, free: 2.336 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.794e-05/0.1115, allocations: 55.34 kB / 0.5217 GB, free: 2.27 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001561/0.1117, allocations: 174.2 kB / 0.5218 GB, free: 2.09 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.776e-05/0.1117, allocations: 25.7 kB / 0.5219 GB, free: 2.059 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.642e-05/0.1118, allocations: 100.1 kB / 0.5219 GB, free: 1.957 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.599e-05/0.1118, allocations: 19.86 kB / 0.522 GB, free: 1.938 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.953e-05/0.1118, allocations: 25.7 kB / 0.522 GB, free: 1.906 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.112, allocations: 322.8 kB / 0.5223 GB, free: 1.582 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.409e-05/0.112, allocations: 24 kB / 0.5223 GB, free: 1.559 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.029e-05/0.1121, allocations: 37.7 kB / 0.5224 GB, free: 1.516 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001127/0.1122, allocations: 65.62 kB / 0.5224 GB, free: 1.445 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.1122, allocations: 0 / 0.5224 GB, free: 1.445 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001695/0.1124, allocations: 94.05 kB / 0.5225 GB, free: 1.348 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.1124, allocations: 8 kB / 0.5225 GB, free: 1.34 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.1124, allocations: 4.109 kB / 0.5225 GB, free: 1.336 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.1124, allocations: 0 / 0.5225 GB, free: 1.336 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.327e-05/0.1125, allocations: 28.11 kB / 0.5225 GB, free: 1.309 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.1125, allocations: 3.984 kB / 0.5226 GB, free: 1.305 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.325e-05/0.1125, allocations: 11.88 kB / 0.5226 GB, free: 1.293 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.265e-06/0.1126, allocations: 4 kB / 0.5226 GB, free: 1.289 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 9.73e-05/0.1127, allocations: 121.8 kB / 0.5227 GB, free: 1.16 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.932e-05/0.1127, allocations: 7.953 kB / 0.5227 GB, free: 1.152 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002295/0.1129, allocations: 122.2 kB / 0.5228 GB, free: 1.023 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.1129, allocations: 4 kB / 0.5228 GB, free: 1.02 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.1129, allocations: 0 / 0.5228 GB, free: 1.02 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.1129, allocations: 3.938 kB / 0.5228 GB, free: 1.016 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004238/0.1133, allocations: 358.4 kB / 0.5232 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.1133, allocations: 0 / 0.5232 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.402e-05/0.1134, allocations: 12 kB / 0.5232 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.1134, allocations: 0 / 0.5232 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.1134, allocations: 15.95 kB / 0.5232 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.1134, allocations: 0 / 0.5232 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1134, allocations: 0 / 0.5232 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000225/0.1136, allocations: 200.3 kB / 0.5234 GB, free: 380 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.791e-05/0.1136, allocations: 11.95 kB / 0.5234 GB, free: 368 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.293e-05/0.1137, allocations: 11.88 kB / 0.5234 GB, free: 356 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.467e-05/0.1137, allocations: 0 / 0.5234 GB, free: 356 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.968e-05/0.1137, allocations: 11.98 kB / 0.5234 GB, free: 344 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.664e-05/0.1138, allocations: 8 kB / 0.5234 GB, free: 336 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000117/0.1139, allocations: 132 kB / 0.5235 GB, free: 204 kB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1139, allocations: 0 / 0.5235 GB, free: 204 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002404/0.1141, allocations: 20 kB / 0.5236 GB, free: 184 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.001634/0.1158, allocations: 456.5 kB / 0.524 GB, free: 15.78 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001793/0.1159, allocations: 59.89 kB / 0.5241 GB, free: 15.72 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1159, allocations: 3.938 kB / 0.5241 GB, free: 15.72 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.175e-05/0.116, allocations: 23.98 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.0003448/0.1164, allocations: 32.52 kB / 0.5241 GB, free: 15.66 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004553/0.1168, allocations: 248.4 kB / 0.5243 GB, free: 15.39 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003368/0.1171, allocations: 0.7002 MB / 0.525 GB, free: 14.66 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.007e-05/0.1172, allocations: 23.36 kB / 0.5251 GB, free: 14.64 MB / 414.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1172, allocations: 0 / 0.5251 GB, free: 14.64 MB / 414.1 MB Notification: Performance of Templates: time 0.003678/0.1209, allocations: 1.891 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.Test15.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test15/Test15.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.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.057822556933388]