Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.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.001312/0.001312, allocations: 73.48 kB / 21.24 MB, free: 0.5547 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.001453/0.001453, allocations: 160.8 kB / 24.5 MB, free: 3.715 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.471/1.471, allocations: 177.2 MB / 204.9 MB, free: 8.98 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2175/0.2175, allocations: 34.27 MB / 295.5 MB, free: 14.55 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00319/0.00319, allocations: 67.91 kB / 443.2 MB, free: 5.594 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3148/0.318, allocations: 66.02 MB / 0.4973 GB, free: 1.582 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.0039/0.3219, allocations: 1.613 MB / 0.4988 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001218/0.3231, allocations: 0.5456 MB / 0.4994 GB, free: 15.41 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.995e-05/0.3232, allocations: 0 / 0.4994 GB, free: 15.41 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006664/0.3238, allocations: 459.1 kB / 0.4998 GB, free: 14.96 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005392/0.3244, allocations: 295.3 kB / 0.5001 GB, free: 14.67 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004616/0.3248, allocations: 169.3 kB / 0.5002 GB, free: 14.51 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002916/0.3251, allocations: 171.6 kB / 0.5004 GB, free: 14.34 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.3252, allocations: 11.98 kB / 0.5004 GB, free: 14.33 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000131/0.3253, allocations: 115.7 kB / 0.5005 GB, free: 14.21 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003383/0.3257, allocations: 243.5 kB / 0.5008 GB, free: 13.98 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.437e-05/0.3257, allocations: 8 kB / 0.5008 GB, free: 13.97 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.991e-05/0.3258, allocations: 24 kB / 0.5008 GB, free: 13.95 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001155/0.3259, allocations: 91.61 kB / 0.5009 GB, free: 13.86 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001075/0.326, allocations: 67.3 kB / 0.5009 GB, free: 13.79 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003291/0.3263, allocations: 268.9 kB / 0.5012 GB, free: 13.53 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.3263, allocations: 0 / 0.5012 GB, free: 13.53 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.3263, allocations: 0 / 0.5012 GB, free: 13.53 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.681e-06/0.3264, allocations: 0 / 0.5012 GB, free: 13.53 MB / 414.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.0007718/0.3271, allocations: 0.5738 MB / 0.5018 GB, free: 12.93 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.3272, allocations: 12.03 kB / 0.5018 GB, free: 12.91 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000175/0.3273, allocations: 48.61 kB / 0.5018 GB, free: 12.87 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003676/0.3277, allocations: 242.8 kB / 0.502 GB, free: 12.61 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.309e-05/0.3277, allocations: 4.375 kB / 0.502 GB, free: 12.6 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.319e-05/0.3277, allocations: 4.375 kB / 0.5021 GB, free: 12.6 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001839/0.3279, allocations: 61.67 kB / 0.5021 GB, free: 12.53 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.3279, allocations: 4 kB / 0.5021 GB, free: 12.53 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.3279, allocations: 4 kB / 0.5021 GB, free: 12.52 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.328, allocations: 0 / 0.5021 GB, free: 12.52 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001317/0.3281, allocations: 31.97 kB / 0.5022 GB, free: 12.49 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005613/0.3286, allocations: 344.4 kB / 0.5025 GB, free: 12.12 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001444/0.3288, allocations: 42.5 kB / 0.5025 GB, free: 12.07 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.184e-05/0.3289, allocations: 24.94 kB / 0.5025 GB, free: 12.05 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.309e-05/0.3289, allocations: 0 / 0.5025 GB, free: 12.05 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.637e-05/0.3289, allocations: 38.48 kB / 0.5026 GB, free: 12 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 9.41e-07/0.3289, allocations: 0 / 0.5026 GB, free: 12 MB / 414.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004223/0.3294, allocations: 129.4 kB / 0.5027 GB, free: 11.87 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.484e-05/0.3294, allocations: 59.39 kB / 0.5028 GB, free: 11.8 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001347/0.3308, allocations: 0.8575 MB / 0.5036 GB, free: 10.93 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.198e-05/0.3308, allocations: 29.64 kB / 0.5036 GB, free: 10.89 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000276/0.3311, allocations: 216.1 kB / 0.5038 GB, free: 10.68 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.605e-05/0.3311, allocations: 11.91 kB / 0.5038 GB, free: 10.66 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.607e-05/0.3311, allocations: 13.72 kB / 0.5039 GB, free: 10.64 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0003557/0.3315, allocations: 362.8 kB / 0.5042 GB, free: 10.28 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001075/0.3316, allocations: 19.98 kB / 0.5042 GB, free: 10.26 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.74e-05/0.3317, allocations: 15.98 kB / 0.5042 GB, free: 10.25 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001983/0.3319, allocations: 49.05 kB / 0.5043 GB, free: 10.2 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.3319, allocations: 0 / 0.5043 GB, free: 10.2 MB / 414.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004417/0.3323, allocations: 117.4 kB / 0.5044 GB, free: 10.07 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/0.3324, allocations: 4 kB / 0.5044 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.3324, allocations: 0 / 0.5044 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.3324, allocations: 0 / 0.5044 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/0.3325, allocations: 15.92 kB / 0.5044 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.106e-06/0.3325, allocations: 4 kB / 0.5044 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.64e-05/0.3326, allocations: 4 kB / 0.5044 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.463e-05/0.3326, allocations: 3.984 kB / 0.5044 GB, free: 10.04 MB / 414.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 (3): * Single equations (assignments): 3 * 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.0003467/0.333, allocations: 217.7 kB / 0.5046 GB, free: 9.82 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001042/0.3331, allocations: 39.72 kB / 0.5047 GB, free: 9.781 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003986/0.3335, allocations: 125.1 kB / 0.5048 GB, free: 9.645 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.3335, allocations: 0 / 0.5048 GB, free: 9.645 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.3335, allocations: 0 / 0.5048 GB, free: 9.645 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.207e-06/0.3335, allocations: 4 kB / 0.5048 GB, free: 9.641 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004553/0.3339, allocations: 241.1 kB / 0.505 GB, free: 9.375 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3339, allocations: 0 / 0.505 GB, free: 9.375 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.81e-05/0.334, allocations: 15.94 kB / 0.505 GB, free: 9.359 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.334, allocations: 0 / 0.505 GB, free: 9.359 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.451e-05/0.334, allocations: 3.984 kB / 0.505 GB, free: 9.355 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.252e-06/0.334, allocations: 7.922 kB / 0.5051 GB, free: 9.348 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.334, allocations: 0 / 0.5051 GB, free: 9.348 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003939/0.3344, allocations: 215.1 kB / 0.5053 GB, free: 9.121 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.401e-05/0.3345, allocations: 43.59 kB / 0.5053 GB, free: 9.078 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.68e-05/0.3345, allocations: 4 kB / 0.5053 GB, free: 9.074 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001382/0.3347, allocations: 4 kB / 0.5053 GB, free: 9.07 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.286e-05/0.3347, allocations: 3.984 kB / 0.5053 GB, free: 9.066 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.618e-06/0.3347, allocations: 4 kB / 0.5053 GB, free: 9.062 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001114/0.3358, allocations: 0.6472 MB / 0.5059 GB, free: 8.418 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3358, allocations: 0 / 0.5059 GB, free: 8.418 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004228/0.3363, allocations: 20 kB / 0.506 GB, free: 8.398 MB / 414.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 (3): * Single equations (assignments): 3 * 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.00194/0.3382, allocations: 371.9 kB / 0.5063 GB, free: 8.184 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003024/0.3385, allocations: 47.89 kB / 0.5064 GB, free: 8.137 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.3385, allocations: 0 / 0.5064 GB, free: 8.137 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001022/0.3386, allocations: 20.06 kB / 0.5064 GB, free: 8.117 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006072/0.3392, allocations: 36.58 kB / 0.5064 GB, free: 8.082 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001856/0.3411, allocations: 0.7985 MB / 0.5072 GB, free: 7.258 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003737/0.3414, allocations: 216.1 kB / 0.5074 GB, free: 7.027 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.654e-05/0.3415, allocations: 23.72 kB / 0.5074 GB, free: 7.004 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.657e-05/0.3416, allocations: 12.5 kB / 0.5074 GB, free: 6.992 MB / 414.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3416, allocations: 3.938 kB / 0.5074 GB, free: 6.988 MB / 414.1 MB Notification: Performance of Templates: time 0.006864/0.3484, allocations: 1.137 MB / 0.5086 GB, free: 5.855 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.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: 4.894324669032358]