Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.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.001054/0.001054, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001443/0.002498, 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.001021/0.001021, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001296/0.002317, 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.009/1.009, allocations: 177.2 MB / 189.6 MB, free: 5.297 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1106/1.119, allocations: 53.65 MB / 243.3 MB, free: 15.56 MB / 250.7 MB " [Timeout remaining time 179] 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.3305/0.3305, allocations: 34.25 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03815/0.3687, allocations: 13.1 MB / 291.3 MB, free: 7.359 MB / 282.7 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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.183e-06/1.183e-06, allocations: 0 / 292.7 MB, free: 6.246 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.063e-05/2.181e-05, allocations: 3.078 kB / 292.7 MB, free: 6.242 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.003082/0.003104, allocations: 1.75 MB / 294.4 MB, free: 4.484 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001036/0.00414, allocations: 0.588 MB / 295 MB, free: 3.891 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.92e-05/0.004209, allocations: 0 / 295 MB, free: 3.891 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005828/0.004792, allocations: 498.9 kB / 295.5 MB, free: 3.402 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004147/0.005206, allocations: 311.2 kB / 295.8 MB, free: 3.098 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003908/0.005597, allocations: 180.4 kB / 296 MB, free: 2.922 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002927/0.00589, allocations: 179.6 kB / 296.1 MB, free: 2.746 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.663e-05/0.005976, allocations: 20.14 kB / 296.2 MB, free: 2.723 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001608/0.006137, allocations: 159.8 kB / 296.3 MB, free: 2.566 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001934/0.006331, allocations: 195.6 kB / 296.5 MB, free: 2.375 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.486e-05/0.006346, allocations: 4 kB / 296.5 MB, free: 2.371 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.185e-05/0.006437, allocations: 51.92 kB / 296.6 MB, free: 2.32 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.506e-05/0.006512, allocations: 87.66 kB / 296.6 MB, free: 2.234 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.427e-05/0.006567, allocations: 35.75 kB / 296.7 MB, free: 2.199 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000237/0.006804, allocations: 203.2 kB / 296.9 MB, free: 2 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.707e-05/0.006821, allocations: 0 / 296.9 MB, free: 2 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.006821, allocations: 0 / 296.9 MB, free: 2 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.654e-05/0.006838, allocations: 3.938 kB / 296.9 MB, free: 1.996 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005888/0.007427, allocations: 0.6004 MB / 297.5 MB, free: 1.371 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.274e-05/0.00746, allocations: 12.03 kB / 297.5 MB, free: 1.359 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.677e-05/0.007526, allocations: 28.91 kB / 297.5 MB, free: 1.332 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002333/0.00776, allocations: 250 kB / 297.8 MB, free: 1.059 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.007773, allocations: 8.375 kB / 297.8 MB, free: 1.051 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.907e-05/0.007792, allocations: 384 / 297.8 MB, free: 1.051 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001184/0.00791, allocations: 62.94 kB / 297.8 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.007921, allocations: 192 / 297.8 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.007932, allocations: 4.125 kB / 297.8 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.007941, allocations: 4 kB / 297.8 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.654e-05/0.007977, allocations: 11.92 kB / 297.9 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003261/0.008303, allocations: 211 kB / 298.1 MB, free: 0.7383 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.973e-05/0.008363, allocations: 37.47 kB / 298.1 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.415e-05/0.008377, allocations: 16.8 kB / 298.1 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.113e-05/0.008398, allocations: 3.938 kB / 298.1 MB, free: 0.668 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.043e-05/0.008419, allocations: 38.56 kB / 298.2 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.263e-06/0.00842, allocations: 0 / 298.2 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.001109/0.009529, allocations: 157.5 kB / 298.3 MB, free: 472 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.755e-05/0.009557, allocations: 59.39 kB / 298.4 MB, free: 400 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003058/0.009862, allocations: 0.5244 MB / 298.9 MB, free: 15.85 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.154e-05/0.009874, allocations: 25.7 kB / 298.9 MB, free: 15.82 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.534e-05/0.009929, allocations: 157.2 kB / 299.1 MB, free: 15.66 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.997e-05/0.009949, allocations: 23.8 kB / 299.1 MB, free: 15.64 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.213e-05/0.009981, allocations: 25.69 kB / 299.1 MB, free: 15.61 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.053e-05/0.01006, allocations: 366.6 kB / 299.5 MB, free: 15.24 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.261e-05/0.01007, allocations: 4 kB / 299.5 MB, free: 15.23 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.321e-05/0.01009, allocations: 7.984 kB / 299.5 MB, free: 15.23 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.51e-05/0.01012, allocations: 31.61 kB / 299.5 MB, free: 15.19 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.01012, allocations: 0 / 299.5 MB, free: 15.19 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.736e-05/0.01019, allocations: 69.66 kB / 299.6 MB, free: 15.12 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/0.0102, allocations: 4 kB / 299.6 MB, free: 15.11 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.01021, allocations: 4 kB / 299.6 MB, free: 15.11 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.674e-06/0.01022, allocations: 4 kB / 299.6 MB, free: 15.11 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.021e-05/0.01029, allocations: 15.98 kB / 299.6 MB, free: 15.09 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.555e-06/0.01029, allocations: 0 / 299.6 MB, free: 15.09 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.471e-05/0.01031, allocations: 7.938 kB / 299.6 MB, free: 15.08 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.241e-06/0.01032, allocations: 4 kB / 299.6 MB, free: 15.08 MB / 298.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 (8): * Single equations (assignments): 8 * 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.01e-05/0.01039, allocations: 120.6 kB / 299.7 MB, free: 14.95 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.477e-05/0.01041, allocations: 23.97 kB / 299.8 MB, free: 14.93 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001164/0.01053, allocations: 101.5 kB / 299.9 MB, free: 14.82 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.01053, allocations: 4 kB / 299.9 MB, free: 14.82 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.422e-06/0.01053, allocations: 0 / 299.9 MB, free: 14.82 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.01054, allocations: 0 / 299.9 MB, free: 14.82 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002692/0.01081, allocations: 315.8 kB / 300.2 MB, free: 14.48 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.01081, allocations: 0 / 300.2 MB, free: 14.48 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.02e-05/0.01085, allocations: 19.92 kB / 300.2 MB, free: 14.46 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.271e-05/0.01087, allocations: 35.72 kB / 300.2 MB, free: 14.43 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.01087, allocations: 0 / 300.2 MB, free: 14.43 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.259e-06/0.01088, allocations: 3.984 kB / 300.2 MB, free: 14.42 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.01088, allocations: 4 kB / 300.2 MB, free: 14.42 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.01088, allocations: 4.031 kB / 300.2 MB, free: 14.41 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.91e-05/0.01097, allocations: 176.3 kB / 300.4 MB, free: 14.22 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.644e-05/0.01099, allocations: 8 kB / 300.4 MB, free: 14.21 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.732e-05/0.01102, allocations: 0 / 300.4 MB, free: 14.21 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.175e-05/0.01105, allocations: 11.92 kB / 300.4 MB, free: 14.2 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.01105, allocations: 4 kB / 300.4 MB, free: 14.2 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001621/0.01121, allocations: 283.2 kB / 300.7 MB, free: 13.92 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01121, allocations: 0 / 300.7 MB, free: 13.92 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003211/0.01153, allocations: 35.92 kB / 300.8 MB, free: 13.89 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001356/0.01289, allocations: 0.6345 MB / 301.4 MB, free: 13.61 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.683e-05/0.01297, allocations: 36.77 kB / 301.4 MB, free: 13.57 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/0.01297, allocations: 4 kB / 301.4 MB, free: 13.57 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.294e-05/0.013, allocations: 20.86 kB / 301.5 MB, free: 13.54 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002042/0.0132, allocations: 40.39 kB / 301.5 MB, free: 13.5 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000718/0.01392, allocations: 0.6212 MB / 302.1 MB, free: 12.85 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001068/0.01403, allocations: 123.2 kB / 302.2 MB, free: 12.71 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.888e-05/0.01406, allocations: 17.02 kB / 302.2 MB, free: 12.7 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.021e-05/0.01411, allocations: 59.38 kB / 302.3 MB, free: 12.64 MB / 298.7 MB Notification: Performance of SimCode: time 6.81e-07/0.01411, allocations: 4 kB / 302.3 MB, free: 12.63 MB / 298.7 MB Notification: Performance of Templates: time 0.003856/0.01797, allocations: 1.771 MB / 304.1 MB, free: 10.88 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.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.9428944075480103]