Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.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.001463/0.001463, allocations: 109 kB / 20.45 MB, free: 1.496 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.001683/0.001683, allocations: 220.8 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.352/1.352, allocations: 207.6 MB / 234.5 MB, free: 10.86 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.2044/0.2044, allocations: 44.24 MB / 331 MB, free: 9.625 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.Test20,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.Test20") translateModel(ModelicaTest.Tables.CombiTimeTable.Test20,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.Test20") [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.002126/0.002126, allocations: 78.55 kB / 468.8 MB, free: 3.973 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1206, allocations: 61.03 MB / 0.5174 GB, free: 6.797 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.003005/0.1236, allocations: 1.723 MB / 0.5191 GB, free: 5.062 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001418/0.125, allocations: 0.8273 MB / 0.5199 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.956e-05/0.1251, allocations: 0 / 0.5199 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004481/0.1255, allocations: 43.77 kB / 0.52 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003095/0.1258, allocations: 55.77 kB / 0.52 GB, free: 4.129 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003242/0.1262, allocations: 91.69 kB / 0.5201 GB, free: 4.039 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002006/0.1264, allocations: 95.64 kB / 0.5202 GB, free: 3.945 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001307/0.1265, allocations: 16.2 kB / 0.5202 GB, free: 3.93 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001277/0.1266, allocations: 43.78 kB / 0.5202 GB, free: 3.887 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001021/0.1267, allocations: 31.84 kB / 0.5203 GB, free: 3.855 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.973e-05/0.1267, allocations: 4 kB / 0.5203 GB, free: 3.852 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001002/0.1268, allocations: 36 kB / 0.5203 GB, free: 3.816 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.176e-05/0.1269, allocations: 23.84 kB / 0.5203 GB, free: 3.793 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.749e-05/0.127, allocations: 43.73 kB / 0.5204 GB, free: 3.75 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002555/0.1272, allocations: 111.6 kB / 0.5205 GB, free: 3.641 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.805e-06/0.1272, allocations: 4 kB / 0.5205 GB, free: 3.637 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.1272, allocations: 0 / 0.5205 GB, free: 3.637 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.292e-05/0.1273, 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.0006741/0.1279, allocations: 329.7 kB / 0.5208 GB, free: 3.285 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/0.128, allocations: 8.031 kB / 0.5208 GB, free: 3.277 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.057e-05/0.128, allocations: 20.77 kB / 0.5208 GB, free: 3.258 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003402/0.1284, allocations: 154.3 kB / 0.521 GB, free: 3.082 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.227e-05/0.1284, allocations: 4.375 kB / 0.521 GB, free: 3.078 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.492e-05/0.1284, allocations: 8.125 kB / 0.521 GB, free: 3.07 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001704/0.1286, allocations: 53.67 kB / 0.521 GB, free: 3.012 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.1286, allocations: 0 / 0.521 GB, free: 3.012 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.1286, allocations: 0 / 0.521 GB, free: 3.012 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.1286, allocations: 4 kB / 0.521 GB, free: 3.008 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.973e-05/0.1287, allocations: 15.98 kB / 0.5211 GB, free: 2.992 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004063/0.1291, allocations: 263.9 kB / 0.5213 GB, free: 2.691 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001759/0.1293, allocations: 50.62 kB / 0.5214 GB, free: 2.633 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.343e-05/0.1294, allocations: 20.84 kB / 0.5214 GB, free: 2.609 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.167e-05/0.1294, allocations: 3.984 kB / 0.5214 GB, free: 2.605 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001598/0.1295, allocations: 75.34 kB / 0.5215 GB, free: 2.52 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 4.368e-06/0.1295, allocations: 0 / 0.5215 GB, free: 2.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005449/0.1301, allocations: 173.4 kB / 0.5216 GB, free: 2.344 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.71e-05/0.1301, allocations: 51.41 kB / 0.5217 GB, free: 2.281 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001916/0.1303, allocations: 194.1 kB / 0.5219 GB, free: 2.082 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.123e-05/0.1304, allocations: 25.7 kB / 0.5219 GB, free: 2.051 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.97e-05/0.1304, allocations: 104.1 kB / 0.522 GB, free: 1.945 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.312e-05/0.1305, allocations: 27.78 kB / 0.522 GB, free: 1.918 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.571e-05/0.1305, allocations: 33.64 kB / 0.522 GB, free: 1.879 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.1307, allocations: 330.8 kB / 0.5224 GB, free: 1.547 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.391e-05/0.1307, allocations: 12.38 kB / 0.5224 GB, free: 1.535 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.555e-05/0.1308, allocations: 37.7 kB / 0.5224 GB, free: 1.492 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001117/0.1309, allocations: 57.78 kB / 0.5225 GB, free: 1.43 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.1309, allocations: 4 kB / 0.5225 GB, free: 1.426 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001829/0.1311, allocations: 109.5 kB / 0.5226 GB, free: 1.312 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.1311, allocations: 4 kB / 0.5226 GB, free: 1.309 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.1311, allocations: 0 / 0.5226 GB, free: 1.309 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.1311, allocations: 0 / 0.5226 GB, free: 1.309 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.267e-05/0.1312, allocations: 23.98 kB / 0.5226 GB, free: 1.285 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.699e-06/0.1312, allocations: 3.938 kB / 0.5226 GB, free: 1.281 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.235e-05/0.1312, allocations: 3.938 kB / 0.5226 GB, free: 1.277 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/0.1313, allocations: 7.938 kB / 0.5226 GB, free: 1.27 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.98e-05/0.1314, allocations: 129.9 kB / 0.5227 GB, free: 1.133 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.169e-05/0.1314, allocations: 11.95 kB / 0.5227 GB, free: 1.121 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000225/0.1316, allocations: 106.4 kB / 0.5228 GB, free: 1.008 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.1316, allocations: 0 / 0.5228 GB, free: 1.008 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.788e-06/0.1316, allocations: 0 / 0.5228 GB, free: 1.008 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.1316, allocations: 3.938 kB / 0.5228 GB, free: 1.004 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004191/0.132, allocations: 366.4 kB / 0.5232 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.132, allocations: 0 / 0.5232 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.344e-05/0.1321, allocations: 15.97 kB / 0.5232 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.1321, allocations: 0 / 0.5232 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.447e-05/0.1321, allocations: 11.92 kB / 0.5232 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.1321, allocations: 0 / 0.5232 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.1321, allocations: 0 / 0.5232 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002239/0.1323, allocations: 200.3 kB / 0.5234 GB, free: 360 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.143e-05/0.1323, allocations: 11.91 kB / 0.5234 GB, free: 348 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.171e-05/0.1323, allocations: 7.938 kB / 0.5234 GB, free: 340 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7e-05/0.1324, allocations: 11.98 kB / 0.5234 GB, free: 328 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.689e-05/0.1325, allocations: 7.938 kB / 0.5235 GB, free: 320 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.423e-05/0.1325, allocations: 4 kB / 0.5235 GB, free: 316 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001188/0.1326, allocations: 139.2 kB / 0.5236 GB, free: 176 kB / 398.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1326, allocations: 192 / 0.5236 GB, free: 176 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002606/0.1328, allocations: 23.94 kB / 0.5236 GB, free: 152 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.001695/0.1345, allocations: 473.9 kB / 0.5241 GB, free: 15.73 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001842/0.1347, allocations: 51.92 kB / 0.5241 GB, free: 15.68 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1347, allocations: 0 / 0.5241 GB, free: 15.68 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.705e-05/0.1348, allocations: 23.98 kB / 0.5241 GB, free: 15.66 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003307/0.1351, allocations: 47.83 kB / 0.5242 GB, free: 15.61 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004681/0.1356, allocations: 248.8 kB / 0.5244 GB, free: 15.33 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003447/0.1359, allocations: 0.7041 MB / 0.5251 GB, free: 14.6 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.924e-05/0.136, allocations: 19.42 kB / 0.5251 GB, free: 14.58 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.136, allocations: 0 / 0.5251 GB, free: 14.58 MB / 414.1 MB Notification: Performance of Templates: time 0.00416/0.1401, allocations: 1.902 MB / 0.527 GB, free: 12.68 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.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.136027347994968]