Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23.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.001432/0.001432, 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.001576/0.001576, allocations: 220.9 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.305/1.305, 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.2042/0.2042, allocations: 44.23 MB / 331 MB, free: 9.539 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.CombiTable1D.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23") translateModel(ModelicaTest.Tables.CombiTable1D.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23") [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.002137/0.002137, allocations: 71.89 kB / 468.8 MB, free: 4.02 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1173, allocations: 61.04 MB / 0.5174 GB, free: 6.84 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test23): time 0.003333/0.1206, allocations: 1.58 MB / 0.5189 GB, free: 5.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001652/0.1223, allocations: 1.044 MB / 0.5199 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.664e-05/0.1224, allocations: 0 / 0.5199 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002526/0.1226, allocations: 23.86 kB / 0.52 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002238/0.1228, allocations: 43.78 kB / 0.52 GB, free: 4.133 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003166/0.1231, allocations: 91.8 kB / 0.5201 GB, free: 4.043 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001611/0.1233, allocations: 59.84 kB / 0.5202 GB, free: 3.984 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.1234, allocations: 15.97 kB / 0.5202 GB, free: 3.969 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.625e-05/0.1235, allocations: 23.86 kB / 0.5202 GB, free: 3.945 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001529/0.1236, allocations: 23.86 kB / 0.5202 GB, free: 3.922 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.817e-05/0.1236, allocations: 4 kB / 0.5202 GB, free: 3.918 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001325/0.1238, allocations: 55.95 kB / 0.5203 GB, free: 3.863 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.039e-05/0.1238, allocations: 11.94 kB / 0.5203 GB, free: 3.852 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.775e-05/0.1239, allocations: 19.86 kB / 0.5203 GB, free: 3.832 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002125/0.1241, allocations: 91.59 kB / 0.5204 GB, free: 3.742 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.1241, allocations: 0 / 0.5204 GB, free: 3.742 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1241, allocations: 4 kB / 0.5204 GB, free: 3.738 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.516e-06/0.1241, allocations: 3.984 kB / 0.5204 GB, free: 3.734 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005156/0.1246, allocations: 305.9 kB / 0.5207 GB, free: 3.406 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.1246, allocations: 8.031 kB / 0.5207 GB, free: 3.398 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.514e-05/0.1247, allocations: 8.891 kB / 0.5207 GB, free: 3.391 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001845/0.1249, allocations: 126.5 kB / 0.5208 GB, free: 3.242 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.1249, allocations: 384 / 0.5208 GB, free: 3.242 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.509e-05/0.1249, allocations: 4.375 kB / 0.5208 GB, free: 3.238 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001845/0.1251, allocations: 67.53 kB / 0.5209 GB, free: 3.16 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.1251, allocations: 0 / 0.5209 GB, free: 3.16 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.1251, allocations: 4 kB / 0.5209 GB, free: 3.156 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.067e-05/0.1251, allocations: 0 / 0.5209 GB, free: 3.156 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001092/0.1252, allocations: 27.91 kB / 0.5209 GB, free: 3.129 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004555/0.1257, allocations: 251.9 kB / 0.5212 GB, free: 2.84 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002192/0.1259, allocations: 42.56 kB / 0.5212 GB, free: 2.789 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.833e-05/0.126, allocations: 20.94 kB / 0.5212 GB, free: 2.766 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.367e-05/0.126, allocations: 0 / 0.5212 GB, free: 2.766 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.712e-05/0.126, allocations: 34.5 kB / 0.5213 GB, free: 2.723 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.126, allocations: 0 / 0.5213 GB, free: 2.723 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005918/0.1266, allocations: 149.5 kB / 0.5214 GB, free: 2.57 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.318e-05/0.1267, allocations: 81.05 kB / 0.5215 GB, free: 2.473 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001511/0.1269, allocations: 137.8 kB / 0.5216 GB, free: 2.328 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.937e-05/0.1269, allocations: 25.7 kB / 0.5216 GB, free: 2.297 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.13e-05/0.1269, allocations: 88.14 kB / 0.5217 GB, free: 2.207 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.965e-05/0.127, allocations: 23.78 kB / 0.5217 GB, free: 2.184 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.165e-05/0.127, allocations: 25.7 kB / 0.5218 GB, free: 2.152 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.1271, allocations: 318.8 kB / 0.5221 GB, free: 1.832 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.11e-05/0.1272, allocations: 23.92 kB / 0.5221 GB, free: 1.809 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.333e-05/0.1273, allocations: 37.69 kB / 0.5221 GB, free: 1.766 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001277/0.1274, allocations: 49.02 kB / 0.5222 GB, free: 1.715 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.1274, allocations: 4 kB / 0.5222 GB, free: 1.711 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001898/0.1276, allocations: 93.58 kB / 0.5223 GB, free: 1.613 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.1276, allocations: 8 kB / 0.5223 GB, free: 1.605 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.1276, allocations: 0 / 0.5223 GB, free: 1.605 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.1277, allocations: 0 / 0.5223 GB, free: 1.605 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.62e-05/0.1277, allocations: 8 kB / 0.5223 GB, free: 1.598 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.1277, allocations: 4 kB / 0.5223 GB, free: 1.594 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.884e-05/0.1278, allocations: 7.984 kB / 0.5223 GB, free: 1.586 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.1278, allocations: 4 kB / 0.5223 GB, free: 1.582 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.0001413/0.1279, allocations: 121.8 kB / 0.5224 GB, free: 1.453 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.221e-05/0.1279, allocations: 11.89 kB / 0.5224 GB, free: 1.441 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002333/0.1282, allocations: 97.64 kB / 0.5225 GB, free: 1.336 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.195e-06/0.1282, allocations: 288 / 0.5225 GB, free: 1.336 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.1282, allocations: 0 / 0.5225 GB, free: 1.336 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.1282, allocations: 0 / 0.5225 GB, free: 1.336 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004254/0.1286, allocations: 325.6 kB / 0.5228 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.1286, allocations: 4 kB / 0.5228 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.807e-05/0.1287, allocations: 15.98 kB / 0.5228 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.1287, allocations: 0 / 0.5228 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.562e-06/0.1287, allocations: 0 / 0.5228 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/0.1287, allocations: 7.875 kB / 0.5229 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.1287, allocations: 0 / 0.5229 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002278/0.1289, allocations: 183.7 kB / 0.523 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.547e-06/0.1289, allocations: 8 kB / 0.523 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.772e-05/0.1289, allocations: 4 kB / 0.523 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.967e-05/0.129, allocations: 7.938 kB / 0.523 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.428e-05/0.129, allocations: 3.984 kB / 0.5231 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.129, allocations: 0 / 0.5231 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.7e-05/0.1291, allocations: 103.3 kB / 0.5232 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1291, allocations: 0 / 0.5232 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002561/0.1294, allocations: 27.92 kB / 0.5232 GB, free: 0.5938 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.001574/0.1309, allocations: 434.5 kB / 0.5236 GB, free: 212 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002144/0.1312, allocations: 55.91 kB / 0.5236 GB, free: 156 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1312, allocations: 0 / 0.5236 GB, free: 156 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.624e-05/0.1312, allocations: 31.97 kB / 0.5237 GB, free: 124 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003437/0.1316, allocations: 19.14 kB / 0.5237 GB, free: 108 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004289/0.132, allocations: 195.3 kB / 0.5239 GB, free: 15.88 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003161/0.1323, allocations: 0.6923 MB / 0.5246 GB, free: 15.16 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.99e-05/0.1324, allocations: 11.44 kB / 0.5246 GB, free: 15.15 MB / 414.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1324, allocations: 0 / 0.5246 GB, free: 15.15 MB / 414.1 MB Notification: Performance of Templates: time 0.003571/0.1359, allocations: 1.598 MB / 0.5261 GB, free: 13.55 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23.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.0490876969415694]