Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001415/0.001415, allocations: 81.55 kB / 21.25 MB, free: 0.5469 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001509/0.001509, allocations: 158.5 kB / 24.5 MB, free: 3.719 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.491/1.491, allocations: 177.1 MB / 204.7 MB, free: 8.961 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2325/0.2325, allocations: 34.26 MB / 295.4 MB, free: 14.49 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002472/0.002472, allocations: 88.19 kB / 443.2 MB, free: 6.469 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3205/0.323, allocations: 66.05 MB / 0.4973 GB, free: 29.81 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test6): time 0.00315/0.3261, allocations: 1.662 MB / 0.4989 GB, free: 28.68 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008106/0.3269, allocations: 0.5348 MB / 0.4994 GB, free: 28.36 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.827e-05/0.327, allocations: 4 kB / 0.4994 GB, free: 28.36 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004234/0.3274, allocations: 455.3 kB / 0.4999 GB, free: 28.33 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004032/0.3278, allocations: 292 kB / 0.5002 GB, free: 28.28 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003297/0.3282, allocations: 133.7 kB / 0.5003 GB, free: 28.21 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002153/0.3284, allocations: 175.7 kB / 0.5004 GB, free: 28.18 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.3285, allocations: 10.42 kB / 0.5005 GB, free: 28.17 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000109/0.3286, allocations: 123.9 kB / 0.5006 GB, free: 28.15 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002295/0.3288, allocations: 238.2 kB / 0.5008 GB, free: 28.13 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.016e-05/0.3288, allocations: 7.188 kB / 0.5008 GB, free: 28.13 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.988e-05/0.3289, allocations: 37.84 kB / 0.5008 GB, free: 28.12 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001161/0.329, allocations: 83 kB / 0.5009 GB, free: 28.09 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.476e-05/0.3291, allocations: 75.2 kB / 0.501 GB, free: 28.03 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003096/0.3294, allocations: 263.7 kB / 0.5012 GB, free: 27.93 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3294, allocations: 0 / 0.5012 GB, free: 27.93 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3294, allocations: 0 / 0.5012 GB, free: 27.93 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.103e-06/0.3294, allocations: 0 / 0.5012 GB, free: 27.93 MB / 446.1 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.0006687/0.3301, allocations: 0.5895 MB / 0.5018 GB, free: 27.43 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.3301, allocations: 12.69 kB / 0.5018 GB, free: 27.43 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.045e-05/0.3302, allocations: 51.45 kB / 0.5019 GB, free: 27.4 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001851/0.3304, allocations: 235.8 kB / 0.5021 GB, free: 27.19 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.3304, allocations: 4.375 kB / 0.5021 GB, free: 27.19 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.193e-05/0.3304, allocations: 7.656 kB / 0.5021 GB, free: 27.18 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001438/0.3305, allocations: 65.66 kB / 0.5022 GB, free: 27.14 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.3306, allocations: 3.516 kB / 0.5022 GB, free: 27.14 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.467e-06/0.3306, allocations: 3.938 kB / 0.5022 GB, free: 27.13 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.3306, allocations: 0 / 0.5022 GB, free: 27.13 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001149/0.3307, allocations: 30.66 kB / 0.5022 GB, free: 27.13 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003141/0.331, allocations: 330.5 kB / 0.5025 GB, free: 26.88 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001164/0.3311, allocations: 49.25 kB / 0.5026 GB, free: 26.84 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.98e-05/0.3312, allocations: 21.92 kB / 0.5026 GB, free: 26.83 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.996e-05/0.3312, allocations: 0 / 0.5026 GB, free: 26.83 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.579e-05/0.3312, allocations: 33.84 kB / 0.5026 GB, free: 26.79 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 9.51e-07/0.3312, allocations: 0 / 0.5026 GB, free: 26.79 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007293/0.3319, allocations: 304.2 kB / 0.5029 GB, free: 26.65 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.121e-05/0.332, allocations: 51.41 kB / 0.503 GB, free: 26.59 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005817/0.3325, allocations: 0.8605 MB / 0.5038 GB, free: 26.27 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.336e-06/0.3326, allocations: 28.89 kB / 0.5038 GB, free: 26.23 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000109/0.3327, allocations: 214.3 kB / 0.504 GB, free: 26.06 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.209e-05/0.3327, allocations: 26.55 kB / 0.5041 GB, free: 26.04 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.131e-05/0.3327, allocations: 27.08 kB / 0.5041 GB, free: 26.02 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.086e-05/0.3328, allocations: 367.2 kB / 0.5044 GB, free: 25.68 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.802e-05/0.3329, allocations: 28.89 kB / 0.5045 GB, free: 25.67 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.114e-05/0.333, allocations: 39.06 kB / 0.5045 GB, free: 25.66 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001852/0.3332, allocations: 73.62 kB / 0.5046 GB, free: 25.64 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.3332, allocations: 0 / 0.5046 GB, free: 25.64 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002665/0.3334, allocations: 146.6 kB / 0.5047 GB, free: 25.57 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.3334, allocations: 6 kB / 0.5047 GB, free: 25.57 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.3334, allocations: 3.938 kB / 0.5047 GB, free: 25.56 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.3334, allocations: 0 / 0.5047 GB, free: 25.56 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001101/0.3336, allocations: 26.25 kB / 0.5048 GB, free: 25.56 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.3336, allocations: 4.062 kB / 0.5048 GB, free: 25.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.808e-05/0.3336, allocations: 13.56 kB / 0.5048 GB, free: 25.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.3336, allocations: 3.062 kB / 0.5048 GB, free: 25.55 MB / 446.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 (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 0.0001265/0.3338, allocations: 220 kB / 0.505 GB, free: 25.41 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.532e-05/0.3338, allocations: 41.62 kB / 0.505 GB, free: 25.39 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003124/0.3341, allocations: 172.1 kB / 0.5052 GB, free: 25.31 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.3341, allocations: 0 / 0.5052 GB, free: 25.31 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.3341, allocations: 3.062 kB / 0.5052 GB, free: 25.31 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.3341, allocations: 0 / 0.5052 GB, free: 25.31 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004558/0.3346, allocations: 439.1 kB / 0.5056 GB, free: 25.01 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.3346, allocations: 0 / 0.5056 GB, free: 25.01 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.846e-05/0.3347, allocations: 22 kB / 0.5056 GB, free: 25.01 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.3347, allocations: 0 / 0.5056 GB, free: 25.01 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.764e-06/0.3347, allocations: 3.125 kB / 0.5056 GB, free: 25.01 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.3347, allocations: 0 / 0.5056 GB, free: 25.01 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3347, allocations: 0 / 0.5056 GB, free: 25.01 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002641/0.3349, allocations: 259.1 kB / 0.5059 GB, free: 24.82 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.587e-05/0.335, allocations: 36.08 kB / 0.5059 GB, free: 24.8 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.194e-05/0.335, allocations: 0 / 0.5059 GB, free: 24.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.667e-05/0.3351, allocations: 9.641 kB / 0.5059 GB, free: 24.8 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.829e-05/0.3351, allocations: 3 kB / 0.5059 GB, free: 24.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.951e-06/0.3351, allocations: 6.078 kB / 0.5059 GB, free: 24.8 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004176/0.3356, allocations: 0.6534 MB / 0.5066 GB, free: 24.55 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3356, allocations: 0 / 0.5066 GB, free: 24.55 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002492/0.3358, allocations: 29.81 kB / 0.5066 GB, free: 24.54 MB / 446.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 (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.001477/0.3373, allocations: 431.7 kB / 0.507 GB, free: 24.32 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002577/0.3375, allocations: 83.75 kB / 0.5071 GB, free: 24.29 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.3375, allocations: 0 / 0.5071 GB, free: 24.29 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001058/0.3376, allocations: 42.48 kB / 0.5071 GB, free: 24.29 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003778/0.338, allocations: 30.84 kB / 0.5072 GB, free: 24.27 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008559/0.3389, allocations: 0.8258 MB / 0.508 GB, free: 23.9 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001591/0.339, allocations: 218.8 kB / 0.5082 GB, free: 23.8 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.456e-05/0.3391, allocations: 16.5 kB / 0.5082 GB, free: 23.8 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.143e-05/0.3391, allocations: 22.2 kB / 0.5082 GB, free: 23.79 MB / 446.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3391, allocations: 0 / 0.5082 GB, free: 23.79 MB / 446.1 MB Notification: Performance of Templates: time 0.004547/0.3437, allocations: 1.43 MB / 0.5096 GB, free: 23.54 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.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: 5.019304728019051]