Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.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.0008033/0.0008033, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001093/0.001896, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007554/0.0007554, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009117/0.001667, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.023/1.023, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09672/1.119, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2867/0.2867, allocations: 32.8 MB / 276.8 MB, free: 15.87 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0268/0.3135, allocations: 12.53 MB / 289.3 MB, free: 8.68 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.CombiTable2Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.913e-06/1.913e-06, allocations: 0 / 290.6 MB, free: 7.637 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.017e-05/2.208e-05, allocations: 2.312 kB / 290.6 MB, free: 7.633 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test6): time 0.002213/0.002235, allocations: 1.738 MB / 292.4 MB, free: 6.234 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007612/0.002996, allocations: 0.5625 MB / 292.9 MB, free: 5.82 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.113e-05/0.003047, allocations: 5.844 kB / 292.9 MB, free: 5.816 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004611/0.003509, allocations: 488.7 kB / 293.4 MB, free: 5.492 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004629/0.003971, allocations: 311.1 kB / 293.7 MB, free: 5.188 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002934/0.004265, allocations: 135.6 kB / 293.9 MB, free: 5.055 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002239/0.004489, allocations: 171.6 kB / 294 MB, free: 4.887 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.004598, allocations: 15.98 kB / 294 MB, free: 4.871 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001574/0.004755, allocations: 155.7 kB / 294.2 MB, free: 4.719 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001714/0.004927, allocations: 199.6 kB / 294.4 MB, free: 4.523 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.654e-05/0.004943, allocations: 0 / 294.4 MB, free: 4.523 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.066e-05/0.005024, allocations: 39.91 kB / 294.4 MB, free: 4.484 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.115e-05/0.005115, allocations: 83.66 kB / 294.5 MB, free: 4.402 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.962e-05/0.005155, allocations: 35.75 kB / 294.5 MB, free: 4.367 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002024/0.005357, allocations: 187.2 kB / 294.7 MB, free: 4.184 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.969e-05/0.005377, allocations: 4 kB / 294.7 MB, free: 4.18 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.005379, allocations: 3.984 kB / 294.7 MB, free: 4.176 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.894e-05/0.005398, allocations: 0 / 294.7 MB, free: 4.176 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005961/0.005994, allocations: 0.6038 MB / 295.3 MB, free: 3.547 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.006028, allocations: 8.031 kB / 295.3 MB, free: 3.539 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.216e-05/0.00607, allocations: 24.91 kB / 295.4 MB, free: 3.516 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004668/0.006537, allocations: 242 kB / 295.6 MB, free: 3.25 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/0.006547, allocations: 4.375 kB / 295.6 MB, free: 3.246 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.875e-05/0.006566, allocations: 8.312 kB / 295.6 MB, free: 3.238 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001214/0.006687, allocations: 66.91 kB / 295.7 MB, free: 3.164 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.006696, allocations: 4.188 kB / 295.7 MB, free: 3.16 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.275e-06/0.006705, allocations: 8.125 kB / 295.7 MB, free: 3.152 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.00671, allocations: 0 / 295.7 MB, free: 3.152 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.91e-05/0.006739, allocations: 15.92 kB / 295.7 MB, free: 3.137 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002257/0.006964, allocations: 156.4 kB / 295.9 MB, free: 2.969 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.722e-05/0.007032, allocations: 26.56 kB / 295.9 MB, free: 2.934 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.665e-05/0.007048, allocations: 8.859 kB / 295.9 MB, free: 2.922 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.6e-05/0.007074, allocations: 4 kB / 295.9 MB, free: 2.918 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.879e-05/0.007103, allocations: 42.44 kB / 295.9 MB, free: 2.867 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.007104, allocations: 4 kB / 295.9 MB, free: 2.863 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004019/0.007506, allocations: 121.5 kB / 296.1 MB, free: 2.738 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.128e-05/0.007547, allocations: 51.41 kB / 296.1 MB, free: 2.676 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003606/0.007908, allocations: 0.5322 MB / 296.6 MB, free: 2.129 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.387e-05/0.007922, allocations: 25.7 kB / 296.7 MB, free: 2.098 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.093e-05/0.007993, allocations: 145.3 kB / 296.8 MB, free: 1.949 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.875e-05/0.008022, allocations: 19.8 kB / 296.8 MB, free: 1.93 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.405e-05/0.008056, allocations: 29.69 kB / 296.9 MB, free: 1.895 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001194/0.008175, allocations: 354.7 kB / 297.2 MB, free: 1.539 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.491e-05/0.00819, allocations: 8 kB / 297.2 MB, free: 1.531 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.499e-05/0.008205, allocations: 11.98 kB / 297.2 MB, free: 1.52 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.722e-05/0.008242, allocations: 20.84 kB / 297.2 MB, free: 1.496 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.008243, allocations: 0 / 297.2 MB, free: 1.496 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.666e-05/0.00832, allocations: 77.53 kB / 297.3 MB, free: 1.414 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.008332, allocations: 4 kB / 297.3 MB, free: 1.41 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.008336, allocations: 320 / 297.3 MB, free: 1.41 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.228e-06/0.008345, allocations: 0 / 297.3 MB, free: 1.41 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.6e-05/0.008431, allocations: 19.98 kB / 297.3 MB, free: 1.391 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.216e-06/0.008435, allocations: 0 / 297.3 MB, free: 1.391 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.708e-05/0.008462, allocations: 4 kB / 297.3 MB, free: 1.387 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.088e-06/0.008471, allocations: 11.97 kB / 297.4 MB, free: 1.375 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 (7): * Single equations (assignments): 7 * 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 7.442e-05/0.008545, allocations: 120.7 kB / 297.5 MB, free: 1.246 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.761e-05/0.008573, allocations: 31.91 kB / 297.5 MB, free: 1.215 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001201/0.008693, allocations: 93.48 kB / 297.6 MB, free: 1.117 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.008695, allocations: 0 / 297.6 MB, free: 1.117 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.008697, allocations: 3.938 kB / 297.6 MB, free: 1.113 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.008701, allocations: 3.984 kB / 297.6 MB, free: 1.109 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002282/0.008929, allocations: 282.6 kB / 297.9 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.00893, allocations: 0 / 297.9 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.521e-05/0.008976, allocations: 27.92 kB / 297.9 MB, free: 0.7812 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.102e-05/0.008997, allocations: 31.72 kB / 297.9 MB, free: 0.75 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/0.008998, allocations: 0 / 297.9 MB, free: 0.75 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.519e-06/0.009002, allocations: 0 / 297.9 MB, free: 0.75 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.009005, allocations: 4 kB / 297.9 MB, free: 0.7461 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.009005, allocations: 0 / 297.9 MB, free: 0.7461 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.845e-05/0.009094, allocations: 167.5 kB / 298.1 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.396e-05/0.009108, allocations: 0 / 298.1 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.168e-05/0.00915, allocations: 7.984 kB / 298.1 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.751e-05/0.009177, allocations: 4 kB / 298.1 MB, free: 0.5547 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.018e-06/0.009181, allocations: 3.984 kB / 298.1 MB, free: 0.5508 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001645/0.009346, allocations: 287.2 kB / 298.4 MB, free: 276 kB / 282.7 MB Notification: Performance of sort global known variables: time 1e-07/0.009346, allocations: 7.938 kB / 298.4 MB, free: 268 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.000143/0.009489, allocations: 31.89 kB / 298.4 MB, free: 236 kB / 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 (7): * Single equations (assignments): 7 * 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.001329/0.01082, allocations: 0.5401 MB / 299 MB, free: 16 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.203e-05/0.0109, allocations: 28.83 kB / 299 MB, free: 15.96 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.057e-05/0.01091, allocations: 8 kB / 299 MB, free: 15.96 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.377e-05/0.01093, allocations: 20.95 kB / 299 MB, free: 15.93 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000211/0.01114, allocations: 59.95 kB / 299.1 MB, free: 15.88 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008212/0.01197, allocations: 0.5854 MB / 299.7 MB, free: 15.27 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.526e-05/0.01205, allocations: 119.3 kB / 299.8 MB, free: 15.13 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.726e-05/0.01209, allocations: 7.984 kB / 299.8 MB, free: 15.12 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.752e-05/0.01215, allocations: 63.31 kB / 299.9 MB, free: 15.06 MB / 298.7 MB Notification: Performance of SimCode: time 8.02e-07/0.01215, allocations: 0 / 299.9 MB, free: 15.06 MB / 298.7 MB Notification: Performance of Templates: time 0.004213/0.01636, allocations: 1.582 MB / 301.5 MB, free: 13.49 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test6/Test6.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.9663552660495043]