Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test30.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.001466/0.001466, allocations: 80.05 kB / 20.72 MB, free: 3.77 MB / 18.57 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.001664/0.001664, allocations: 169 kB / 24.14 MB, free: 364 kB / 18.57 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 0.8324/0.8324, allocations: 158.6 MB / 186 MB, free: 2.73 MB / 170.7 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.156/0.156, allocations: 32.38 MB / 270.7 MB, free: 14.6 MB / 266.7 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.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test30") translateModel(ModelicaTest.Tables.CombiTable1D.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.031e-06/1.031e-06, allocations: 0 / 299.1 MB, free: 2.199 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.074e-05/2.177e-05, allocations: 2.312 kB / 299.1 MB, free: 2.195 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test30): time 0.002084/0.002106, allocations: 1.593 MB / 300.7 MB, free: 0.5938 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004635/0.002569, allocations: 335.3 kB / 301 MB, free: 268 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.918e-05/0.002609, allocations: 0 / 301 MB, free: 268 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002248/0.002833, allocations: 75.7 kB / 301.1 MB, free: 192 kB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001475/0.002981, allocations: 59.75 kB / 301.1 MB, free: 132 kB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001744/0.003155, allocations: 95.73 kB / 301.2 MB, free: 36 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.1109/0.1141, allocations: 68.28 kB / 301.3 MB, free: 19.27 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.1142, allocations: 10.42 kB / 301.3 MB, free: 19.27 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.421e-05/0.1143, allocations: 38.2 kB / 301.3 MB, free: 19.27 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001083/0.1144, allocations: 49.55 kB / 301.4 MB, free: 19.27 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.761e-05/0.1144, allocations: 2.344 kB / 301.4 MB, free: 19.27 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001148/0.1145, allocations: 29.14 kB / 301.4 MB, free: 19.27 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.315e-05/0.1146, allocations: 17.09 kB / 301.4 MB, free: 19.27 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.569e-05/0.1146, allocations: 19.78 kB / 301.4 MB, free: 19.27 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001804/0.1148, allocations: 73.33 kB / 301.5 MB, free: 19.27 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1148, allocations: 3.562 kB / 301.5 MB, free: 19.27 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.1148, allocations: 0 / 301.5 MB, free: 19.27 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.978e-06/0.1148, allocations: 1.438 kB / 301.5 MB, free: 19.27 MB / 282.7 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.0003285/0.1151, allocations: 298.1 kB / 301.8 MB, free: 19.01 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.1151, allocations: 9.844 kB / 301.8 MB, free: 19.01 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.411e-05/0.1152, allocations: 10.86 kB / 301.8 MB, free: 19.01 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001091/0.1153, allocations: 140.5 kB / 302 MB, free: 18.87 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.304e-06/0.1153, allocations: 2.281 kB / 302 MB, free: 18.87 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.732e-05/0.1153, allocations: 6.344 kB / 302 MB, free: 18.87 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.155e-05/0.1154, allocations: 52.11 kB / 302 MB, free: 18.82 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.733e-06/0.1154, allocations: 1.156 kB / 302 MB, free: 18.82 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.741e-06/0.1154, allocations: 384 / 302 MB, free: 18.82 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.1154, allocations: 5.094 kB / 302 MB, free: 18.82 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.955e-05/0.1154, allocations: 9.188 kB / 302 MB, free: 18.82 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001865/0.1156, allocations: 168.3 kB / 302.2 MB, free: 18.67 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001189/0.1157, allocations: 35.08 kB / 302.2 MB, free: 18.64 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.416e-05/0.1157, allocations: 8.547 kB / 302.2 MB, free: 18.63 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.549e-05/0.1158, allocations: 1.188 kB / 302.3 MB, free: 18.63 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.495e-05/0.1158, allocations: 33.42 kB / 302.3 MB, free: 18.59 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 8.22e-07/0.1158, allocations: 0 / 302.3 MB, free: 18.59 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.000258/0.116, allocations: 91.44 kB / 302.4 MB, free: 18.55 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.964e-05/0.1161, allocations: 52.47 kB / 302.4 MB, free: 18.49 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.074e-05/0.1161, allocations: 166.7 kB / 302.6 MB, free: 18.38 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.34e-06/0.1161, allocations: 27.48 kB / 302.6 MB, free: 18.35 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.974e-05/0.1162, allocations: 94.83 kB / 302.7 MB, free: 18.27 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.758e-05/0.1162, allocations: 22.7 kB / 302.7 MB, free: 18.25 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.313e-05/0.1162, allocations: 16 kB / 302.7 MB, free: 18.23 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.258e-05/0.1162, allocations: 325.4 kB / 303.1 MB, free: 17.92 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.136e-05/0.1163, allocations: 3.219 kB / 303.1 MB, free: 17.92 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.084e-05/0.1163, allocations: 10.28 kB / 303.1 MB, free: 17.92 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.692e-05/0.1163, allocations: 24.33 kB / 303.1 MB, free: 17.91 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.1163, allocations: 0 / 303.1 MB, free: 17.91 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.149e-05/0.1163, allocations: 46.44 kB / 303.1 MB, free: 17.88 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.1164, allocations: 10.59 kB / 303.2 MB, free: 17.88 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.1164, allocations: 0 / 303.2 MB, free: 17.88 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.1164, allocations: 1.312 kB / 303.2 MB, free: 17.88 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.972e-05/0.1164, allocations: 10.91 kB / 303.2 MB, free: 17.88 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.827e-06/0.1164, allocations: 2.984 kB / 303.2 MB, free: 17.88 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.641e-05/0.1164, allocations: 6.562 kB / 303.2 MB, free: 17.88 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.378e-06/0.1164, allocations: 1.312 kB / 303.2 MB, free: 17.88 MB / 282.7 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 3.809e-05/0.1165, allocations: 121.1 kB / 303.3 MB, free: 17.75 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.815e-05/0.1165, allocations: 10.59 kB / 303.3 MB, free: 17.75 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.588e-05/0.1166, allocations: 62.34 kB / 303.4 MB, free: 17.71 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.1166, allocations: 1.094 kB / 303.4 MB, free: 17.71 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.1166, allocations: 0.6562 kB / 303.4 MB, free: 17.71 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.1166, allocations: 1.078 kB / 303.4 MB, free: 17.71 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001621/0.1167, allocations: 214.6 kB / 303.6 MB, free: 17.54 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.1168, allocations: 1.906 kB / 303.6 MB, free: 17.54 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.879e-05/0.1168, allocations: 13.64 kB / 303.6 MB, free: 17.53 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.1168, allocations: 2.75 kB / 303.6 MB, free: 17.53 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.799e-06/0.1168, allocations: 0 / 303.6 MB, free: 17.53 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.1168, allocations: 2.016 kB / 303.6 MB, free: 17.53 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1168, allocations: 0 / 303.6 MB, free: 17.53 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.086e-05/0.1169, allocations: 150.4 kB / 303.7 MB, free: 17.4 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.925e-06/0.1169, allocations: 11.11 kB / 303.8 MB, free: 17.39 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.516e-06/0.1169, allocations: 1.062 kB / 303.8 MB, free: 17.39 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.071e-05/0.1169, allocations: 3.25 kB / 303.8 MB, free: 17.39 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.892e-05/0.1169, allocations: 7.656 kB / 303.8 MB, free: 17.39 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.885e-06/0.1169, allocations: 1.125 kB / 303.8 MB, free: 17.39 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.451e-05/0.117, allocations: 51.31 kB / 303.8 MB, free: 17.38 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.117, allocations: 0 / 303.8 MB, free: 17.38 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001299/0.1171, allocations: 14.27 kB / 303.8 MB, free: 17.38 MB / 282.7 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.001003/0.1181, allocations: 0.4951 MB / 304.3 MB, free: 17.12 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.067e-05/0.1182, allocations: 22.55 kB / 304.4 MB, free: 17.12 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.1182, allocations: 1.094 kB / 304.4 MB, free: 17.12 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.061e-05/0.1182, allocations: 20.89 kB / 304.4 MB, free: 17.11 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001537/0.1184, allocations: 24.41 kB / 304.4 MB, free: 17.11 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002989/0.1187, allocations: 198.9 kB / 304.6 MB, free: 16.95 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.709e-05/0.1187, allocations: 66.12 kB / 304.7 MB, free: 16.88 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.332e-05/0.1187, allocations: 6.594 kB / 304.7 MB, free: 16.88 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.835e-05/0.1188, allocations: 64.16 kB / 304.7 MB, free: 16.82 MB / 282.7 MB Notification: Performance of SimCode: time 6.72e-07/0.1188, allocations: 0 / 304.7 MB, free: 16.82 MB / 282.7 MB Notification: Performance of Templates: time 0.003243/0.122, allocations: 1.252 MB / 306 MB, free: 16.68 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test30.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test30.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test30.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test30.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test30 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test30.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test30/Test30.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8959004478529096]